Kaseya Community

Locking down a user

  • Due to some Security concerns I am looking for a way to lock down a users workstation, this includes changing the user account he uses to log in to a restricted user from an administrative user. Has anyone created any scripts that can do this? this is a laptop that was on a domain, but no longer connects to the domain. I am in the process of Googleing for an answer, but I thought I would check here and see if anybody had any suggestions.

    edit: this is a laptop that is only on periodically, remote control is not a possiblity, scripting this would be preferential as it comes on sporadically. (sometimes at 2am, sometimes at noon)

    Legacy Forum Name: Locking down a user,
    Legacy Posted By Username: andrew.jenkins@ispire.ca
  • Should be able to perform this using the NET GROUP command.

    Create a script to do the following from the command line...

    NET GROUP Administrators /DELETE

    He should be in the Users group by default... If not you could always do this as well:

    NET GROUP Users /ADD

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: Charles.IN
  • I don't think that Net Group will work, I just tried running it on my laptop and another computer here, I am getting the following error:

    This command can be used only on a Windows Domain Controller.
    More help is available by typing NET HELPMSG 3515.

    unfortunately I think that this might not work.

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: andrew.jenkins@ispire.ca
  • the command you need it us is as followed

    NET LOCALGROUP Administrators "domainname\username" /DELETE

    I have used this on XP workstations so I know it does work.

    I think doing "LOCALGROUP" is the key, doing just "GROUP" may have been trying to affect a DOMAIN group, just a guess.

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: jasonb
  • yep localgroup does it, thanks Smile

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: andrew.jenkins@ispire.ca
  • Ahhhh my bad Smile

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: Charles.IN