Showing tag results for Active Directory

Oct 14, 2005
Post comments count0
Post likes count0

How Can I Add a User to a Group if That User Belongs to Two Other Groups?

ScriptingGuy1

Hey, Scripting Guy! How can I check to see if a user is in both group A and group B and, if so, add that user to Group C?-- DH Hey, DH. Good heavens, how are we supposed to know that?!? Sheesh. Sorry; we just always wanted to say that. Now that we have that out of our system, here’s a sample script that checks to see if Ken Myer belongs to both ...

Scripting Guy!VBScriptActive Directory
Oct 13, 2005
Post comments count0
Post likes count0

How Can I Get a List of All the Users in an OU and Its Sub-OUs?

ScriptingGuy1

Hey, Scripting Guy! How can I get a list of all the users in an OU and its sub-OUs?-- MN Hey, MN. Thanks to either faulty wiring or a neighbor’s fireworks (the investigation was inconclusive), one of the Scripting Guys had the delightful experience of watching his garage burn down this summer. Because the Scripting Cars were never parked in the ...

Scripting Guy!VBScriptActive Directory
Oct 6, 2005
Post comments count0
Post likes count0

How Can I Verify that None of My Local User Accounts have a Blank Password?

ScriptingGuy1

Hey, Scripting Guy! How can I verify that none of my local user accounts have a blank password?-- TB Hey, TB. To begin with, we should point out that at least some of you won’t need to make this check on computers within your domain; that’s because you’re using password policies in the domain that would prohibit the use of a blank password. (For...

Scripting Guy!VBScriptActive Directory
Oct 5, 2005
Post comments count0
Post likes count0

How Can I Set Word’s Default File Location to be the User’s Home Directory?

ScriptingGuy1

Hey, Scripting Guy! How can I set Word’s default file location to be the user’s home directory?-- LD Hey, LD. Ah, memories. There was a period of time when it seemed like every question we answered in this column was a two-part question: we’d always find ourselves doing things like showing people how to do task 1 (retrieve the user’s home direct...

Scripting Guy!VBScriptOffice
Sep 29, 2005
Post comments count0
Post likes count0

How Can I Determine the Logon Name for a User?

ScriptingGuy1

Hey, Scripting Guy! How can I determine the user logon name for a user named John Smith?-- FR Hey, FR. You know, we’d like to tell you how to determine the user logon name for a user named John Smith, but we can’t: that’s because we have a specific list of names representing the only user names we can reference in one of our sample scripts. Unfo...

Scripting Guy!VBScriptActive Directory