Wednesday, May 14, 2008

MS-DOS and Run as Admin*

Wednesday, May 14, 2008 8:51:47 PM (GMT Standard Time, UTC+00:00)

A few moments ago I was attempting to run a .bat file in MS-DOS, but I kept getting a barrage of "Access Denied" messages. As I figured this was because I needed to run it as Admin, I simply right-clicked on the file, clicked Run as Admin, and.. well.. nothing happened!

Well, as per usual, I headed over to papa Google and after one semi-swift search (0.34secs), I found out that to run these type of files, you actually have to run the Command Prompt ('aka' MS-DOS) as Admin (Source)! Once you do this, all the commands you enter into the prompt will inherit this and run under Admin privileges!

.. Ok ok, yes, I agree, this is quite simple, and I probably should have deduced this on my own! But, the point is, it happened, and I'm putting this information out there (again) just in the event that someone else falls into the same predicament!

Related posts:
Google's Android mobile unveiled
Women in Games Conference
20 Useful Tools to Make Web Development More Efficient
FF, IE, Saf, say hello to Google Chrome
HOWTO: Ubuntu Install From USB
WhatTheFont

Comments are closed.