Creating a mandatory Windows7 Profile using SCCM2012

I'm in the process of deploying Windows7 out to a lab. The lab requires that the profiles on the system be mandatory. The users are able to make changes to the profile while logged in.. but once logged off everything reverts back to the standard profile.

I want to know if there is anyone to do this using an SCCM task sequence or a configuration base line. Any help will be appreciated.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

There is a base line on how to create a mandatory profile (enough links to be found on google) but why would you like to create this using SCCM?? Normally a mandatory profile is created once manually and then copied to a centralized environment. After that you change the roaming profile settings of the user account to point to that mandatory profile. That would be the easiest way of doing it for multiple users.

I don't think you can just copy over the profile (because that would be what you are doing then) with the and use it with a local account.

Or are you just trying to change the current profile to a mandatory one?? So only rename the ntuser.dat of all users on a machine to
AnthonySmithMCPAuthor Commented:
I already know how to create a mandatory profile manually on the systems. I want to use SCCM to deploy this to classrooms and not bother the users AD account. I only want this change to apply when they login to specific computers... Not all computers they login to.

The reason for using SCCM is because i want this to apply to the systems while I'm deploying out the OS.
The problem is that you need to change the ntuser.dat to somehow while the user is not logged in yet, otherwise you will get the message that the file is in use.

I guess that you could create some sort of batch or vbs script to rename this file but still.
If you have a script that does the trick you should be able to deploy it using SCCM.

I would however still suggest doing this "the normal way" because i have no idea what happens if you change the file if a user is not logged in yet.
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

AnthonySmithMCPAuthor Commented:
So changing the ntuser.dat to will allow the user to make changes to the profile while their logged in... but will revert back to the default profile when the loggoff?
Yes, that is all you need to do to change a profile from a "normal" profile to a mandatory profile. And yes, a mandatory profile will revert back to this once logged off.. I'm not quite sure if this can be done on a local profile though, you should test it. As said, normally you create a mandatory profile as a base and place it on a network share and point all users towards that profile. But it is worth a shot.

Do keep in mind that the profile needs to exist to get this working. So the user must have logged in once so the local profile is already created, otherwise you cannot change the file. And by default a profile is not mandatory.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AnthonySmithMCPAuthor Commented:
Got it. Thank you.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.