• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Batch File help. Trying to delete specific user profiles.

Azaran

Member
I'm hoping someone can help. I'm trying to write a batch file that will allow me to do at least one thing, if not two.

1. Delete all the user profiles on a computer except for 3 specific profiles: Administrator, All Users, and Novell ZENWorks. All folders that need to be deleted reside in C:\Documents and Settings

2. Delete a specific printer. There should only be one printer on the computer for the room. Quickbooks when it updates (or a user updates it) creates a new printer and assigns it the default. This confuses the users to no end and makes my life difficult since most don't have rights to change it.

The situation is I work in a computer lab at a school. Many many students log in and the admins want me to clean out each computer. With 30 computers per lab and 5 labs on the floor this gets old pretty quick. I don't know why there isn't something setup to do this already, I've just learned to not poke the bear with a sharp stick by asking.

The primary concern is issue 1. While issue 2 is annoying, its limited to one room and is easily delt with.

Can anyone help? To say I lack programing skills would be kind. I know my strengths and this is not it.
 
Back
Top