Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADSI / Scripting / Set User to log onto specific workstation only

Status
Not open for further replies.

djhawthorn

Technical User
Mar 4, 2002
641
0
0
AU
Is there any way to (using ADSI/WMI) set an account to only be allowed to log onto a specific workstation(s)?

I want to automate it as we build servers basically the same, all the time - but each on their own domain (so I can't simply clone an image).

The closest thing I've found appears to be the Win32_NetworkLoginProfile WMI class (Workstations property - but by the looks of things thats only a read-only class.


[auto] MCSE NT4/W2K
 
There is the logonWorkstation user object. Might be what you want?
 
Possibly..
What class is it an oject of?
Can is set the computer names to which a specific user can log into?

Google search doesn't bring up much on 'logonWorkstation'

[auto] MCSE NT4/W2K
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top