Hi,
I'm trying to write a batch file, and part of its job is to ammend the permissions of a few registry keys.
Now im using the standard regini command. running regini /? doesn't return anything so i've worked out the syntax from Google. See below my command:
C:\>regini \Registry\MACHINE\SYSTEM\CurrentControlSet\Enum\SW\{2f412ab5-ed3a-4590-ab24-b0ce2aa77d3c} [7]
it doesn't output a sucess / failure message either bu an echo %errorlevel% returns 1 and the registry keys permissions haven't changed.
What am I doing wrong? It says in the below link you have to put the path in a seperate file but surely you should be able to just run it as a command from a cmd prompt?
http://support.microsoft.com/kb/264584
I'm trying to write a batch file, and part of its job is to ammend the permissions of a few registry keys.
Now im using the standard regini command. running regini /? doesn't return anything so i've worked out the syntax from Google. See below my command:
C:\>regini \Registry\MACHINE\SYSTEM\CurrentControlSet\Enum\SW\{2f412ab5-ed3a-4590-ab24-b0ce2aa77d3c} [7]
it doesn't output a sucess / failure message either bu an echo %errorlevel% returns 1 and the registry keys permissions haven't changed.
What am I doing wrong? It says in the below link you have to put the path in a seperate file but surely you should be able to just run it as a command from a cmd prompt?
http://support.microsoft.com/kb/264584