atamakosi Posted April 10, 2012 Posted April 10, 2012 Hi all, I've just made a transition in how our user accounts are being created at school. (previously it was all done manually and could be time consuming for myself and inefficient for any students enrolling, etc etc) Anyhow, I've implemented a handy little SMS script and service on our AD service that allows the SMS to create user accounts as soon as the student is enrolled. Now, I've just done a simple data transfer from the old Students$ folder to a new one (after recreating the permissions). I was hoping that AD would pick up all the users and re-add them to be owners of their folders. Unfortunately this hasn't happened. Rather than manually going through each, is there a way to force AD to match a profile with username 'smithj' in year 7 to the folder in Students$/Year7/smithj? This seems to be the only downside to this conversion and is just a one off really. cheers for any help!
EduTech Posted April 10, 2012 Posted April 10, 2012 Hello @atamaskosi, I recommend that you download a program called NTFS Fix from Wise Soft. I have used it many times before to replace NTFS Permissions on folders. NTFSFix It is straightforward to use, but if you have any problems post on here. It is FREE by the way. Hope that helps, James. 1
chazzy2501 Posted April 10, 2012 Posted April 10, 2012 I don't write scripts but I have noticed that if you change the home folder of multiple existing users with AD (server/share%username%) then it won't actually do anything until the student logs in for the first time. This isn't the case on a new user though, where it make the directory straight away.
FN-GM Posted April 10, 2012 Posted April 10, 2012 It just so happens i did this at weekend Run this in a batch file in the root of your home areas. It will add the permissions to the students folder (assuming the folders are named the same as the usernames) for /D %%i in (*) do ( cacls %%i /T /E /G DOMAIN-NAME-HERE\%%i:c ) 1
atamakosi Posted April 10, 2012 Author Posted April 10, 2012 Checked out NTFSFix, unfortunately on a 2k8 server it wanted to download and install .NET 1.1. I wasn't too keen on this so I tried the batch script and looks like FN-GM's solution worked pretty well. The random folders I checked appear to have now matched with the corresponding usernames. Thanks a lot guys for responding and saving me hours of changing permissions!
atamakosi Posted April 24, 2012 Author Posted April 24, 2012 It just so happens i did this at weekend Run this in a batch file in the root of your home areas. It will add the permissions to the students folder (assuming the folders are named the same as the usernames) for /D %%i in (*) do ( cacls %%i /T /E /G DOMAIN-NAME-HERE\%%i:c ) I don't suppose you've experieince problems with students being unable to save? I'm getting a few teachers telling me that students can't save their work. (permissions denied issue) I've checked the user folder and the username has the correct permissions. (!?!)
Hedghog Posted April 24, 2012 Posted April 24, 2012 Hi Do you use folder redirection? I have found that if "my documents" is redirected to the wrong place any student who saves via my documents instead of the mapped drive will fail to save.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now