Jump to content

the regedit cannot write


huajin
 Share

Go to solution Solved by huajin,

Recommended Posts

i tried to write the regedit value, but not work

Local $regPath = "HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer"
Local $regKey = "NoDrives"
 
Local $res = RegWrite($regPath, $regKey, "REG_DWORD", 1)
 
it will not work as admin.
 
 
just only at windows 7 and above.
Edited by huajin
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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