Jump to content

Recommended Posts

Posted

Have had a bit of a problem need to gain access to students my documents folder (mistake on my part forgot to untick grant exclusive permissions) been using

psexec -i -s \\matt
hew cscript xcacls.vbs "d:\userdata\userdatas2006" /S /T /E /G administrators:F 

but then i get this

*************************************************************************

Directory: D:\UserData\Userdatas2006\username

Granting NTFS rights (F access for This Folder, Subfolders and Files) for "BUILTIN\Administrators"

Completed successfully.

*************************************************************************

 

**************************************************************************

Directory: D:\UserData\Userdatas2006\username\My Documents

Error -2147217406: occurred setting Win32_LogicalFileSecuritySetting object. (Msg#501)

Error description: Not found

**************************************************************************

 

**************************************************************************

Directory: D:\UserData\Userdatas2006\username\My Documents\My Music

Error -2147217406: occurred setting Win32_LogicalFileSecuritySetting object. (M

sg#501)

Error description: Not found

**************************************************************************

 

**************************************************************************

Directory: D:\UserData\Userdatas2006\username\My Documents\My Pictures

Error -2147217406: occurred setting Win32_LogicalFileSecuritySetting object. (M

sg#501)

Error description: Not found

**************************************************************************

 

It is driving me mad tried putting it in a bat file and running a scedule and it still dont work??

Posted
ok i seem to have found a soloution i have put it in a bat file and used is a a login script and it seems to work. The problem i have is i dont want to chang ownership as that will mess up the quota on the folder.

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



  • 47 When would you like EduGeek EDIT 2025 to be held?

    1. 1. Select a time period you can attend


      • I can make it in June\July
      • I can make it in August\Sept
      • Other time period. Comment below
      • Either time

×
×
  • Create New...