Well I had this computer that:
- Wasn't on the domain
- RPC wouldn't allow remote management
- Registry was not accessible from Remote
- Could hit an administrative share
- Could not remotely manage the firewall policies
And I REALLY WANTED TO RDP to the computer.
Well here is how I did it, and I've been looking through the PSTools to find even more kewl things...
PSTools from SysInternals is needed - http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx
C:\PSTools>PSExec.exe \\RemoteComputerName netsh firewall set service remotedesktop enable
C:\PSTools>PSExec.exe \\RemoteComputerName REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /V fDenyTSConnections /t REG_DWORD /d 0 /f
Thought this would be kewl to share for us Windows Peeps.
Nice fix... I have used pstools for many odd remote admin tasks, the funny thing is that I often forget to use it...
Quote from: Tom on September 10, 2012, 05:18:44 PM
QuoteC:\PSTools>PSExec.exe \\CEOSCOMPUTER netsh firewall set service remotedesktop enable
C:\PSTools>PSExec.exe \\CEOSCOMPUTER REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /V fDenyTSConnections /t REG_DWORD /d 0 /f
:D
Took me a couple of re-reads before I realized what you'd changed...