I think you mean the userWorkstations attribute on the user objects? If so, yes the answer is scripts/batch files.
 
This attribute will not accept wildcards, you would need to populate it with actual names via a script or batch file. The format is unicode string NetBIOS names separated by commas. Note that you are limited to 1024 characters total.
 
Another option which is more flexible is to use a logon script and if the user isn't ok for the machine they are trying to log into it logs them back off.
 
 
   joe
 
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nigel Glasgow
Sent: Wednesday, January 11, 2006 2:05 PM
To: [email protected]
Subject: [ActiveDir] Using wildcard in Active Directory Users Account LogonTo property to quickly add department computers names

Hi,

 

Is there any easy way to add computer names in this box? I want to restrict users to their department’s computers beginning with the department code.

 

Thanks.

 

N.AG

Reply via email to