alonebfg Posted October 15, 2007 Report Posted October 15, 2007 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??
alonebfg Posted October 15, 2007 Author Report Posted October 15, 2007 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now