subinacl.exe

G

Guest

Hello;

I am using subinacl.exe. I have run into a problem with it......

I am trying to change permissions on registry keys. The problem is that when
I try to change the permission on a key with a space in it, it does not
happen. Another key gets changed instead......For eg. the line below when
run from a batch file ends up changing the key:
\\HKEY_LOCAL_MACHINE\Software\Microsoft\Shared and all the keys below it
instead of the shared tools key. Is there a fix for this? or is there
something i can use to indicate a space?

Thanks.

subinacl /output=c:\out.txt /Subkeyreg
\HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Graphics Filters
/grant=Users=f
 
P

ptwilliams

Have you tried enclosing the path in quotes?

e.g. "\\HKEY_LOCAL_MACHINE\Software\Microsoft\Shared whatever"


--

Paul Williams

http://www.msresource.net
http://forums.msresource.net


Hello;

I am using subinacl.exe. I have run into a problem with it......

I am trying to change permissions on registry keys. The problem is that when
I try to change the permission on a key with a space in it, it does not
happen. Another key gets changed instead......For eg. the line below when
run from a batch file ends up changing the key:
\\HKEY_LOCAL_MACHINE\Software\Microsoft\Shared and all the keys below it
instead of the shared tools key. Is there a fix for this? or is there
something i can use to indicate a space?

Thanks.

subinacl /output=c:\out.txt /Subkeyreg
\HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Graphics Filters
/grant=Users=f
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top