Jump to content

Recommended Posts

Posted

Not sure about exclusions in delprof ( I dont think it deletes the admin profile by default if im correct ) Although you can create a vbscript using notepad as per the below example

 

Delete Local Profiles (VBScript)

 

And there is an exceptions list which you can alter the usernames for the exceptions list and it wont delete those profiles with those names

 

If you need more help with the vbscript post back with the administrators profile name and I can add it as an exception in the vbscript which you can then add as a startup script ( via group policy if on a domain ) otherwise shove the script in the startup folder if on a workgroup

  • Thanks 1
Posted
There is a cavat with that. You must be using an up to date version of delprof. I recall the w2k version didn't preserve the all users/administrator folder.
  • Thanks 2
Posted
There is a cavat with that. You must be using an up to date version of delprof. I recall the w2k version didn't preserve the all users/administrator folder.

 

Good to know that - thanks for the update

Posted

The latest version is always on the Server Resource Kit Tools CD. That is the updated version to the one in the Server 2003 Resource Kit Tools. However we're on 2008 Server R2 now as the current version of Windows Server. So ideally, you'd want the one off the Tools CD from that. However, the current version of the Server Resource Kit is not free.

 

Windows Server 2008 Resource Kit | Overstock.com

Posted
No, there's a newer version in the Server 2k8 Resource kit. However the version you have downloaded is the latest you can get for no cost.
  • Thanks 1
  • 1 year later...
Posted (edited)
If I download from this link, it'll be the latest version I hope?

Download details: User Profile Deletion Utility (Delprof.exe)

 

Apparently not...

C:\Program Files\Windows Resource Kits\Tools>delprof /?

Microsoft« Windows« Operating System User Profile Deletion Utility v5.2

® Microsoft Corporation. All rights reserved.

 

This utility deletes Windows NT, Windows 2000, Windows XP and Windows Server 200

3 family user profiles.

 

usage: DELPROF [/Q] [/i] [/P] [/R] [/C:\\] [/D:]

 

/Q Quiet, no confirmation.

/I Ignore errors and continue deleting.

/P Prompts for confirmation before deleting each profile.

/R Delete roaming profile cache only

/C Remote computer name.

 

C:\Program Files\Windows Resource Kits\Tools>delprof /p /c:\\pcnamegoeshere

 

Delete \\pcnamegoeshere\C$\Documents and Settings\Administrator? (Yes/No/All) n

 

C:\Program Files\Windows Resource Kits\Tools>

Edited by kearton
Changed PC name

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...