Homefolder path on multiple users with already existing home folders...

Discussion in 'Active Directory' started by Per Hagstrom, Mar 24, 2006.

  1. Per Hagstrom

    Per Hagstrom Guest

    Hey!

    "Somebody" messed up our security settings on the homefolders, so now the
    users don't have their own username with full access on their own folders
    anymore...

    Since when you create the homefolders, you can use \\server\home\%username%
    to create the non existent homefolder under the Profile tab in AD, and that
    way you can select multiple users, and it automatically creates all the
    folders with the right name and right permissions.

    So I tried to take one user, wihout his own permissions, went in to AD,
    changed a letter in the path, and changed it back so it would force a
    "change" on the path, and then a warning popup comes up, telling me the path
    already exists, and I have the option to replace the permissions...
    I hit yes, and then that homefolder was actually OK again! Great! :)

    Thought, well that's easy to fix then, just select all users at once, and
    then do the same thing, and all users homefolders will be fixed. Wellllll...
    no... if you select more than one user, then you get a little different
    warning message, about the folder already existing, but NO option to fix the
    permissions!! :(

    Anyone who knows how to fix this, or a different/better solution?!??

    TIA!!!

    / Per

    ps. I've tried to use ADModify, which doesn't error out, but it doesn't seem
    to be able to replace the permissions either.. :(
     
    Per Hagstrom, Mar 24, 2006
    #1
    1. Advertisements

  2. In
    Create a script? Below are two examples.

    1. Resets The Permission On A Collection Of Home Folders... Resets the
    permission on a collection of Home Folders by parsing home folder names for
    account names and granting that account and administrators access. Requires
    xcacls.vbs.
    Date Posted: Tuesday, April 26, 2005
    Author: Nicholas Staff
    Script Category: Vbscript, Filesystem Administration
    http://cwashington.netreach.net/depo/view.asp?Index=1051&ScriptType=vbscript

    2. Resets The Permission On A Collection Of Home Folders Ver 2... (ver. 2)
    Reset the permission on a collection of Home Folders by parsing home folder
    names for account names and granting that account and administrators access.
    Now with that filtering capability everyone asked for. Requires xcacls.vbs.
    Date Posted: Wednesday, May 04, 2005
    Author: Nicholas Staff
    Script Category: Vbscript, Filesystem Administration
    http://cwashington.netreach.net/depo/view.asp?Index=1055&ScriptType=vbscript

    There are thousands of free scripts at this link where the above scripts
    came from. If the above scripts don't work, click on VBS, then do a search
    on "home folder" :
    http://cwashington.netreach.net

    --
    Ace

    This posting is provided "AS-IS" with no warranties or guarantees and
    confers no rights.

    Having difficulty reading or finding responses to your post?
    Instead of the website you're using, I suggest to use OEx (Outlook Express
    or any other newsreader), and configure a news account, pointing to
    news.microsoft.com. This is a direct link to the Microsoft Public
    Newsgroups. It is FREE and requires NO ISP's Usenet account. OEx allows you
    to easily find, track threads, cross-post, sort by date, poster's name,
    watched threads or subject.

    It's easy:
    How to Configure OEx for Internet News
    http://support.microsoft.com/?id=171164

    Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
    Microsoft MVP - Directory Services
    Microsoft Certified Trainer

    Infinite Diversities in Infinite Combinations
    Assimilation Imminent. Resistance is Futile
    "Very funny Scotty. Now, beam down my clothes."

    The only thing in life is change. Anything more is a blackhole consuming
    unnecessary energy. - [Me]
     
    Ace Fekay [MVP], Mar 25, 2006
    #2
    1. Advertisements

  3. Per Hagstrom

    Per Hagstrom Guest

    Thank you much! :)

    / Per


    "Ace Fekay [MVP]"
     
    Per Hagstrom, Mar 28, 2006
    #3
  4. In
    :)

    Ace
     
    Ace Fekay [MVP], Mar 29, 2006
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.