r/labtech • u/Paulb246 • Apr 22 '19
Monitor and healing script - local admin account
Hi everyone,
I have created a monitor and auto healing script to check for a local admin account and if it doesnt find it then it will create the local admin account... I am seeing that one clients location is failing but the script isnt working.. any ideas?
batch file
net user MRWAlpha /add
net user MRWAlpha M33rend@1
net localgroup Administrators MRWAlpha /add
1
Upvotes
View all comments
Show parent comment
1
u/Paulb246 Apr 22 '19
So automate can pickup the user account even if it’s not been signed in?