Welcome to TechNet Blogs Sign in | Join | Help

Browse by Tags

All Tags » other Directory Services   (RSS)

How Can I Determine Whether or Not My Local Users are Required to Have a Password?

Hey, Scripting Guy! How can I determine whether or not my local users are required to have a password? -- GT Hey, GT. You know, rather than beat around the bush we decided to come right out and admit it: yes, the rumors that have been circulating around

How Can I Rename a User Account in a Windows NT 4.0 Domain?

Hey, Scripting Guy! How can I rename a user account in a Windows NT 4.0 domain? -- JK Hey, JK. You know, as this column is being written it’s a Monday here in Seattle, and it’s raining. And yes, we know what you’re thinking: when isn’t it raining in Seattle?

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 Delete Everyone Except the Administrator and the Domain Admins Group from the Local Administrators Group?

Hey, Scripting Guy! How can I delete everyone except the Administrator and the Domain Admins group from the local Administrators group? -- JS Hey, JS. You know, when you become a doctor you have to take the Hippocratic Oath, which famously begins, “First,

How Can I Verify that ADAM is Installed?

Hey, Scripting Guy! How can I verify that ADAM is installed? -- CW Hey, CW. Although former President Ronald Reagan is usually given credit for the phrase “Trust but verify,” we’ve always thought that sounded more like the sort of thing a system administrator

How Can I Determine the Name of the Local Administrators Group?

Hey, Scripting Guy! How can I determine the name of the local Administrators group? This can vary depending on the operating system language; for example, in German the name of the group is Administratoren. -- DS Hey, DS. You know, the first thought that

How Can I List All the Users in an NT 4.0 Domain?

Hey, Scripting Guy! How can I list all the users in an NT 4.0 domain, along with their description and logon script path? -- HH Hey, HH. Ah, yes NT 4.0. Windows NT 4.0 reminds us of dandelions: it doesn’t matter whether you like dandelions or not, there’s

How Can I Determine if the Local Administrator Account has been Renamed on a Computer?

Hey, Scripting Guy! How can I determine if the local administrator account has been renamed on a computer? -- KF Hey, KF. You know, our first thought was to tell you to use ADSI and try to bind to the local administrator account on the computer; if that

How Can I Determine When a User Last Changed His or Her Password?

Hey, Scripting Guy! How can I determine when a user last changed his or her password? -- MG Hey, MG. A long time ago one of the Scripting Guys worked at a local university. In one of the departments there it was easy to determine when a user last changed

How Can I Purge All the Print Jobs on a Windows 2000 Print Server?

Hey, Scripting Guy! How can I purge all the print jobs on a Windows 2000 print server? -- KC Hey, KC. This is one of those questions we hate, not because we don’t have an answer for it - we do - but because we have to temporarily abandon one of the core

How Can I Disable the Guest Account on a Computer?

Hey, Scripting Guy! How can I determine whether or not the Guest account is enabled on a computer and, if it is, disable it? -- PR Hey, PR. At last: a question for which there is a very simple, very straightforward answer. This isn’t to minimize the importance

How Can I Determine Whether or Not a Group Has Any Members?

Hey, Scripting Guy! How can I check a computer and find out whether the Remote Desktop Users group has any members? -- ET Hey, ET. Somewhat surprisingly, ADSI doesn’t have any sort of NumberOfMembers property, a property that could tell you - at a glance
 
Page view tracker