Click here to Skip to main content
15,896,207 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how get administrater perission in consol
to doing any thing in system i should get perission how get it
Posted
Comments
joshrduncan2012 29-Nov-12 9:09am    
Please improve question with more information as to what you are doing and how you are trying to accomplish this mission. We can't assume anything based on what you have here. Can you show us your code please so we can assist where you are having trouble?
Richard MacCutchan 29-Nov-12 10:06am    
Unless you know the administrator password, or your account has administrator privileges you cannot get it.

1 solution

For linux:
sudo <your command=""><br />
</your>

For windows, try this:
runas.exe /user:administrator "your command"

Good luck!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900