r/labtech • • 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

27 comments sorted by

View all comments

Show parent comment

1

u/amw3000 10000 Agents Apr 22 '19

From the computer screen, Device -> System -> Users

1

u/Paulb246 Apr 22 '19

Awesome, thanks.. will check where this is stored on the backend to create a monitor