+ Post New Thread
Results 1 to 12 of 12
Windows Thread, URGENT Help Needed to replace NFTS perms on 2000 Home Dirs in Technical; Hey gyus, Ihave had to come into school as it would appear that the user perms on thier home folders ...
  1. #1
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62

    URGENT Help Needed to replace NFTS perms on 2000 Home Dirs

    Hey gyus,

    Ihave had to come into school as it would appear that the user perms on thier home folders have been stripped out.

    How this has happened I will look at later but right now does anyone have any ideas how to get the user perms back on quickly.

    Thanks for the help but lack of sleep (new baby) has left my brain fried ;-)

  2. #2
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,456
    Thank Post
    10
    Thanked 494 Times in 434 Posts
    Rep Power
    113

    Re: URGENT Help Needed to replace NFTS perms on 2000 Home Dirs

    If the folders are named after the users look at http://www.wisesoft.co.uk/Products/NTFSFix/

    I've used this recently to fix similar issues. (Must be run from local drive)

    As for why, if the server is 2003 but not SP2 there is a bug in chkdsk that removes ACL entries if the file table is bigger than a certain size or contains more than 4m entries (shadow copies put me over). I lost around 70k file permissions with no idea which files were affected.

  3. #3
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62

    Re: URGENT Help Needed to replace NFTS perms on 2000 Home Dirs

    Thanks i'll take a look at it now, and yes the server have not gone upto SP2 yet.

    Seems as this could be the reason.

  4. #4

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,957
    Thank Post
    886
    Thanked 1,700 Times in 1,477 Posts
    Blog Entries
    12
    Rep Power
    448

    Re: URGENT Help Needed to replace NFTS perms on 2000 Home Dirs

    Im not sure but can you restore them using the shadow copy if you have that running

  5. #5
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,456
    Thank Post
    10
    Thanked 494 Times in 434 Posts
    Rep Power
    113

    Re: URGENT Help Needed to replace NFTS perms on 2000 Home Dirs

    Just FYI

    http://support.microsoft.com/kb/831374/
    http://support.microsoft.com/kb/913034/

    It might not be that of course, buts its possible

  6. #6
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,456
    Thank Post
    10
    Thanked 494 Times in 434 Posts
    Rep Power
    113

    Re: URGENT Help Needed to replace NFTS perms on 2000 Home Dirs

    Quote Originally Posted by FN-Greatermanchester
    Im not sure but can you restore them using the shadow copy if you have that running
    It's the entire filesystem, this means shadow copy is also affected afaik

  7. #7
    Netman's Avatar
    Join Date
    Jul 2005
    Location
    56.343515, -2.804118
    Posts
    911
    Thank Post
    367
    Thanked 190 Times in 143 Posts
    Rep Power
    54

    Re: URGENT Help Needed to replace NFTS perms on 2000 Home Di

    If you have a backup you can use robocopy to just copy the permissions and ownership details...
    Restore your backup to a network drive... and then use robobcopy source destination /s /is /copy:so IIRC

  8. #8

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,596
    Thank Post
    109
    Thanked 764 Times in 595 Posts
    Rep Power
    181

    Re: URGENT Help Needed to replace NFTS perms on 2000 Home Di

    I have a script to fix this problem (I created it when I did a network migration)... goes off to look

    Find script...
    Code:
    Set FSO = CreateObject("Scripting.FileSystemObject")
    
    Set ObjShell = Wscript.CreateObject("Wscript.Shell")
    
    
    
    ShowSubfolders FSO.GetFolder("v:\year 2006")
    
    
    
    Sub ShowSubFolders(Folder)
    
        For Each Subfolder in Folder.SubFolders
    
            WScript.Echo "Folder = " & Subfolder
    
    	userName = SubFolder.Name
    
    	CMDLine1 = "cscript xcacls.vbs """ & Subfolder & """ /F /S /T /G BAINES\staff:r ""Domain admins"":f BAINES\" & userName & ":m"
    
    	' WScript.echo "Command = " & CMDline1
    
    	WScript.Echo "Running XCACLS..."
    
    	ObjShell.Run CMDLine1
    
    	
    
    	CMDLine2 = "chown -r " & userName & " """ & Subfolder & "\*.*"""
    
    	' WScript.Echo "Command = " & CMDLine2
    
    	WScript.Echo "Running CHOWN..."
    
    	ObjShell.Run CMDLine2
    
        Next
    
    End Sub
    The script is pretty self explanatary but assumes that chown.exe and XCACLS.vbs are available. The foldernames should also be the same as the usernames.

    I will also post this and a couple of others on the wiki in case anybody wants to develop them further.

  9. #9

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,596
    Thank Post
    109
    Thanked 764 Times in 595 Posts
    Rep Power
    181

    Re: URGENT Help Needed to replace NFTS perms on 2000 Home Dirs

    http://edugeekwiki.rm-charlton.net/index.php/Scripts has a couple of the scripts that I mentioned :P

  10. #10
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62

    Re: URGENT Help Needed to replace NFTS perms on 2000 Home Dirs

    Many thanks to all ;-)

    Ric_ I will try out the script in the morning thanks for these.

    I am unable to get access to WiseSoft as thier email does not seem to be working so now account confirmation email, if anyone has the installer for NTFSFix I can give you an FTP account to upload to of it is not that big email it over to me: ozan [dot] pakyuz [at] opsoftware [dot] co [dot] uk

    It's the entire filesystem, this means shadow copy is also affected afaik
    You are correct DMcCoy

  11. #11

    Join Date
    Aug 2007
    Location
    West Midlands
    Posts
    73
    Thank Post
    8
    Thanked 2 Times in 2 Posts
    Rep Power
    15

    Re: URGENT Help Needed to replace NFTS perms on 2000 Home Di

    Check out the link below. Just used this program and it's bloody brilliant. Creates bulk users and also resets folder permissions. Took a little while to figure out but seems to work a treat. I cannot take credit for discovering this, found the link here on Edugeek.

  12. #12

    Join Date
    Aug 2007
    Location
    West Midlands
    Posts
    73
    Thank Post
    8
    Thanked 2 Times in 2 Posts
    Rep Power
    15

    Re: URGENT Help Needed to replace NFTS perms on 2000 Home Di

    Sorry, been a long day forgot to pos the link!!!!

    http://www.dcs.shef.ac.uk/~mikem/activeman/index.html

SHARE:
+ Post New Thread

Similar Threads

  1. URGENT - YouTube hack needed
    By alan-d in forum How do you do....it?
    Replies: 12
    Last Post: 16th October 2007, 05:24 PM
  2. Moving Home Dirs?
    By mmoseley in forum Wireless Networks
    Replies: 19
    Last Post: 1st October 2007, 11:57 AM
  3. urgent msn problem ideas needed
    By russdev in forum General Chat
    Replies: 4
    Last Post: 1st October 2006, 04:02 PM
  4. URGENT: Exchange 5.5 Trial Needed
    By tobyhughes in forum Wireless Networks
    Replies: 6
    Last Post: 19th July 2006, 03:32 PM
  5. needed ...urgent
    By russdev in forum General EduGeek News/Announcements
    Replies: 2
    Last Post: 10th February 2006, 09:59 AM

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
  •