Restrict guest users one app windows 10.1280x600

Local User Management

Create, Delete or Modify local users.

Description

This is a suite of agent procedure to create or delete local users, as well as add local users to local groups.
When creating the user accounts, ensure the password follows the complexity rules.
In the procedure that does not prompt for a username a password, you will need to edit the two GetVariables commands (Lines 2 and 3) with the correct username and password to set.

Developer
  • Name: Douglas Sanchez
  • Company: Kaseya
  • Website: http://www.kaseya.com
  • Contact Developer
  • Summary
  • Local User Management
  • 711 Downloads
  • Version:
  • Released on May 23rd, 2018
  • Reviews

    Local User Management has no reviews.

    Discussion
    Gravatar for Jon Anderson
    Jon Anderson over 2 years ago

    I have a client with 3 computers in a workgroup. Will this allow me to set up local admin credentials on these computers? 

    Gravatar for Douglas Sanchez
    Douglas Sanchez over 2 years ago

    @Jon, Yes it should. You need to make sure to add the users you create to the Administrator group. 

    Gravatar for Jon Anderson
    Jon Anderson over 2 years ago

    thanks! I'll give it a try.

    Gravatar for Todd McCullough
    Todd McCullough about 1 year ago

    I've used this to add domain users on DCs, but can't seem to figure out how to add a domain user AND add to domain admins. That doable with this procedure? If not, any tips? Thx.

    Gravatar for Tarik
    Tarik 5 months ago

    We are looking for a best way to lock the machine when the user gets offboarded.

    I wonder if we can perform this one from Kaseya,by locking the machine using Bitcloker.If yes please feel free to advise us on this one.


    Gravatar for Mike DeArmond
    Mike DeArmond 5 months ago

    @Tarik

    What I do to secure a machine during off boarding is to run a script that first blocks USB drives, then disables all user accounts and then reboots the machine. 

    Gravatar for Tarik
    Tarik 5 months ago

    Hi @mike 
    Thank you so much for your feedback.

    can you please share the script if possible ?taking on consideration that our machines enrolled into intune and Jamf.

    Gravatar for Mike DeArmond
    Mike DeArmond 5 months ago

    There is no attachment tool =(

    Gravatar for Tarik
    Tarik 5 months ago

    Its will be so appreciated if you can use the hyperlink option ^^

    Gravatar for Mike DeArmond
    Mike DeArmond 5 months ago

    Give me an email address to share a drop box link

    Gravatar for Tarik
    Tarik 5 months ago

    here my email address :  aithililout@tripactions.com

    Thank you so much.

    Gravatar for Mike DeArmond
    Mike DeArmond 5 months ago

    Just sent!

    Gravatar for mark
    mark 3 months ago

    How can this be executed without writing credentials to the local agentmon.log

    Gravatar for Brent Jones
    Brent Jones 3 months ago

    Mark - i've asked the same question before and was told the only way is thru a powershell script (or another language) that runs from a file passed to the local machine, invoked, then deleted after use. There just isn't a way to turn off the agent logging.  If someone has a powershell script that works well for them, I'd be greatful if you posted here.

    Gravatar for Heath Perrine
    Heath Perrine 2 months ago

    Anyone have any additional insight as this would be great to have given everyone is currently working from home.

    Gravatar for Mike DeArmond
    Mike DeArmond 2 months ago

    Heath Perrine what are you looking for specifically?

    Gravatar for Heath Perrine
    Heath Perrine 2 months ago

    We are looking to run a procedure against laptops where we have a terminated employee that still has one of our laptops.  We would like to lock them out/disable all accounts on the machine and shut it down.

    I have run into a few issues trying to lock out all local accounts manually through cmd and was hoping someone had a procedure that they would be willing to share.

    We want to retain the data within the profile as well.

    Thank you in advance!

    Gravatar for Mike DeArmond
    Mike DeArmond 2 months ago

    If you give me an email address I will add you to a drop box share where I have a procedure that Blocks USB drives, Disables all local accounts then reboots the machine. 

    Gravatar for Oscar Carmona
    Oscar Carmona 2 months ago

    @Mike can you send me that to ocarmona@gctech.com pls :) 

    Gravatar for Mike DeArmond
    Mike DeArmond 2 months ago

    Yes give me a bit I have to export those

    Gravatar for M. Janssen
    M. Janssen 2 months ago

    @Mike can you send that to janssen@ilc-europe.nl too pls :) 

    Gravatar for Andrew Streetman
    Andrew Streetman 2 months ago

    Mike, thanks for the offer! 

    Info@vysiontech.com

    Gravatar for Colin Edwards
    Colin Edwards 2 months ago

    Please send to colin.edwards@intapp.com 

    Appreciated

    Gravatar for Mike DeArmond
    Mike DeArmond 2 months ago

    @Oscar just shared them =)

    Gravatar for Mike Brouillette
    Mike Brouillette 2 months ago

    Mike...sounds like a very useful script.  If you could include me, that would be great.  flhxse.mike@gmail.com

    Gravatar for Mike DeArmond
    Mike DeArmond 2 months ago

    @Mike Brouillette @ M Janssen I should have gotten both of you now =)

    Gravatar for Mike DeArmond
    Mike DeArmond 2 months ago

    @Mike Brouillette @ M Janssen I should have gotten both of you now =)

    Gravatar for M. Janssen
    M. Janssen 2 months ago

    Yes...already imported. Browsing through the procedure now! Tnx!

    Gravatar for Mike DeArmond
    Mike DeArmond 2 months ago

    @Colin, @Andrew Just got you folks too! 

    Gravatar for Heath Perrine
    Heath Perrine 2 months ago

    Mike are you able to send over to me as well hperrine@worldsynergy.com

    Gravatar for Mike DeArmond
    Mike DeArmond 2 months ago

    @Heath got you! 

    Gravatar for Nathan Nakao
    Nathan Nakao 2 months ago

    please send to nnakao@sms4it.com.  Thanks!

    Gravatar for Mike DeArmond
    Mike DeArmond 2 months ago

    @Nathan got you =)

    Gravatar for Heath Perrine
    Heath Perrine 2 months ago

    MIKE!  THANK YOU!!!!!!!! LIFE SAVER!!!!!

    Gravatar for Tim inman
    Tim inman 2 months ago

    Please can i get a link as well Mike,, much appreciated. Tim

    Gravatar for Tim inman
    Tim inman 2 months ago

    Please can i get a link as well Mike,, much appreciated. Tim

    Gravatar for Preetesh Patel
    Preetesh Patel 2 months ago

    Could I get a link too please. my email is preetesh@vaidcorp.com. that script is exactly what I have been trying to setup.


    Thanks, Preetesh


    Gravatar for Mike DeArmond
    Mike DeArmond 2 months ago

    @Heath Awesome thank you for the kind words! @Tim Inman Sure thing just leave me an email address I can share it with. 

    Gravatar for Mike DeArmond
    Mike DeArmond 2 months ago

    @Preetesh Done =)

    Gravatar for Heath Perrine
    Heath Perrine 2 months ago

    Mike, you started a firestorm of what people have been looking for!

    Gravatar for Vlad
    Vlad 2 months ago

    @Mike Can I also get the link? much appreciated!

    vsk@duostech.com

    Gravatar for Mike DeArmond
    Mike DeArmond 2 months ago

    Apparently! Makes me happy I had this available! 

    Gravatar for Nathan Nakao
    Nathan Nakao 2 months ago

    @Mike, you are a Gentleman & a Scholar.  Mahaloz.

    Gravatar for Tim inman
    Tim inman 2 months ago

    sorry, friday.... tim@massador.co.za - many thanks Mike

    Gravatar for Brent Jones
    Brent Jones 2 months ago

    @Mike - would you please send to bjones@calamp.com as well? I've got a script similar to yours except that mine doesn't disable all local users, and i'd appreciate seeing your logic for dynamically disabling them. Thank you in advance. -Brent

    Gravatar for Ryan
    Ryan 2 months ago

    @MIke I would appreciate it aswell.


    rshultz@mcml.us

    Gravatar for Datalyst
    Datalyst 2 months ago

    @Mike.  Link request as well.  danm@datalyst.net

    Gravatar for Juan Sanchez
    Juan Sanchez 2 months ago

    If you guys can also add me , Love this tool. thanks email is juan@trustechs.com

    Gravatar for Heath Perrine
    Heath Perrine 2 months ago

    Most collaboration I have seen on exchange so far!  This is great!

    Gravatar for Cees
    Cees 2 months ago

    Hi Mike, i'm interested too, thank you. cees.o@avantage.nl

    Gravatar for Jeff Shields
    Jeff Shields 2 months ago

    @Mike, Could you send to me as well? jshields@ndivision.com

    Gravatar for Rick Rocha
    Rick Rocha 2 months ago

    @mike please add me as well  rrrocha@lanairgroup.com

    Gravatar for Mike Z
    Mike Z 2 months ago

    I would love to get this tool as well mzayti@watech.com

    Maybe submit it to the exchange formally?

    Gravatar for Ben Moghadas
    Ben Moghadas 2 months ago

    @Mike me too, thank you. ben@enviotech.com

    Gravatar for Mike DeArmond
    Mike DeArmond 2 months ago

    Ok I think I got every one so far!  Can someone write me a script to pull email address off a webpage and paste them into my drop box? =P

    Gravatar for Jeff Flischel
    Jeff Flischel 2 months ago

    @ Mike, could you include us... support@riversde.tech.    Curious how it might handle cached domain accounts? 

    Gravatar for Darren Sargent
    Darren Sargent 2 months ago

    If it’s not too much trouble, can you kindly send a link to support@riverside.tech?

    Many thanks!

    Gravatar for Shane Cupps
    Shane Cupps 2 months ago

    scupps@gmail.com too please. Much appreciated!

    Gravatar for Juan Sanchez
    Juan Sanchez 2 months ago

    Got it thanks alot.

    Gravatar for Juan Sanchez
    Juan Sanchez 2 months ago

    Got it thanks alot.

    Gravatar for Mike DeArmond
    Mike DeArmond 2 months ago

    @Jeff Flischel its only affecting local accounts you would have to write a different version to target domain accounts

    Gravatar for Mike DeArmond
    Mike DeArmond 2 months ago

    And I again think I got all the new requests so far. 

    Gravatar for Jake Nichols
    Jake Nichols 2 months ago

    @Mike DeArmond 
    Could this just be uploaded to the exchange so our inboxes aren't getting blown up by this? 

    Gravatar for Mike DeArmond
    Mike DeArmond 2 months ago

    @Jake Yeah that is the better Idea

    Gravatar for Edwin
    Edwin 2 months ago

    @Mike - I would love a link to this procedure as well - sthwk@outlook.com


    If you are able to upload it to the exchange I think it would be incredibly useful. I would be happy to give you 5 stars. Either way, if you are able to send this to me I would really appreciate it!

    Gravatar for Jack Aitken
    Jack Aitken 2 months ago

    Mike if you could send it to me as well, I would appreciate it.  jwaitken@gmail.com

    Many thanks for taking the time and effort so send this to so many people.  Much appreciated.

    Gravatar for james
    james 2 months ago

    Hi Mike, I would love to get in on this action!  james@pcnetak.com

    Gravatar for Keith McLaren
    Keith McLaren 2 months ago

    I would be interested as well.  kmclaren@capstanservices.com.

    Gravatar for Vlad
    Vlad 2 months ago

    can i get in on this also? vbukhta@thinkingtoolsllc.com

    Gravatar for Mike Kinsella
    Mike Kinsella 2 months ago

    Hello Mike, your script sounds really useful and I would love to take a look at it as well. Thank you! it@evidenceaction.org

    Gravatar for Jayson Truong
    Jayson Truong 2 months ago

    Hello Mike.  I would love the script too.  jtruong@customtechsolutionsinc.com.  Thanks in advance.

    Gravatar for Jayson Truong
    Jayson Truong 2 months ago

    @Mike DeArmond.  I received the script.  Thank you!


    Gravatar for Michael Niederer
    Michael Niederer 2 months ago

    @Mike DeArmond, would love to get your script sounds like a solution. michael.niederer@tumu.co.nz


    Gravatar for Electroville
    Electroville 2 months ago

    Hello Mike,  This script souns perfect.  I recentley had to try and disable accounts on a laptop not returned, but could not manage to get the script to work.  Please could you send it to me, technician@electroville.org.uk

    Gravatar for Adam
    Adam 2 months ago

    @MIKE, please send to fussfreeit@outlook.com.

    Gravatar for Brett
    Brett 2 months ago

    Hi Mike, Sounds awesome.. Just the job.. Can you drop me a copy at support@inology.co.uk  -  Thanks In advance.!! :)

    Gravatar for Rick Rocha
    Rick Rocha about 2 months ago

    @mike please add me as well  rrocha@lanairgroup.com  Sorry, my first request had an extra R in it.