Click here to Skip to main content
Sign Up to vote bad
good
See more: C++
how get administrater perission in consol
to doing any thing in system i should get perission how get it
Posted 29 Nov '12 - 3:07
mrsh66259

Comments
joshrduncan2012 - 29 Nov '12 - 9:09
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:06
Unless you know the administrator password, or your account has administrator privileges you cannot get it.

1 solution

For linux:
sudo

For windows, try this:
runas.exe /user:administrator "your command"
 
Good luck!
  Permalink  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 425
1 OriginalGriff 315
2 Slacker007 240
3 Aarti Meswania 210
4 Maciej Los 200
0 Sergey Alexandrovich Kryukov 8,893
1 OriginalGriff 7,134
2 CPallini 3,678
3 Rohan Leuva 3,036
4 Maciej Los 2,428


Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 29 Nov 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid