What you'll need:
- psexec
- Elevated privileges
- Allow inbound remote administration on pc you are reaching
Pull up the command prompt. It may be good to double check what users are in the Administrators group first.
C:\> psexec \\2E01-Computer net localgroup AdministratorsNow that you know the user you want to remove, insert the command below
C:\> psexec \\2E01-Computer net localgroup administrators User /deleteThat's it.
Or, if File and Printer sharing is open to your workstation in the firewall, you should be able to open computer management, right click at the top of the tree, choose "connect to another computer" and then you can look at logs and manage users and groups among other things through the GUI. Didn't know if you knew that. -SC
ReplyDeleteRegardless, the psexec commands are always handy to know!
ReplyDeleteYep, Ive done it both ways. The nice thing about psexec is that I can throw all my computer names in a text file and do many at once.
ReplyDeleteBrandon can you share how that was done? Thanks
ReplyDelete