Welcome to TechNet Blogs Sign in | Join | Help

Browse by Tags

All Tags » user accounts   (RSS)

Hey, Scripting Guy! How Can I Find Old Computer Accounts?

Hey, Scripting Guy! We have had a number of changes at our company recently. As a result, our Active Directory Domain Services (AD DS) installation is somewhat shabby. Okay, a lot shabby. When I go into AD DS Users and Computers and look through it, I

Hey, Scripting Guy! How Can I Remove Group Members Whose User Accounts Reside in a Specific OU?

Hey, Scripting Guy! I have a problem and I haven’t quite figured out how to solve it. I have an Active Directory group, and I’d like to remove some users from that group; in particular, I’d like to remove all the users whose user accounts reside in a

Hey, Scripting Guy! How Can I Determine the Home Directory For All the Disabled User Accounts in Active Directory?

Hey, Scripting Guy! How can I determine the home directory for all the disabled user accounts in Active Directory? -- DB Hey, DB. You know, it’s not like the Scripting Guy who writes this column is addicted to TV or anything, but last night he was watching

How Can I Configure an Active Directory Account So the Password Never Expires?

Hey, Scripting Guy! How can I configure an Active Directory user account so that the account password never expires? -- BB Hey, BB. Before we start we have a question for you : wouldn’t you agree that Catch-22 is one of the four greatest novels ever written?

How Can I Use Windows PowerShell to Determine the Status of the Guest Account?

Hey, Scripting Guy! How can I use Windows PowerShell to determine whether or not the Guest account has been disabled on a computer? -- RB Hey, RB. You know, last week at this time the Scripting Guy who writes this column was on vacation, a vacation spent

How Can I Get the Full Name and Description For My Local User Accounts?

Hey, Scripting Guy! How can I get the full name and description for each of my local user accounts? -- EB Hey, EB. You know, this might be hard to believe, but many people view the Scripting Guys with suspicion. OK, good point; the part that is hard to

How Can I Bind to an Active Directory User Account Using Windows PowerShell?

Hey, Scripting Guy! I’ve been playing around with Windows PowerShell , and I find it interesting. However, I have a problem. I’d like to use PowerShell as a quick way to get information about an Active Directory user account, but I can’t figure out how

How Can I Use a Script to Create a Sequential Series of User Accounts?

Hey, Scripting Guy! For purposes of testing, I often need to create multiple user accounts like this: pgeorge01, pgeorge02, etc. How can I write a script that automatically creates the next account in the sequence; that is, pgeorge03? -- RG Hey, RG. You

How Can I Distinguish Between Local Users and Domain Users?

Hey, Scripting Guy! When using a script to return members of the local Administrators account, how can I distinguish between local users and domain users? -- KS Hey, KS. You know, many years ago there was a TV game show called What’s My Line? The premise

How Can I Specify the Computers a User Can Use to Log On to the Domain?

Hey, Scripting Guy! How can I configure a user account so that the user can only log on to the domain using specific computers? -- RB Hey, RB. You know, at one point we had some really good solutions for you; unfortunately, Microsoft’s legal department

How Can I Convert a DN to this Format: finance.fabrikam.com/Users?

Hey, Scripting Guy! How can I convert a DN to this format: finance.fabrikam.com/Users? -- CW Hey, CW. You know, this is a pretty good question; in fact, we should have used it for the Winter Scripting Games . Ah, but, on second thought, maybe it’s a good

How Can I Move All the Users from One OU to Another OU?

Hey, Scripting Guy! How can I move all the users from one OU to another OU? -- PD Hey, PD. You know, when you work at Microsoft you quickly learn to hate to word “move.” After all, if it wasn’t for the fact that we own the buildings you would think we

How Can I Change a User’s sAMAccountName?

Hey, Scripting Guy! How can I change the sAMAccountName from KMyer to Ken.Myer? -- CP Hey, CP. You know, William Shakespeare once said, “A rose by any other name would smell as sweet.” What does that have to do with your question abut changing the sAMAccountName

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

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

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

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
More Posts Next page »
 
Page view tracker