Delete profiles except admin
I've been working with some simple scripts placed on the computers locally to help make thigns easier and more streamlined for the VP's over here.
We have a few guest rooms that have a lot of people logging on with their own accounts. My supervisor would like me to clean up the profiles every month or so (a.k.a. delete them). So everything doesnt get too cluttered.
No problem.
I was wondering if there is a script out there that will delete all profiles EXCEPT the administrator, All Users and Altiris profiles, every 30 days. I have been hunting, but I think it might be too specific, so I am having a tough time finding one...or one similar to it that I can modify.
I dont even know if its possible!
(oh, obviously this would have to run with local admin rights at a certain time)
Can anyone help?
We have a few guest rooms that have a lot of people logging on with their own accounts. My supervisor would like me to clean up the profiles every month or so (a.k.a. delete them). So everything doesnt get too cluttered.
No problem.
I was wondering if there is a script out there that will delete all profiles EXCEPT the administrator, All Users and Altiris profiles, every 30 days. I have been hunting, but I think it might be too specific, so I am having a tough time finding one...or one similar to it that I can modify.
I dont even know if its possible!
(oh, obviously this would have to run with local admin rights at a certain time)
Can anyone help?
0 Comments
[ + ] Show comments
Answers (5)
Please log in to answer
Posted by:
bdog
16 years ago
Posted by:
jackfh
15 years ago
Posted by:
revizor
15 years ago
struggling with the same issue and haven't had any luck. I need a script that will clear out local user profiles on logoff. All the profiles to be deleted start with 'S' and have 8 numbers after that. I played around with delprof without any luck.
I realize it's not quite the same, but have you looked into mandatory profiles - depending on what you're trying to achieve, this may be an alternative to profile deletion, and are pretty simple to work with?
Posted by:
anonymous_9363
15 years ago
Posted by:
jackfh
15 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.