Results 1 to 6 of 6
  1. #1
    New Lounger
    Join Date
    Aug 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Changing Windows Server 2008 permissions

    Hello! Some time ago, I moved files from a Vista machine's 'My Documents' to a user's folder on our file server running Windows Server 2008. We had a server crash due to a power outage (not sure if that's relevant). I replaced all files from a Windows Server 2008 back up (not sure if that's relevant). It seems I cannot access the individual files and folders from the 'Vista' machine. I seem to have to go to each file and folder and change the permissions. When I try to change permissions from a 'parent' folder, I get an error that says 'access is denied'. I'm wondering if there is some script, or a tip of some sort that might allow me to change all the permissions for these Vista files at one time (there are several hundred).

    Any help would be appreciated!
    KST

  2. Subscribe to our Windows Secrets Newsletter - It's Free!

    Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!

    Excel 2013: The Missing Manual

    + Get this BONUS — free!

    Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!

  3. #2
    Gold Lounger
    Join Date
    Dec 2009
    Location
    Earth
    Posts
    3,495
    Thanks
    7
    Thanked 220 Times in 208 Posts
    It is a security issue, not a corruption one.

    I assume you are an administrator on the 2008 box.
    1. Right click on the folder in question.
    2. Select Properties > Security.
    3. Advanced.
    4. Edit and change the owner - take ownership of all files and folders.
    You will now be able to change the security.

    cheers, Paul

  4. #3
    New Lounger
    Join Date
    Aug 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hey Paul, thank you for your response. I was afraid no one would. I am the admin on the server box.

    I had followed your procedure repeatedly with no results, thus my post on this forum.

    It turns out there was an issue w/ the 'Sharing'. Once I removed all the 'Shared Permissions', and set up the permissions again, the issue went away. I still do not know if there was something corrupt, but I still have the issue on other folders. As I remove the Shared Permissions and re-instate them, the issue goes away.

    I'm posting this to thank you for your response, and hopefully my experience w/ help someone else w/ a similar issue!

    Many thanks!
    KST

  5. #4
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    20,374
    Thanks
    1
    Thanked 595 Times in 532 Posts
    "Sharing Permissions" & "Security Permissions" can be tricky to combine. Particularly if the permissions are migrated from an older version of Windows and users have changed, groups have changed, an updated version of AD is used, etc., etc.

    Glad you got it figured out and are getting it resolved. Thanks for posting back.

    Joe

  6. #5
    Gold Lounger
    Join Date
    Dec 2009
    Location
    Earth
    Posts
    3,495
    Thanks
    7
    Thanked 220 Times in 208 Posts
    Troubleshooting file permissions should always be done on the server in question, never via a share. RDP is your friend.

    I always set share permissions at "full" and control access through file permissions. No problems understanding who has what then and you have much finer control in NTFS.

    cheers, Paul

    p.s. Ill post a details of a utility I use that collects the permissions in a text file for easy reference.
    Last edited by Paul T; 2011-08-14 at 10:32.

  7. #6
    Gold Lounger
    Join Date
    Dec 2009
    Location
    Earth
    Posts
    3,495
    Thanks
    7
    Thanked 220 Times in 208 Posts
    here's a batch file that collects all the security settings from all of the folders on a drive. As the usual arrangement is to have a data volume with the shares, this utility will allow you to work out where the security is and isn't.
    Code:
    @echo off
    ::**********************************************
    :: Dump NTFS directory permissions to file
    :: Save in tab delimited format for import into Excel
    ::
    :: Note: DUMPSEC runs as a background process.
    ::       The only indication of completion is the generation
    ::       of the output file, which can take several hours.
    ::
    :: Requires dumpsec.exe from http://www.systemtools.com/somarsoft
    ::**********************************************
     
    :: Dump NTFS permissions from D:. Only show changed permissions.
    DUMPSEC.exe /rpt=dir=D:\ /outfile=D:\DumpNTFSSecurity.txt /saveas=tsv /noowner /showexcdirs
    cheers, Paul

Posting Permissions

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