Righteous Wrath Online Community

General => Tech Chat => Topic started by: Melbosa on September 10, 2012, 05:05:10 PM

Title: So interesting Remote Enable RDP work today...
Post by: Melbosa on September 10, 2012, 05:05:10 PM
Well I had this computer that:


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.
Title: Re: So interesting Remote Enable RDP work today...
Post by: Lazybones on September 10, 2012, 05:10:23 PM
Nice fix... I have used pstools for many odd remote admin tasks, the funny thing is that I often forget to use it...
Title: Re: So interesting Remote Enable RDP work today...
Post by: 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
Title: Re: So interesting Remote Enable RDP work today...
Post by: Thorin on September 10, 2012, 05:30:50 PM
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...