Nik
asked on
How to completely delete a profile on Windows Server 2008
We are using Citrix XenApp v5.5 environment which is installed on Windows Server 2008 x86 servers.
One of our applications won't map printers, although the problem is fixed once we delete the user profile on the server.
Now, I know that the proper way to delete the user profile is to use Advanced System Settings and delete profiles from there, but I need a script that would completely delete all user profiles on the server.
Can someone help?
Thanks!
One of our applications won't map printers, although the problem is fixed once we delete the user profile on the server.
Now, I know that the proper way to delete the user profile is to use Advanced System Settings and delete profiles from there, but I need a script that would completely delete all user profiles on the server.
Can someone help?
Thanks!
Forgot about the utility "delprof.exe". Use delprof.exe on the resource cd.
delprof /Q will do.
-Sunil
delprof /Q will do.
-Sunil
ASKER
This works for Windows Server 2003, but will not completely deleter profiles on Windows Server 2008
For Windows 2008, You will need a clean local profile stored on the server in the users folder(default location) and also from [HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows NT\CurrentVersion\ProfileL ist]. Delete the sid that are failing.
-Sunil
-Sunil
Sorry typo - **You will need to clean **
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have found the solution myself.
We are experiencing the same problem regrading Windows 2008 profiles. Do you mind sharing your script?
ASKER
Hi there calvinnghe,
I've just posted it on my web site. Hopefully it will help.
http://www.wincert.net/tips/windows-server/2285-how-to-completely-delete-a-windows-server-2008-profile-with-script.html
Regards,
Nik
I've just posted it on my web site. Hopefully it will help.
http://www.wincert.net/tips/windows-server/2285-how-to-completely-delete-a-windows-server-2008-profile-with-script.html
Regards,
Nik
There are different options.. using tools or using scripts. Check the following:
scripts:
1) http://www.theshonkproject.com/index.php?option=com_content&task=view&id=50&Itemid=1
2) http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=161775&site_id=1#import
GPO n other tools:
1) The policy setting is at Computer Configuration->Administrat
User Profile Hive Cleanup:
http://www.microsoft.com/downloads/d...DisplayLang=en
-Sunil