Delprof script in Active Directory

160 pts.
Tags:
Active Directory
delprof
Scripting
Windows Server 2003 SP2
Windows XP SP2
Hi has anyone got a good working script for delprof to run on remote computers in a domain?

I want to be able to put this script into a specified OU in active directory so that only the PC's in that OU get delprofed!

any help apricated!

Thanks

Phil Croxford



Software/Hardware used:
windows server 2003 sp2, windows xp professional sp3

Answer Wiki

Thanks. We'll let you know when a new response is added.

I recommending run with admin privileges on the local computer when the computer starts up and authenticates to the domain. It is necessary to grant permissions to delprof.exe to the group i.e. domain computers.
Remember that the batch file will run every time the computer starts.
Not so hard, but a simple way to create a batch that runs delprof.exe remotely for all computers in an OU as: delprof /q /i /p /c:\\<computername / ip>
When it is prompted to confirm the deletion of each profile, u just press Y to confirm.
The next is here from <a href=”http://support.microsoft.com/kb/315411″>Microsoft</a>

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following