Wednesday, August 24, 2011
MS Outlook autocomplete cache file
Wednesday, August 17, 2011
Cisco switch port security
Thursday, August 11, 2011
Cisco DHCP Snooping
Friday, August 5, 2011
Remote change power settings
you can use it if need change power settings for remote computer
get info about remote power pc settings:
PsExec.exe \\rcomputer powercfg -query
disable sleep timeout:
PsExec.exe \\rcomputer powercfg -change -standby-timeout-ac 0
other interesting options:
powercfg -change -monitor-timeout-ac 0
powercfg -change -monitor-timeout-dc 0
powercfg -change -disk-timeout-ac 0
powercfg -change -disk-timeout-dc 0
powercfg -change -standby-timeout-ac 0
powercfg -change -standby-timeout-dc 0
powercfg -change -hibernate-timeout-ac 0
powercfg -change -hibernate-timeout-dc 0
Remote enable Remote Desktop
This example show how you can use PsExec for enable Remote Desktop remotely
Enable RDP:
PsExec.exe \\remotepc reg add "hklm\system\currentcontrolset\control\terminal server" /f /v fDenyTSConnections /t REG_DWORD /d 0
Enable RDP through firewall:
PsExec.exe \\remotepc netsh firewall set service remoteadmin enable
PsExec.exe \\remotepc netsh firewall set service remotedesktop enable