How do I delete a random NtFrs_PreInstall_Directory that is in use?

On one of our AD servers (Server 2003), we house our company Public directory.  We have a folder that was filled with IT utilities that I am trying to move to another server.  Everything moved except a single subfolder called Test with no files or hidden files that I can see.

When I try to delete the folder, I get the message "Cannot delete DO_NOT_REMOVE_NtFrs_PreInstall_Directory: It is being used by another person or program."  That folder should not be in the Public directory.

How do I know it is safe to get rid of and how do I get rid of it?
tjking45Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ragnarok89Commented:
Two things I can think of:

On the server where that folder resides, make sure there are no other users accessing it. You can check in the shared files MMC snap-in.

Second, you might have a process that writes info to this directory, maybe log files o something. Scheduled tasks or some such. Make sure these are closed or pointed elsewhere.

Lastly, there is a GREAT tool I use call Unlocker: http://unlocker.emptyloop.com/ it's sole purpose is to remove file locks so you can move/delete troublesome files/folders.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
snusgubbenCommented:
The "DO_NOT_REMOVE_NtFrs_PreInstall_Directory" is the name of the folder used by FRS to store partial files it pulls from an upstream partner. When the file/folder is transferred complitly from the partner it's moved to the target location in the SYSVOL replica tree.

I guess since you have this folder, this is a DC?

Do you have the folder here: \\domain.com\SYSVOL\domain\DO_NOT_REMOVE_NtFrs_PreInstall_Directory?

If it's present you can try to stop the FRS service, move the folder to a temp folder on the same disk, start FRS. Verify that FRS is running ok (create an empty text file and place it in the sysvol. Is it replicated to its partners?)
0
tjking45Author Commented:
I used ragnarok89's solution before I got to try snusgubben's solution.  I think snusgubben's solution was tailored more to the problem but ragnarok89's suggestion, the Unlocker tool, was a great quick fix.
0
snusgubbenCommented:
Lets just hope this doesn't screw your FRS :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.