Jump to content

Recommended Posts

Posted

Hi guys ,

I need your help for a stupid issue , but I'm not able to solve

Basically I need to change some registry value and with RegWrite command all works fine .

My problem is related to UAC pop-up  , because I'm not able to skip it and run my script with admin privileges  ( also using #RequireAdmin )

BTW , for different reasons I cannot disable UAC

 

Do you have any idea or workaround for me ?

Thanks a lot

BR

AnyB

Posted (edited)

Should be able to modify reg without an issue on windows 8. Example: (Unrelated to yours)

RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "Start Page", "REG_SZ", "http://msn.com")

It changes your homepage to http://msn.com when you open your internet explorer.

and you do not need to use #requireadmin for this as long as you log on as the local admin.

Edited by asianqueen

Msgbox(0, "Hate", "Just hate it when I post a question and find my own answer after a couple tries. But if I don't post the question, I can't seem to resolve it at all.")
Posted

Hi.

thanks for your reply

 

@ Reb

I will check your suggestion

@ Asianqueen

My problem is not change the reg value  , it works w/o problem . My question is skip UAC popup and run the script w/ admin privilege

Br

AnyB

Posted (edited)

do you need the #requireadmin to run your script anyways? If so, I don't think you can skip it.

Additional suggestion, but not recommend is to turn off UAC completely.

Edited by asianqueen

Msgbox(0, "Hate", "Just hate it when I post a question and find my own answer after a couple tries. But if I don't post the question, I can't seem to resolve it at all.")

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...