New
#1
launching UAC by command
Hello,
I know you can launch UAC by typing uac in start - bottom field. But I was wondering if there is a way lo launch it via a dos prompt?
Jvuz
Hello,
I know you can launch UAC by typing uac in start - bottom field. But I was wondering if there is a way lo launch it via a dos prompt?
Jvuz
disable UAC
Code:C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
enable UAC
Those are the only two UAC commands I know of from dos, and they are quite long winded. As you are actually invoking a single line registry edit and not a direct command to UAC.Code: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
I think it's blocked from DOS access for obvious security reasons. A simple 16 bit virus would easily be able to manipulate it if it were easily invoked directly from dos.
Maguscreed,
I'm aware of those commands. but my goal is not to have it changed by the registry, I just want to launch the same windows as when you do the following: start- type in the box at the bottom: uac. The actual change I want to do myself.
jvuz
As I said I think that capacity is intentionally blocked.
You might be able to trigger it via command line using a task though.
it's a different thing entirely, what's happening there is typing UAC is making the search engine within windows track down the cpl from control panel. UAC is not actually a command, it's a search parameter.
So, the trick is to find out which command it's using to launch the control panel item.
jvuz
yes, there has to be a .cpl related to it but I don't know what it is off the top of my head.
Though the first couple of paragraphs here, kind of reiterate what I've been trying to say.
User Account Control - Wikipedia, the free encyclopedia
To be followed by
http://en.wikipedia.org/wiki/User_In...lege_Isolation
Yes,
found it!
User Account Control Settings Shortcut - Create
UserAccountControlSettings.exe
thanks for helping me out here.
jvuz
Last edited by Brink; 30 May 2011 at 12:30. Reason: added link
oh dammit you just wanted to open the window the whole time?
For some reason I had it in my head you wanted to adjust it from command.
lol yeah sorry had I properly understood you this would have happened a lot quicker.
suffering insomnia here.