Activate Local Administrator home directory after activating the account.


Joined
Jun 22, 2021
Messages
1
Reaction score
0
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???
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top