Vargas Software Development

Software is just a story about winners and glory and you know that it’s true

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.

Filed under: Windows

One Response - Comments are closed.

  1. netahoy says:

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

Archives

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.

Recently on twitter