Root shell in Windows XP

I told you lots of times: you should run Windows XP with a limited account for your common tasks. However, sometimes you are such a lazy that don’t want to log into your machine administrator account to manage your computer.

Well, I am going to share a little trick I’ve been using for a long time: creating a root shell fast.

runas /user:mymachine\administrator /savecred "cmd /T:0C /K cls"
exit

P.S: Be careful when copying double quote marks.

Copy these commands and save them into a batch file name “root.bat” into your C:\Windows\System32 folder.

Each time you need a root shell, press Windows Key + R, write “root”, press Enter and voilĂ !

Root shell

The first time you’ll be prompted for your administrator password. But next one, you’ll not.

PS: Now, you only have to drop files in the console (like *.msi, or *.lnk) to run them as administrator.


1 Response to “Root shell in Windows XP”


  1. 1 netahoy August 9, 2008 at 18:59

    excellent….. its is god sent post… just what I wanted to have all along to run msi
    kudos


Comments are currently closed.



About me


My name is Rafa Vargas. I'm an undergraduate student of Computer Science at University of Seville, Spain. I am mainly interested in computer security, usability and the business of software.

Click here to read the full story.

Twitter subscription

Error: Twitter did not respond. Please wait a few minutes and refresh this page.

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Archives