Windows server 2008 and Windows Vista – How to change your license key via command line

Posted by aidas | Posted in Command line, Windows 2008, Windows Vista | Posted on 22-06-2009

0

This post will show you quick way to change license key on your Windows server 2008 or Windows Vista using command line.

Lets say we want to change our license key to AAAAA-BBBBB-CCCCC-DDDDD-EEEEE (Note that this is not legal license key !!!) .

To change key open command line (Start>Run>cmd) and type:

slmgr -ipk AAAAA-BBBBB-CCCCC-DDDDD-EEEEE

key_change

Press “Enter” and You are done !

Windows – How to reset local user password to random one

Posted by Thomas | Posted in Command line, Windows 2003, Windows XP | Posted on 22-06-2009

0

This post will show you how to randomly reset local user password on you Windows machine using command line.

Lets say we have local user named “testuser” and we want randomly reset its password.

For this press Start>Run, type CMD and press “OK” .

In command line type:

net user testuser /random

random_password

Press “Enter”.

Password will be reseted and it will be shown to you after you pressed “Enter” button.

The output will be similar to:

random_password2

Good job!