I have nearly 140 endpoints that need to have the local admin account activated in order to run a site network assessment. The issue being the client doesn't want to invest in a server and Active Directory as it should be configured. My issue is not activating the Admin account on all the systems but populating the "C:/Users/Administrator" folder structure without having to manually log in or PowerShell runas.exe and manually type the password.
I understand writing a script using "runas.exe /user:Administrator cmd.exe" requires the password to be type manually for security reasons. Is their another method I could use in my script to active the home dir???
I understand writing a script using "runas.exe /user:Administrator cmd.exe" requires the password to be type manually for security reasons. Is their another method I could use in my script to active the home dir???