Solved

Windows 2003 R2 Server NTFS duplicate folders

Posted on 2013-06-18
10
514 Views
Last Modified: 2013-06-24
My client has a Windows 2003 R2 server with a share.  They accessed the server with a Windows 7 Pro workstation and attempted to add files (during an install) to the share.  Afterwards they had the original share and a new folder with the added content only.  The new folder has the name of the original shared folder PLUS a space on the end.

Attempts to change the names of the original or the new folder, or copy the original or new folder contents result in bizarre changes, including the contents of the folders exchanging, errors claiming the disk cannot be accessed, etc.

Chkdsk does not appear to be able to see the problem, and returns no errors.
0
Comment
Question by:VB6chuck
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 69

Expert Comment

by:Merete
ID: 39258337
Try safe mode
sounds as if windows explorer libraries has hooked into it.
Logged in as the default administrator so that you are outside the user accounts that own these
0
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 39258408
command prompt ren  / rename command is your friend

ren  abc? def  should fix it, just choose a unique replacement string then you can use explorer to copy over/back
0
 
LVL 13

Expert Comment

by:rhinoceros
ID: 39258815
You mean copy one of shared folder (w/ same permission) and change to new folder name for sharing, rite?
0
 

Author Comment

by:VB6chuck
ID: 39260761
1. Try doing what in safe mode?
2. I was able to rename with explorer, got FOLDER_ renamed to FOLDERx. But contents shifted back and forth as described, so just renameing it didn't fix the whole problem.
3. Not sure.  Goal is to have original share working and accessable from workstations, not to have workstations accessing the share creating new folders with similar names.
0
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 39260900
what do you mean contents shifted back and forth?

I'm curious as to what is actually going on and why myself, since thousands if not more servers don't have this problem.  I'd be really examining the computer that is causing the problem very closely.. I might go as far as doing a clean install and adding things until the problem re-occurs to find the offending piece of software.. The client has been recently scanned for malware using malware bytes and checked for any virii?
0
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

 
LVL 69

Expert Comment

by:Merete
ID: 39261180
Lets go through what you wrote
They accessed the server with a Windows 7 Pro workstation and attempted to add files (during an install) to the share.  
Please explain what you meant by during an install?
Installing what?

Afterwards they had the original share and a new folder with the added content only.  
The new folder has the name of the original shared folder PLUS a space on the end.

If windows was installing all folders would be locked then any access has created a temp.
You might have to change the permissions / sharing on all folders to get rid of the new shared folder.

My suggestion of safemode was to use it since safemode is a diagnostic version of windows freeing up access to files that were otherwise locked by explorer.
Log in to safemode or open safemode and then try and copy out these files to the share and delete this new  shared folder
Another way to get round explorer, I have used the task manager, stopped explorer( no desktop)
then using the File>new task(run) browse to this folder and rename it.
Either way from I understand windows has created this folder and cannot release it's hold on it.
So you need to go outside of windows explorer.
Safemode.
Boot into windows though a Ubuntu Live Disc, gets you in thgere without windows running.
Here's a couple of guides take a look through them
http://www.howtogeek.com/howto/31804/the-10-cleverest-ways-to-use-linux-to-fix-your-windows-pc/
http://www.pcworld.com/article/249870/create_a_bootable_linux_flash_drive_in_three_easy_steps.html
0
 

Author Comment

by:VB6chuck
ID: 39264784
During an install of accounting software.  So an install program was running, attempting to copy files into the share.  Somehow instead of going into the share they went into a new folder with the same name+a space.  

All of the observed strangeness was with windows explorer, where at times the new or old folder would be linked to either the old folder contents, or the new folder contents.  At other times files and folders would be displayed in the old or new folder, and then attempts to do things like renaming a file would bring up a "cannot read disk" error.  Some of these errors suggested replacing the removed disk to restore access.  

I've used usb bootable linux in the past to repair various things and it worked quite well.

The client in question has contacted their hardware supplier to pursue this, so I will be a watcher from here on.  I was hoping this was a known problem, as in the "Oh it's the Win7 server 2003 R2 problem again", what you need to do is . . .

I agree with the Safe Mode approach, but am surprised chkdsk found NOTHING.  
Are there any tools which look clearly into the workings of an NTSF disk?  I would have thought something like this might be useful.

I'm leaving this open at the moment in case the client comes back with what the ultimate solution was.

Thanks,

Chuck
0
 
LVL 69

Expert Comment

by:Merete
ID: 39264818
Hi Chuck, the question that needs to clarified here in my humble opinion
Why is it recommended not access folders during installing a new program/software?
As you said>> So an install program was running, attempting to copy files into the share.  
Somehow instead of going into the share they went into a new folder with the same name+a space.  << so this share was open and being added to by a user?
Then windows may not have had exclusive rights and
because if the install is over riding/replacing /adding accessing/ copying to any files in that folder it
can't update it.
So has created a new separate folder named the same but folder 2.
It the correct way to install something so that any files that are currently in use wont be overwritten.
Especially  >>an install program was running, attempting to copy files into the share.
Why was it copying files to a share folder?
A shared folder is just a library link from another source another User account?
who owns the shared folder?
Unless you use the public folder exclusively and copy the files to that folder.
Establishing File & Folder Level Permissions: Windows 7
http://www.uwec.edu/Help/drives/permissions.htm#advance

How to delete files and folders that cannot be deleted?
http://superuser.com/questions/229563/how-to-delete-files-and-folders-that-cannot-be-deleted

Advanced Installer User Guide
How do I install files in a custom folder?
http://www.advancedinstaller.com/user-guide/qa-custom-folder.html
0
 

Author Comment

by:VB6chuck
ID: 39269401
You're suggesting that Windows created the 2nd folder to resolve a conflict created by the installer?

I will have to check with the installer to see what precautions she was taking to insure that users were not present, and also to see what rights she had and who owned the share on the server.

Interesting . . .

I'll let you know.

Thanks,

Chuck
0
 
LVL 69

Accepted Solution

by:
Merete earned 500 total points
ID: 39269437
No not like that, I am suggesting windows couldn't access the folder it was copying files from/to  as it was in use and so created  new one.
regards Merete
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now