Hi
You can do a call-out to the Win2k resource kit tool ntrights.exe for this I
would think:
ntrights.exe -r SeInteractiveLogonRight -u groupname
How to Set Logon User Rights with the Ntrights.exe Utility
http://support.microsoft.com/?kbid=279664
How to: Determine NTRIGHTS Names and Meanings
http://support.microsoft.com/?kbid=245207
Ntrights.exe is also in the free Win2k3 resource kit (it works on Win2k as
well):
Windows Server 2003 Resource Kit Tools
http://www.microsoft.com/downloads/...69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en
(The kit will install on WinXP or later, but you can copy Ntrights.exe to a
Win2k computer or run it from a network location)
--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide:
http://www.microsoft.com/technet/scriptcenter