Search This Blog

Monday, July 11, 2011

WMIC

wmic /node:"computername" computersystem get username

Thursday, May 5, 2011

Cannot map to any network drive or shares/RPC server is unavailable

For me it was missing one registry key
REG_DWORD "DhcpNodeType" = 1
under
HKLM\SYSTEM\CurrentControlSet\Services\NetBT\Parameters

A easy trick is, if it worked before, you can look under
"HKLM\SYSTEM\ControlSet001\Services\NetBT\Parameters"
or
"HKLM\SYSTEM\ControlSet002\Services\NetBT\Parameters"
and compare the difference.

This also fixes an issue opening Group Policy Management showing "RPC server is unavailable"

Tuesday, May 3, 2011

Remote Desktop Not Working in Vista

Remote desktop is enabled, exception is checked, still remote desktop does not work.

"I've got the same problem: Vista+SP2, same event in logs, no access to remote desktop.

But, after some magic dances around my box with a process monitor, I found a solution. Basically all u need is to grant full control permission to HKLM\System\CurrentControlSet\Control\Terminal Server\RCM registry key to NETWORK SERVICE local account and restart "Terminal Services" service or reboot."

Tuesday, November 30, 2010

Boredom - msg

REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v AllowRemoteRPC /t REG_DWORD /d 1
To each computer, msg /server:computername *