I'm writing a vbscript that will write a registry value, to be precise the script should write the value of
DisableRemovableDriveScanning value 0 to
but I soon realized that this doesn't work, because of user permissions.
I thought of saving the entries as a .reg and using the
runas command to call the .reg file from a script as SYSTEM, but I don't know if it would work, and I haven't tried it out yet.
Would someone out there know of a way to write to
I'm using Windows 7 64 Bit