Showing results for local accounts and Windows NT 4.0 accounts - Scripting Blog [archived]

Sep 7, 2005
Post comments count0
Post likes count0

How Can I Check to See if a User Exists in an NT 4 Domain?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I check to see if a user exists in an NT 4 domain?-- PA Hey, PA. You know, if you were to ask us, “How do you back your car out of your driveway?” we’d probably tell you that - after checking all the mirrors - we turn so that we’re facing directly out the back window of the car and then slowly and cautiously begin bac...

Scripting Guy!VBScriptother Directory Services
Jul 22, 2005
Post comments count0
Post likes count0

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

ScriptingGuy1
ScriptingGuy1

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 failed, that would mean that there was no account named Administrator on that computer. In tur...

Scripting Guy!VBScriptother Directory Services
Jul 5, 2005
Post comments count0
Post likes count0

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

ScriptingGuy1
ScriptingGuy1

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 his or her password: that’s because the administrative assistant kept a list of all the users...

Scripting Guy!VBScriptActive Directory
Apr 28, 2005
Post comments count0
Post likes count0

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

ScriptingGuy1
ScriptingGuy1

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 tenets of the Scripting Guy Way of Life. That tenet - just a second while we blow the dust off...

Scripting Guy!scripting techniquesVBScript
Feb 10, 2005
Post comments count0
Post likes count0

How Can I Disable the Guest Account on a Computer?

ScriptingGuy1
ScriptingGuy1

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 of the task: in general, it’s highly recommended that you disable the Guest account on ...

Scripting Guy!VBScriptsecurity