PC Review


Reply
Thread Tools Rate Thread

Help with subinacl Denied

 
 
Carito
Guest
Posts: n/a
 
      15th May 2009
Hello. Ive been trying to get this working in order prevent the users from
using the usb mass storage driver. Trying to do it as user logon script, not
computer.

Actually everything works fine when an admin logs in. The logon script runs,
the bat file calls the regedit and everything is great. When a user account
logs on though, I get the following:
"Unable to set sesecurityprivilege: this privledge may be required. Access
is denied" and the reg import doesnt occur.

setup as:
% ~dp0subinacl.exe /verbose=1 /keyreg
"hkey_local_machine\system\currentcontrolset\services\usbstor" /grant=users=f

regedit.exe
"\\domainname\SysVol\domainname\Policies\{875C244C-A130-4D3F-87E4-5DD8EAF22651}\User\Scripts\Logon" usbstop.reg



What am I missing here? Whenever any account other than an admin tries you
get the sesecurityprilege error. I tried changing also to grant=everyone=f ,
and also sgrant.

Thanks,
Carito



 
Reply With Quote
 
 
 
 
Allan
Guest
Posts: n/a
 
      17th May 2009

"Carito" <(E-Mail Removed)> wrote in message
news:C90ECB5E-E904-45B6-9A63-(E-Mail Removed)...
> Hello. Ive been trying to get this working in order prevent the users from
> using the usb mass storage driver. Trying to do it as user logon script,
> not
> computer.

Why does it matter; what are you trying to accomplish here? Maybe there is
another solution or workaround that is effective.
>
> Actually everything works fine when an admin logs in. The logon script
> runs,
> the bat file calls the regedit and everything is great. When a user
> account
> logs on though, I get the following:
> "Unable to set sesecurityprivilege: this privledge may be required. Access
> is denied" and the reg import doesnt occur.
>
> setup as:
> % ~dp0subinacl.exe /verbose=1 /keyreg
> "hkey_local_machine\system\currentcontrolset\services\usbstor"
> /grant=users=f
>
> regedit.exe
> "\\domainname\SysVol\domainname\Policies\{875C244C-A130-4D3F-87E4-5DD8EAF22651}\User\Scripts\Logon"
> usbstop.reg
>
>
>
> What am I missing here? Whenever any account other than an admin tries you
> get the sesecurityprilege error. I tried changing also to grant=everyone=f
> ,
> and also sgrant.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access denied ! Access Denied ! Access Denied! =?Utf-8?B?Y2hyaXNncnVudGxlZA==?= Windows Vista Administration 9 10th Jul 2006 05:04 PM
Resource Kit utility - SubInAcl and Registry hive containing space Harald Windows XP General 0 16th Jan 2005 10:32 PM
Cacls & Subinacl Troy Lea Windows XP Performance 0 27th Sep 2004 06:51 AM
SUBINACL and the WINREG key. Carl Hilton Windows XP Security 1 1st Apr 2004 07:50 AM
Help! Help! Help! Help! Help! Help! Help! Help! Help! Help! Help! Help! Help! -$- Windows XP Internet Explorer 2 21st Dec 2003 11:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:36 AM.