Submitted by Soeren P
Latest posts by Guest Author (see all)
- FREE: File Permissions Check – Compare folder and file permissions - Fri, Feb 20 2015
- FREE: ABC-Deploy – Software deployment and inventory - Wed, Apr 16 2014
- FREE: AD Permissions Reporter – View Active Directory permissions - Fri, Feb 7 2014
Enables/disables remote desktop on remote computers. Works like a charm.
I think I read about it here some time ago.
This is also possible to do with WMI. Here’s a PowerShell example:
$computer = gwmi win32_terminalservicesetting -computer “mycomputer”
$computer.setAllowTSConnections(1)
1 will turn it on, 0 will turn it off.
I used to do this with PSEXEC back before I learned the joys of Group Policy (surprised I found the note so easily):
psexec \\machinename reg add “hklm\system\currentcontrolset\control\terminal server” /f /v fDenyTSConnections /t REG_DWORD /d 0
Is there an app that would allow network admins to boot a computer, that has been turned off, over a LAN. I know there is a change that has to be done in the computer’s BIOS, but the app would still be necessary to take ‘advantage’ of the BIOS change.
Ronin, what you need is software that supports Wake on LAN. Many desktop management solutions support it, but there are also specialized WOL tools. The Wikipedia has more.
Is not WOL geared more toward those computer that are sleep, rather than off?
Ronin, no if the PC is WOL-ready it can be shut down but as long as it is connected to the A/C outlet the NIC will still be powered up and “listening”. You can verify this by shutting down the PC and checking the activity lamps on the NIC.