Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

running program from command line as administrator


  • Please log in to reply
2 replies to this topic

#1 gib65

gib65

  • Members
  • 161 posts
  • OFFLINE
  •  
  • Local time:05:10 AM

Posted 13 September 2012 - 05:04 PM

Hello,

How can I run a program from the command line as an administrator. I'm looking for a command line equivalent to right-clicking on the program icon and choosing "Run as Administrator".

BC AdBot (Login to Remove)

 


#2 rotor123

rotor123

  • Moderator
  • 8,093 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:New Jersey
  • Local time:05:10 AM

Posted 13 September 2012 - 05:05 PM

Click the start orb, All Programs, Accessories, Right Click on the Command Prompt Icon and choose run as Administrator.

Now you have a command Prompt running as Administrator and Programs launched from there are launched as administrator rights.

Good Luck
Roger

Edited by rotor123, 13 September 2012 - 05:07 PM.

Fortune Cookie says: Fortune not Found: Abort, Retry, Ignore?

Sent from my All-In-One Desktop. Perfect for Internet, Not for heavy usage or gaming however.

How Does a computer get Infected? http://www.bleepingcomputer.com/forums/t/2520/how-did-i-get-infected/
Forum Rules,    The BC Welcome Guide

167 @ June 2015


#3 gib65

gib65
  • Topic Starter

  • Members
  • 161 posts
  • OFFLINE
  •  
  • Local time:05:10 AM

Posted 17 September 2012 - 10:03 AM

Thanks rotor.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users