On XP do the following:
German
todo.pl "net localgroup Remotedesktopbenutzer /ADD YOURDOMAIN\YOURUSER"
English
todo.pl "net localgroup \"Remote Desktop Users\" /ADD YOURDOMAIN
\YOURUSER"

Then set the firewall settings to allow remote connections in
unattend.txt:

( found at
http://www.microsoft.com/technet/prodtechnol/winxppro/deploy/depfwset/wfsp2ape.mspx
 )

---SNIP---

[WindowsFirewall]
Profiles=WindowsFirewall.Standard 
LogFile = %WINDIR%\Pfirewall.log
LogSize = 4096
LogDroppedPackets = 1
LogConnections = 1

[WindowsFirewall.Standard]
Type = 3
Mode = 1
Exceptions = 1
Notifications = 1
MulticastBroadcastResponse = 1
AllowedPrograms = WindowsFirewall.RemoteAssistance
Services = WindowsFirewall.RemoteDesktop


[WindowsFirewall.RemoteAssistance]
Program = %WINDIR%\System32\Sessmgr.exe
Name = "Remote Assistance"
Mode = 1
Scope = 2
Addresses = 192.168.0.5,LocalSubnet

[WindowsFirewall.RemoteDesktop]
Type = 2
Mode = 1
Scope = 2
Addresses = 192.168.0.5,LocalSubnet

---SNAP---


Or use just a regestry hack to do this:

--SNIP---

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Epoch]
"Epoch"=dword:00000016
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile]
"DisableNotifications"=dword:00000000
"DoNotAllowExceptions"=dword:00000000
"EnableFirewall"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List]
"@SYSTEM\\sessmgr.exe"="@SYSTEM\\sessmgr.exe:*:Disabled:@xpsp2res.dll,-22019"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List]

"3389:TCP"="3389:TCP:*:Enabled:@xpsp2res.dll,-22009"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
"fDenyTSConnections"=dword:00000000

--SNAP---


greetz mario gzuk




Am Freitag, den 04.02.2005, 18:25 +0000 schrieb Hugo Monteiro:
> Hello,
> 
> I'd like to know how i could configure unattend.txt or prehaps make a
> script to use with todo.pl so that i can enable the remote desktop
> connection and associate authorized users to use it uppon each fresh
> install.
> 
> Thank you in advance,
> 
> Hugo Monteiro.
> 



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
unattended-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to