Creating a mandatory Windows7 Profile using SCCM2012

Posted on 2014-09-29
Last Modified: 2014-09-29
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.
Question by:AnthonySmithMCP
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 23

Expert Comment

ID: 40349876
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

Author Comment

ID: 40350062
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.
LVL 23

Expert Comment

ID: 40350070
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.
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.


Author Comment

ID: 40350079
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?
LVL 23

Accepted Solution

rhandels earned 500 total points
ID: 40350151
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.

Author Comment

ID: 40350186
Got it. Thank you.

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IPC$ Password 13 59
windows 10 - uninstall Mc Afee asks for password 9 44
Problem to setting 16 50
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question