Script adding Local Admin User Account in OSD Task Sequence

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone welcome back this is Carson cloud first of all please don't forget to subscribe to my channel my channel will cover office 365 Microsoft Azure Active Directory configuration manager or SEM anything related to applications deployment Windows 10 deployment my channel will have all the videos for it or most of the videos so in this video I'm going to show you how to create a local admin account on Windows 10 deployment work stations using configuration manager or test sequence so if I look at my machine here let's go to local users and groups users I don't have a users that I want to add as an administrator so I'm going to use a scrip that I'm going to install using test sequence the script will create a user account and also will be added to the administrator account let's go to configuration manager I'm going to create a test sequence create a sequence click on create a new test ik custom test sequence click Next I'm gonna call this create local admin create look like an account click Next and next let's open it up right-click and go to edit I'm gonna run a PowerShell script to create an account so I'm gonna run a command line I'm gonna call this create local admin and the command line that I want to put in is the PowerShell script I'm gonna paste the script in the descriptions of the video so it's gonna call a PowerShell lot exe what you need to do is you only have to change two places one is the password right here until your own password in this case I'm just gonna make up a password talk loud 99 I'm just gonna call it Carson in 89 cloud exclamation and add sign so that's my password and the Karen it's gonna call cloud admin so I'm gonna copy this and then I'm gonna paste it to the test sequence click on apply click OK now I'm going to deploy it to to my workstation click on deploy all systems next I'm gonna I'm gonna deploy as available next next the next take a default close alright so and if I want to add the command line to my OS detail sequence I'll have to just open up my OS detail sequence I'm just going to add it to under install application I'm gonna add it to here somewhere here run command line at dad and click on add local admin account and then click OK and now let's go to the workstation and run the test sequence surface and this seed have configuration when client manager on this computer oops oh I don't have Configuration Manager client on this computer let's go to my other workstation this one here let's go to Software Center let's go back in to list verify if make sure there's no account it's already added so there is no account there's no cloud admin account here let's open up control panel and enforce the policies machine retrieval policy click ok various now I'm going to run this test sequence install all right look like it has been completed let's go back to the youth local users and groups click on refresh there is there's the account and it should be member of the administrative group that is that's it thank you for watching and have a good day
Info
Channel: Carson Cloud
Views: 6,521
Rating: undefined out of 5
Keywords: Script to add Local Admin User Account in Task Sequence, local admin account, script to create local admin account
Id: 5QdqH7hKPnY
Channel Id: undefined
Length: 7min 50sec (470 seconds)
Published: Thu Feb 07 2019
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.