Local Security Settings

  • Thread starter Thread starter Russ Ferrill
  • Start date Start date
R

Russ Ferrill

I would like to modify the local security settings of a Windows XP Pro
workstation via vbscript. Does anybody know how to do this?

Thanks in advance.

Russ
 
Russ said:
I would like to add a group to Deny Logon Locally.

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)
 
Thanks!! That's perfect.
Russ

Torgeir Bakken (MVP) said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top