Creat new windows user from command line

I had a pc with a corrupt user profile in today. As it was the only user profile on the PC I could not log in normally to transfer data or create a new profile. the solution was to boot to safe mode command line and create a new user from there …

net user USERNAME PASSWORD /add
net local group administrators USERNAME / add

Then boot back to normal windows and manage the data and accounts as normal.

 

 

Advertisements
This entry was posted in Misc, Non Windows OS, Windows and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s