/build/static/layout/Breadcrumb_cap_w.png

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?

0 Comments   [ + ] Show comments

Answers (5)

Posted by: bdog 16 years ago
Senior Yellow Belt
0
DelProf from MS works well. Might save you the time spent on scripting from scratch.
http://support.microsoft.com/kb/315411
Posted by: jackfh 15 years ago
Orange Belt
0
I'm 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.
Posted by: revizor 15 years ago
Third Degree Blue Belt
0
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: jackfh 15 years ago
Orange Belt
0
Thanks for the input. Mandatory profiles aren't an option, this is an educational environment, everyone has their own login w/ redirection, etc. I know this can't be too difficult but I'm just learning scripting so it's a big challenge for me. Nice post VBScab, I'll try that.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ