+ Post New Thread
Results 1 to 2 of 2
Coding Thread, Xcalcs helppppp please in Coding and Web Development; Have had a bit of a problem need to gain access to students my documents folder (mistake on my part ...
  1. #1
    alonebfg's Avatar
    Join Date
    Aug 2006
    Location
    south west some of the time
    Posts
    834
    Thank Post
    12
    Thanked 34 Times in 21 Posts
    Blog Entries
    5
    Rep Power
    24

    Xcalcs helppppp please

    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
    Code:
    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??

  2. #2
    alonebfg's Avatar
    Join Date
    Aug 2006
    Location
    south west some of the time
    Posts
    834
    Thank Post
    12
    Thanked 34 Times in 21 Posts
    Blog Entries
    5
    Rep Power
    24

    Re: Xcalcs helppppp please

    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.



SHARE:
+ Post New Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •