Create, Delete or Modify local users.
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.
Local User Management has no reviews.
@Jon, Yes it should. You need to make sure to add the users you create to the Administrator group.
thanks! I'll give it a try.
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.
We are looking for a best way to lock the machine when the user gets offboarded.
@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.
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.
There is no attachment tool =(
Its will be so appreciated if you can use the hyperlink option ^^
Give me an email address to share a drop box link
here my email address : aithililout@tripactions.com
Thank you so much.
Just sent!
How can this be executed without writing credentials to the local agentmon.log
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.
Anyone have any additional insight as this would be great to have given everyone is currently working from home.
Heath Perrine what are you looking for specifically?
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!
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.
@Mike can you send me that to ocarmona@gctech.com pls :)
Yes give me a bit I have to export those
@Mike can you send that to janssen@ilc-europe.nl too pls :)
Mike, thanks for the offer!
Info@vysiontech.com
Please send to colin.edwards@intapp.com
Appreciated
@Oscar just shared them =)
Mike...sounds like a very useful script. If you could include me, that would be great. flhxse.mike@gmail.com
@Mike Brouillette @ M Janssen I should have gotten both of you now =)
@Mike Brouillette @ M Janssen I should have gotten both of you now =)
Yes...already imported. Browsing through the procedure now! Tnx!
@Colin, @Andrew Just got you folks too!
Mike are you able to send over to me as well hperrine@worldsynergy.com
@Heath got you!
please send to nnakao@sms4it.com. Thanks!
@Nathan got you =)
MIKE! THANK YOU!!!!!!!! LIFE SAVER!!!!!
Please can i get a link as well Mike,, much appreciated. Tim
Please can i get a link as well Mike,, much appreciated. Tim
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
@Heath Awesome thank you for the kind words! @Tim Inman Sure thing just leave me an email address I can share it with.
@Preetesh Done =)
Mike, you started a firestorm of what people have been looking for!
@Mike Can I also get the link? much appreciated!
vsk@duostech.com
Apparently! Makes me happy I had this available!
@Mike, you are a Gentleman & a Scholar. Mahaloz.
sorry, friday.... tim@massador.co.za - many thanks Mike
@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
@MIke I would appreciate it aswell.
rshultz@mcml.us
@Mike. Link request as well. danm@datalyst.net
If you guys can also add me , Love this tool. thanks email is juan@trustechs.com
Most collaboration I have seen on exchange so far! This is great!
Hi Mike, i'm interested too, thank you. cees.o@avantage.nl
@Mike, Could you send to me as well? jshields@ndivision.com
@mike please add me as well rrrocha@lanairgroup.com
I would love to get this tool as well mzayti@watech.com
Maybe submit it to the exchange formally?
@Mike me too, thank you. ben@enviotech.com
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
@ Mike, could you include us... support@riversde.tech. Curious how it might handle cached domain accounts?
If it’s not too much trouble, can you kindly send a link to support@riverside.tech?
Many thanks!
scupps@gmail.com too please. Much appreciated!
Got it thanks alot.
Got it thanks alot.
@Jeff Flischel its only affecting local accounts you would have to write a different version to target domain accounts
And I again think I got all the new requests so far.
@Mike DeArmond
Could this just be uploaded to the exchange so our inboxes aren't getting blown up by this?
@Jake Yeah that is the better Idea
@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!
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.
Hi Mike, I would love to get in on this action! james@pcnetak.com
I would be interested as well. kmclaren@capstanservices.com.
can i get in on this also? vbukhta@thinkingtoolsllc.com
Hello Mike, your script sounds really useful and I would love to take a look at it as well. Thank you! it@evidenceaction.org
Hello Mike. I would love the script too. jtruong@customtechsolutionsinc.com. Thanks in advance.
@Mike DeArmond. I received the script. Thank you!
@Mike DeArmond, would love to get your script sounds like a solution. michael.niederer@tumu.co.nz
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
@MIKE, please send to fussfreeit@outlook.com.
Hi Mike, Sounds awesome.. Just the job.. Can you drop me a copy at support@inology.co.uk - Thanks In advance.!! :)
@mike please add me as well rrocha@lanairgroup.com Sorry, my first request had an extra R in it.
I have a client with 3 computers in a workgroup. Will this allow me to set up local admin credentials on these computers?