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.
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.