It is possible to create a mdt vbscript / batch to build and include the user to a gaggle. Either you utilize the script within the TS that has a command line action or just include an application action (in case you produce an app for this undertaking)
That’s it. Following point you can do is including users to a particular user group by using a command similar to this and increase this on the undertaking sequence likewise:
Disclaimer: The views and views expressed On this weblog are those with the writer and do not automatically replicate the Formal policy or placement of the my Employer.
But we also have to have to be able to include a different local admin, for the reason that disable the default Administrator (Using the developed-in action).
For the reason that SCCM is greater than probable managing with network admin qualifications during imaging, I wouldn't see a cause that Web creds would want equipped. Just substitute the C:Home windowsfilename.txt path that has a UNC of your deciding upon.
Sad to say a completely new requirement has arisen that needs the default admin account to remain disabled in addition to a independent account created and including into the Administrators group.
So in addition to the aforementioned Web user command I extra a wmic command that sets the password to by no means expire:
Which means that you are able to include a local user and after that make them a local administrator all within the SCCM OSD task sequence.
Permalink Fantastic article! I'm trapped on hoping insertcreate a shortcut for IE11 on the desktop as part of the MDT imaging system. Is there a method to in order that? This really is for WIN10 1709.
Permalink Not sure, I have not performed any get the job done With all the provisioning package deal nonetheless. If you are doing get it Doing the job, I might have an interest to hear your outcomes.
This is often just how to include an previously produced local user account in to the local administrator team, not developing the local user. In order to generate the local user likewise, try this:
png and see if that works. You'll need to make use of that to replace all of the user-X.png data files, but I might believe it will operate Okay.
I have discovered that using the Powershell Script higher than to RemoveDefaultApps inside a SCCM Undertaking website Sequence leaves ghost icons for the deleted default apps on an imaged equipment.
As for this scenario, you'll be able to achieve this. Just have the affiliated Principal user from the equipment from WMI; set it within a TS variable the operate then your Internet localgroup command employing that variable.