2

Intro
I'm a networking student from Belgium and I just got assigned a big project. Basicly i'm responsible for the ADDS. We have to create several OU's and every OU needs at least 20 users or more. 1 of these OU's is called "Guests" and has 20+ guests in them. All these "Guests" profiles need to be mandatory (and I know how to create them).

My Question

Is there a way to create mandatory profiles through Windows Powershell or maybe group policies. Because doing +20 profiles manually is going to take a lot of work and it might be easier than I think.

Details

All Clients are Windows 8 or Windows 8.1
Windows Server 2012 (DC)
Windows Server 2012 (ADC)
All other profiles are Roaming Profiles (except for admin)
Profiles are stored on both servers using DFS for redundancy
The script I use just creates the Tree mapping. F.E:
Domain.local --> Domain --> OU--> inside this map you wil find:
OU_Group_DomainLocal
OU_Group_Global
All_OU_Users
And this for all OUs.

Confusion Edit

I have not created any users yet, I'm going to create all my users through Powershell. I was wondering if there was an automatic way to create Mandatory profiles, instead of going in the regedit and edit a bunch of stuff for every user seperatly.

3
  • Not sure I understand - you've already created the .man profiles and need a way to automatically assign them to the users in the Guests OU? Or you need to automate the creation of the actual profile file? Apr 27, 2015 at 15:48
  • Not sure what you've looked at so far, but you would probably need to create the first profile by hand, then you should be able to use that, and Group Policy to handle the others. If you put the default profile on a Server, you should be able to assign it to the ADUser Object with PowerShell.
    – mortenya
    Apr 27, 2015 at 16:14
  • No, I have not created anything yet. I just need 20+ Mandatory profiles. I'm looking for a way to create these profiles automaticly, and not just by going into regedit and change a bunch of stuff. I don't care how I need to do it, I was asking if there was an automatic way instead of a manual one Apr 27, 2015 at 21:33

1 Answer 1

1

You can deploy powershell profiles using group policy:
1. Prepare the profile.ps1 file
2. Copy it to a shared folder
3. then go to group policy --> User Configuration --> Preferences --> Windows Settings --> Files
see this Technet Blog entry for more details

2
  • 1
    I think this question is dealing with actual User Profiles, not the PowerShell $profile.
    – mortenya
    Apr 27, 2015 at 16:10
  • Yes, wat mortenya says Apr 27, 2015 at 21:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .