@abu.raju said in Add new standard user on windows 10:
@x23piracy I am retentively new to FOG. I would appreciate if you guys show me how to do this using snapin. Thanks all of you!
NOTE: This is not working for me. When I run the file locally, it creates the user account. When I attempt running from FOG it does not. I can get it to do other things, but not create the account.
Ok, here is how I would do it.
First, create a new PowerShell script. Open up PowerShell ISE and copy/paste the following. Replace with your information.
$Name = "TestUser"
$FullName = "Test User"
$Password = "Password123" | ConvertTo-SecureString -AsPlainText -Force
$Description = "A standard user account."
New-LocalUser -Name $Name -FullName $FullName -Password $Password -Description $Description
Save it. Name it whatever you want.
Open your browser. Go to your FOG server page. Click on the Snapins icon, then click Create New Snapin. Fill in the details. Before sure to select the PowerShell option from the Snapin Template. Click the Choose File button to pick your PowerShell script and upload it. Then click the Add button at the bottom (not in screenshot).
After that you’ll need to assign the snapin to your host(s) and when you image it will (by default) run the snapin after deployment.