The one caveat is that Windows will not remove a profile that is active and currently loaded in memory - and I considered this to be a good thing. This will not just remove the directories and files, but it will also perform typical profile cleanup work as well. You may wish to backup the files before being deleted. You can backup the folders to keep, remove all folders then finally move the backup folders back to the location, here is an example:. How are we doing? Please help us improve Stack Overflow.
Take our short survey. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 2 years, 10 months ago. Active 2 years, 9 months ago. Viewed 2k times. Please remember to be considerate of other members.
All submitted content is subject to our Terms Of Use. By leif. I'm in the army and I'm currently working on a batch file that would do all the steps to remove a worm that keeps showing up at a training site.. Share Flag. All Answers. Collapse -. Removal instructions:. I know the removal. Thank you 0 Votes. Pretty Noddy question i expect. I need to create a batch file that deletes the contents of a certain folder from the currently logged on users profile It will be from their desktop.
Unsure of the syntax :s. Best Answer. DailyLlama This person is a verified professional. Verify your account to enable IT peers to see that you are a professional. I still cannot create password for the new user account that was created in cmd…. I hate this!!!! I have an issue. I have a laptop that has been used in an onsite network and a mutual vpn. I want to do away with the profile X: since it is controlling the login.
0コメント