Deleting Old Roaming Profiles from Windows 2000 Server

Posted on 2003-04-01
Medium Priority
Last Modified: 2010-04-13

I am running Windows 2000 server as a domain controler. There are quite a few users and computers on the network and each user has a roaming profile. The profile path is \\server\profiles\%username%

Recently i have created and removed a few test accouns. When the account is removed from the active directory the profile folder is not deleted from the server. When i try and remove the file it wolt allow me access - even though im the administrator. I then tried to take ownership of the folder and delete it then, which sometimes works. There are a few profile folders that wont delete, and show no error message, and some say 'ntuser.pol... access denied...'. I have tried restarting, checking for read only, and cant seem to delete these folders!

I really like my systems to be neat, and these old profiles are really annoying me. Also, if i remove a user and then create them again (with the same username) in an attempt to clean their personal profile, it messes things up because the folder is allready there.

Any help would be great!


Tim Alston
Gamalan Media Group
Question by:Backflipping
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3

Expert Comment

ID: 8246877
How do you have rights set at the profiles level, I would advise setting them as indicated in this KB: http://support.microsoft.com/default.aspx?scid=kb;en-us;288991
As far as removing those latent folders, check the security on them again and make sure there is not an old sid associated with them.  Sometimes you have to drill down a few levels and delete the files and folders individualy until you find the culprit.  You may also have more luck from a command prompt, use dir /x to find the 8.3 name for files and folders.
LVL 12

Expert Comment

ID: 8248593
On the w2k servers desktop:

1. RightClick My Computer
2. Choose Manage
3. Choose Shared Folders
4. Choose Open Files
5. Find your roaming profiles folder
6. RightClick
7. Close Open File

Many Regards

Jorgen Malmgren

:o) Your brain is like a parachute. It works best when it's open

Expert Comment

ID: 8249078
Hey Jorgen, been there and done that.  Tey don't always show up there.  It's a function of Windows Exploder..oopps I meant to say Windows Explorer.
Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.


Author Comment

ID: 8251965
No, they are not showing up there.
As i said, ive iven tried restarting and still it wont allow me to delete the .pol file.


Author Comment

ID: 8251982
Ive found some template files inside the profiles that i cant delete either. Ive tried to remove any old secuirty sids and just add myself with full r/w but still no luck.
the files cant be open because ive renamed the folder they are in (to profiles2) and rebooted!!!


Accepted Solution

MSGeek earned 860 total points
ID: 8253017
When you set your rights click on the advanced button, check noth boxes at the bottom.  Also highlight adminsitrator and edit to make sure all rights are included (It gets a little more granular here), make sure the applies to is set to this folder, subfolders and files.  Then apply.

Author Comment

ID: 8260109
Yay! Ive removed them at last.
You were basically right, i had to make it reset the clild rights, and not keep the parent rights, and then ensure i had full rights. But maybe not in that order? :-)
Thanks a lot!

Tim Alston
Gamalan Media Group

Expert Comment

ID: 8261163
Tim, glad I could help.  Thanks, MSGeek.

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Hey fellow admins! This time, I have a little fairy tale for you. As many tales do, it starts boring and then gets pretty gory. I hope you like it. TL;DR: It is about an important security matter, you should read it if you run or administer Windows …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question