Solved

Windows Server 2008 R2 locking files saved to it via UNC.

Posted on 2010-08-16
2
1,363 Views
Last Modified: 2012-05-10
Server A is a Windows 2008 R2 machine and server B is Windows 2003 R2 with Crystal Enterprise.
I have setup a job in Crystal on server B to run every night and leave a report output file on a server A share. The next day when I look at the server A share I cannot access the file, when I try it crashes explorer. I cannot even look at the properties of the file.
If I open up my computer and UNC to the server A share and create a file, I can open it from the server with no problem.
OK, so I setup a batch file on server B to copy the file from a folder instead of directly out of Crystal, I still have the same issue. The file copies fine but I cannot access the file it crashes explorer. The file is a 600KB txt file nothing special.
 It seems like there is a file lock of some kind. If I restart the server I can access the file fine. If I change the setup to save to a Windows 2003 server everything works fine with an issue.

What my question is, what in Windows 2008 R2 could be locking this file?
0
Comment
Question by:sjacobi
[X]
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
2 Comments
 
LVL 4

Accepted Solution

by:
sivanov earned 500 total points
ID: 33445439
HI there, please go to the MS site and get the tool Handle.exe :
http://technet.microsoft.com/en-us/sysinternals/bb896655.aspx

Run the tool agains the name of the file , you will get ouput of all processes wihch keep handles of this file.
the usual suspected is the antivirus app.
good test will be to boot the server A in safemode with netwrok , and repeat the repro - are u able to access the file now?
hope this will help reveal the problem
0
 

Author Closing Comment

by:sjacobi
ID: 33484699
I was able to find what was locking the file, Thank you.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

730 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