Recent Tweets by Zeaun

Posting tweet...

Windows

Windows Update Command Line Switches

Did you know that you could control Windows Update from the command line? If you didn’t, you’re not alone. I’d estimate that 98% of certified Microsoft professionals have no idea about this.

“Why is this important”, you ask? because if you can do it at the command line you can script it, and if you can script it you can deploy it.

Here’s the deal:

The command for controlling Windows update is, “WUAUCLT.exe”. Used by it self it doesn’t do much, but when you combine it with the command line switches listed below, it becomes a very powerful utility indeed.… Continue reading

Change All User Passwords In The Domain

So you have an Active Directory domain and you, for some reason, want to reset everyone’s password to a default value?

This is easier said than done, and only requires one simple command chain. Here you go:

1) Make sure that you are running this on a Domain Controller, or on a computer with the Remote Server Administration Tools installed, and are logged in with a domain admin account.
2) Open a command prompt
3) Type the following:

dsquery user -limit 999 | dsmod user -pwd thenewpassword

And that’s it. This works on every edition of Microsoft’s Windows Server line,… Continue reading