![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
|
hi,
i need to execute the following line to disable the UAC C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f while executing from run The command prompt shows error msg like shown below ERROR:Access Denied while doing the same task from msconfig,it succeeded, noteable point is the command promt titile shows like Administrator: C:\Windows\System32\cmd.exe where as while runnig from the Run it shows.. C:\Windows\System32\cmd.exe - only Is anybody there to help me Thanks in advance Venkatramsamy SN |
|
|
|
|
|
#2 |
|
Man Bear Pig Hunter
Join Date: Jul 2005
Location: NorCal, USA
Posts: 290
Rep Power: 4
![]() |
Re: how to run command prompt with admin rights
Do you know the admin username and password?
|
|
|
|
|
|
#3 |
|
Newbie
|
Hi,
I logged in as administrator, i am asking about programatically run the command with admin rights(logged i as administrator) Thanks in advance |
|
|
|
|
|
#4 |
|
Man Bear Pig Hunter
Join Date: Jul 2005
Location: NorCal, USA
Posts: 290
Rep Power: 4
![]() |
Re: how to run command prompt with admin rights
I have a program that might be able to help you by doing it for you. But this is a program that someone paid me to make, so the source will say with him, but he said he wouldn't mind if I allowed other to use the product.
![]() NOTE: I'm not sure of the rules of posting links to programs, so please do not think ill of me for posting one of my projects to help this person. If this is ok with you click Here to download the files zipped. |
|
|
|
|
|
#5 |
|
Newbie
|
Re: how to run command prompt with admin rights
hi,
Thank you venkatramasamy SN |
|
|
|
|
|
#6 |
|
Newbie
|
hi
to run the command prompt as administrator use the following C:\Windows\System32\cmd.exe /u:Administrator "%windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f" With regards Venkatramasamy SN |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| imap run | persianman | PHP | 0 | Oct 2nd, 2007 5:25 PM |
| Can Mac be run... | mattireland | Coder's Corner Lounge | 11 | Aug 16th, 2007 4:13 PM |
| Giving Limited User Accounts some PowerUser/Admin Rights | bigguy | Visual Basic .NET | 5 | May 27th, 2007 9:48 PM |
| Admin Rights, and Process List Hider | bigguy | Visual Basic | 7 | Mar 23rd, 2006 6:55 PM |
| Ownership Rights | wrinkle35 | Existing Project Development | 4 | Jul 26th, 2005 10:56 AM |