#43571 - 2003-07-31 12:10 AM
Remote admin/ terminal services
|
Ozmodius
Fresh Scripter
Registered: 2003-05-11
Posts: 10
|
Does anyone know of a way to setup remote admin (through login script) on XP?
|
|
Top
|
|
|
|
#43572 - 2003-07-31 01:56 AM
Re: Remote admin/ terminal services
|
Chris S.
MM club member
   
Registered: 2002-03-18
Posts: 2368
Loc: Earth
|
|
|
Top
|
|
|
|
#43580 - 2003-07-31 04:13 AM
Re: Remote admin/ terminal services
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Here is an option - code:
;Using - http://www.winguides.com/registry/display.php/1213/ ;"Enable Remote Assistance (Windows XP)" ;>>To Enable Remote Assitance ;AllowTSConnections set it to "1" ;fDenyTSConnections set it to "0" ;fAllowToGetHelp set it to "1" ;>>To Disable Remote Assitance ;AllowTSConnections set it to "0" ;fDenyTSConnections set it to "1" ;fAllowToGetHelp set it to "0" ;Restart Windows for the changes to take effect. $RegKey='HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server' IF 1<>READVALUE($RegKey,'AllowTSConnections') $RC=WRITEVALUE($RegKey,'AllowTSConnections',1,'REG_DWORD') ENDIF IF 0<>READVALUE($RegKey,'fDenyTSConnections') $RC=WRITEVALUE($RegKey,'fDenyTSConnections',0,'REG_DWORD') ENDIF IF 1<>READVALUE($RegKey,'fAllowToGetHelp') $RC=WRITEVALUE($RegKey,'fAllowToGetHelp',1,'REG_DWORD') ENDIF
If you know the list of systems, you could substitute the $RegKey with -
code:
$RegKey='\\'+$computername+'\HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server'
With one of the READEXCEL() UDFs..
And then you could push this remotely.
Kent
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 756 anonymous users online.
|
|
|