Results 1 to 5 of 5

Thread: File Permissions in Vista -> Win7 Upgrade

  1. #1

    Question File Permissions in Vista -> Win7 Upgrade

    A few weeks ago I installed Win 7 on my system. I have an OS partition and a Data partition so I nuked the OS partition and installed Win 7 from scratch.

    All of the NTFS folders on my Data drive however still have the user ID from my now dead Vista install. Is there an easy way to get my permissions spread everywhere on the data drive? For some reason some directories are inheriting stuff while others are not.

    So I have a number of folders that I don't have permission to read. If I try to enter the folder in Win7 it asks me if I want permanent access, I say yes and it resets the permissions for that folder but a lot of the files in that folder are not set. Is there any way to mass set the permissions on files and folders so that it all gets fixed? So far I haven't found an easy way to force it to set the permissions for all files, sub-folders, sub-folder-files, etc...

    Thanks,
    Jeff

  2. #2
    Administrator Bok's Avatar
    Join Date
    Oct 2003
    Location
    Wake Forest, North Carolina, United States
    Posts
    24,469
    Blog Entries
    13
    I had the same problem, it's a major PITA..everything I tried did not work until I installed this.. works wonders

    http://www.howtogeek.com/howto/windo...menu-in-vista/

    Bok

  3. #3
    Quote Originally Posted by Bok View Post
    I had the same problem, it's a major PITA..everything I tried did not work until I installed this.. works wonders
    Thank you!!!! That will save me a huge amount of time I think. Hopefully it works if you multi-select items as well.

    Jeff.

  4. #4
    almost retired the-mk's Avatar
    Join Date
    Jan 2003
    Location
    KI/OOE/Austria
    Posts
    1,921
    Blog Entries
    6
    the command line guys might like the "cacls" tool, details see "cacls /?"
    but I don't know if it still exists in Vista and Windows 7... works fine with XP and Windows 2003
    the-mk

  5. #5
    Ok guys, thanks for your help. I found two utils that are useful based on hints you gave.

    In Windows 7, the cacls program exists but it is deprecated and replaced with icacls. So to give yourself full permissions on files you would use:
    Code:
    icacls filename.exe /grant Username:F
    In the the icacls help I also saw reference to takeown which is a utility to take ownership of files. So with that is looks like you can do something like:
    Code:
    takeown /F file* /R
    Filename, directory name or wildcards, and /R for recursive. So essentially I went to the root of my D drive with a "Run as Admin" command prompt, and did takeown /F * /R so it reset the ownership of every file on the HD to my new account. Fast and sweet.

Posting Permissions

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