REM = Simple User Profile removal script. He mentioned that NET user /delete should work but for some reason it does not remove everything so cobbled together this batch.Īs noted in the comments it must be ran as Administrator or it won't clear the registry OFF The only real bit i understand is the SET UserToRemove="" and have just edited that to be defaultuser0, the rest is as it was written. If any batch guru can edit this script so it can be used in either oobe.cmd or setupcomplete.cmd stages so that it can be fully 'automatic' would be much appreciated. The beauty of this little gem is that it will remove the dreaded defaultuser0, as i am not very good with batch or any program writing he added a few comments within to help me try to understand how it all worked - I'm still lost lol. It was written for Windows 7 & 8.x, but also works on W10 too :) - he based it on another script and he has credited the website within the REM statements that he used to base this on. A good friend of mine who sadly is no longer with us (RIP Alan), put together a simple script for me to remove a single user from a computer completely.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |