Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Offline Files

64 views
Skip to first unread message

Jeffrey S. Sparks

unread,
Feb 12, 2007, 12:09:52 PM2/12/07
to
I keep getting an error when trying to sync offline files. "The process
cannot access the file because it is being used by another process."

I have never been able to get offline files to work in Vista (business
edition) but it worked fine in XP pro? These are just documents from a
variety of different sources. I can see the files and folders listed
offline but can't actually open them offline.
They are stored on a windows 2003 SBS Server.

Any help would be greatly appreciated.

Jeff

Jill Zoeller [MSFT]

unread,
Feb 13, 2007, 12:08:18 PM2/13/07
to
I'm checking on this for you with the Offline Files team.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

Want to learn more about Windows file and storage technologies? Visit our
team blog at http://blogs.technet.com/filecab/default.aspx.


"Jeffrey S. Sparks" <jssp...@bccinfo.com> wrote in message
news:D714FB4D-9328-4B2A...@microsoft.com...

Jill Zoeller [MSFT]

unread,
Feb 14, 2007, 12:03:55 PM2/14/07
to
The error you're seeing is self-explanatory--something is holding the file
open. What file is it?

When you say that you can't actually open files offline, do you get an
error? What happens exactly?

--
This posting is provided "AS IS" with no warranties, and confers no rights.

Want to learn more about Windows file and storage technologies? Visit our
team blog at http://blogs.technet.com/filecab/default.aspx.


"Jeffrey S. Sparks" <jssp...@bccinfo.com> wrote in message
news:D714FB4D-9328-4B2A...@microsoft.com...

Jill Zoeller [MSFT]

unread,
Feb 14, 2007, 2:14:40 PM2/14/07
to
Does the server happen to be a NAS device?

--
This posting is provided "AS IS" with no warranties, and confers no rights.

Want to learn more about Windows file and storage technologies? Visit our
team blog at http://blogs.technet.com/filecab/default.aspx.


"Jeffrey S. Sparks" <jssp...@bccinfo.com> wrote in message
news:D714FB4D-9328-4B2A...@microsoft.com...

Jeffrey S. Sparks

unread,
Feb 14, 2007, 10:21:35 PM2/14/07
to
No, it's a server (asus tusl Motherboard, 1 gb ram, raid array, etc) running
Windows small business server 2003.


"Jill Zoeller [MSFT]" <ji...@online.microsoft.com> wrote in message
news:%23Vo3fxG...@TK2MSFTNGP02.phx.gbl...

Jeffrey S. Sparks

unread,
Feb 15, 2007, 10:35:29 AM2/15/07
to
The network share is on a server called alpha for which I have full control
of this folder:

\\alpha\home_folders$\jssparks

I mapped the share to my laptop as drive z:

I right clicked on documents, selected location and chose z: and elected to
move all of the files.

I then turned on offline files for that folder after which it says preparing
files so they are always available offline.

I get a TON of errors (like 543 errors) saying the same thing for every
single file. "The process cannot access the file because it is being used
by another process."

When I looked at the offline files control panel applet (control panel >
Networking > Offline files) It shows the correct amount of space being used.
When I'm offline I can see all the folders and files in explorer but when I
try to open one it says the file is currently unavailable for use on this
computer. I get the same error no matter which file i try to open while
offline. They are a variety of type of documents (word 2003, excel, pdf,
tif, gif files, etc...)

Jeff

"Jill Zoeller [MSFT]" <ji...@online.microsoft.com> wrote in message

news:upd6moFU...@TK2MSFTNGP06.phx.gbl...

Jill Zoeller [MSFT]

unread,
Feb 15, 2007, 11:53:24 AM2/15/07
to
I'm checking with the Offline Files team. I've seen reports of this error
for a NAS server but not SBS.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

Want to learn more about Windows file and storage technologies? Visit our
team blog at http://blogs.technet.com/filecab/default.aspx.

"Jeffrey S. Sparks" <jssp...@bccinfo.com> wrote in message

news:BA10A177-0C54-4ADA...@microsoft.com...

Jill Zoeller [MSFT]

unread,
Feb 15, 2007, 12:15:06 PM2/15/07
to
Here's what we think is happening. When you redirect your My Documents
folder, those files are automatically cached (made available offline).
Because you then try to mark them available as offline, we think these two
sync operations are fighting each other for access to the files. You
shouldn't need to mark them available as offline--just let folder
redirection complete. Normally the "always available offline" option in the
UI is disabled when the folder is pinned by Folder Redirection. If you were
able to select it we suspect that folder redirection hadn't yet pinned it
(race condition).

Let me know if this works for you.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

Want to learn more about Windows file and storage technologies? Visit our
team blog at http://blogs.technet.com/filecab/default.aspx.


"Jeffrey S. Sparks" <jssp...@bccinfo.com> wrote in message

news:3039C74F-196C-4978...@microsoft.com...

Jeffrey S. Sparks

unread,
Feb 15, 2007, 1:24:43 PM2/15/07
to
Ok, i started out with the documents in my documents folder on my laptop. I
deleted the Mapped drive to the server folder and then told it to move the
documents folder to \\alpha\home_folders$\jssparks.

It moved them, synced and there were no errors. However, the files are
still not available offline. If I select "work offline" or just unplug the
network cable all of the icons for the files grey out and won't open.

Jeff


"Jill Zoeller [MSFT]" <ji...@online.microsoft.com> wrote in message

news:uYdyYTSU...@TK2MSFTNGP03.phx.gbl...

Jill Zoeller [MSFT]

unread,
Feb 15, 2007, 2:43:41 PM2/15/07
to
How long are you waiting following the redirection? It takes time for those
files to be added to the cache. The progress of that redirection sync is
not reported through Sync Center.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

Want to learn more about Windows file and storage technologies? Visit our
team blog at http://blogs.technet.com/filecab/default.aspx.


"Jeffrey S. Sparks" <jssp...@bccinfo.com> wrote in message

news:7C476626-F8F3-4BC9...@microsoft.com...

Jeffrey S. Sparks

unread,
Feb 15, 2007, 3:15:20 PM2/15/07
to
It's been a couple of hours now...

Jeff


"Jill Zoeller [MSFT]" <ji...@online.microsoft.com> wrote in message

news:%23cjXbmT...@TK2MSFTNGP05.phx.gbl...

Jill Zoeller [MSFT]

unread,
Feb 15, 2007, 5:13:23 PM2/15/07
to
OK, it's been a couple hours and I assume it's still not working, correct?


--
This posting is provided "AS IS" with no warranties, and confers no rights.

Want to learn more about Windows file and storage technologies? Visit our
team blog at http://blogs.technet.com/filecab/default.aspx.


"Jeffrey S. Sparks" <jssp...@bccinfo.com> wrote in message

news:D6F991DD-AF76-4363...@microsoft.com...

Jeffrey S. Sparks

unread,
Feb 16, 2007, 9:39:51 AM2/16/07
to
Correct. I actually let it sit all afternoon and it still isn't working
correctly. Same as before just no errors in sync center now.

"Jill Zoeller [MSFT]" <ji...@online.microsoft.com> wrote in message

news:O8QbE6UU...@TK2MSFTNGP04.phx.gbl...

Jill Zoeller [MSFT]

unread,
Feb 16, 2007, 11:47:36 AM2/16/07
to
OK, I'll go back to the developers with this.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

Want to learn more about Windows file and storage technologies? Visit our
team blog at http://blogs.technet.com/filecab/default.aspx.

"Jeffrey S. Sparks" <jssp...@bccinfo.com> wrote in message

news:76645A48-B3B7-4147...@microsoft.com...

Jill Zoeller [MSFT]

unread,
Feb 16, 2007, 3:55:33 PM2/16/07
to
Jeffrey, are you running AV software? Try disabling it and seeing if that
makes a difference.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

Want to learn more about Windows file and storage technologies? Visit our
team blog at http://blogs.technet.com/filecab/default.aspx.

"Jill Zoeller [MSFT]" <ji...@online.microsoft.com> wrote in message

news:uF7JroeU...@TK2MSFTNGP04.phx.gbl...

Jill Zoeller [MSFT]

unread,
Feb 16, 2007, 4:09:26 PM2/16/07
to
A couple more questions:

What edition of Vista are you running?

There is a Group Policy that keeps Folder Redirection from pinning (caching)
redirected folders. Do you have any way of checking whether this policy is
enabled?

--
This posting is provided "AS IS" with no warranties, and confers no rights.

Want to learn more about Windows file and storage technologies? Visit our
team blog at http://blogs.technet.com/filecab/default.aspx.

"Jill Zoeller [MSFT]" <ji...@online.microsoft.com> wrote in message

news:OL0qUzgU...@TK2MSFTNGP04.phx.gbl...

Jeffrey S. Sparks

unread,
Feb 16, 2007, 4:20:19 PM2/16/07
to
What group policy are you referring too? I am the system administrator and
can check. I am trying to disable offline files and basically start over
from scratch to see if that works. I am using Avast Antivirus and will try
to start offline files with it disabled.

Jeff


"Jill Zoeller [MSFT]" <ji...@online.microsoft.com> wrote in message

news:evAIG7gU...@TK2MSFTNGP02.phx.gbl...

Jeffrey S. Sparks

unread,
Feb 16, 2007, 4:53:36 PM2/16/07
to
I tried starting from scratch and am getting the original error again "The
process cannot access the file because it is being used by another process."

I disabled offline file sharing, redirected the documents folder to the
"default location" (it asked me if i wanted to move the files I said no so
ended up with an empty documents folder) and rebooted. I then enabled
offline file sharing and rebooted again. I mapped a drive to the share on
the server and called it z: and then clicked make available offline on the
properties page of the share (z:) while it was syncing i noticed these
errors again. Avast antivirus was disabled immediately after rebooting.

jeff


"Jeffrey S. Sparks" <jssp...@bccinfo.com> wrote in message

news:0C49CDFD-19E6-4955...@microsoft.com...

Jill Zoeller [MSFT]

unread,
Feb 16, 2007, 5:06:25 PM2/16/07
to
Here's the group policy:

User Config -> Admin Templates -> System -> Folder Redirection -> Do not
automatically make redirected folders available offline


Note that this is a "global" switch applying to all redirected folders


Let me know whether this GP is enabled. I will also pass along your latest
findings.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

Want to learn more about Windows file and storage technologies? Visit our
team blog at http://blogs.technet.com/filecab/default.aspx.
"Jeffrey S. Sparks" <jssp...@bccinfo.com> wrote in message

news:73EDB6B3-8F52-4A4B...@microsoft.com...

Jeffrey S. Sparks

unread,
Feb 19, 2007, 9:02:46 AM2/19/07
to
It says "Not Configured"

Jeff


"Jill Zoeller [MSFT]" <ji...@online.microsoft.com> wrote in message

news:%23gVL0ah...@TK2MSFTNGP02.phx.gbl...

Jeffrey S. Sparks

unread,
Feb 21, 2007, 4:49:46 PM2/21/07
to
I don't suppose you have come up with anything else i might try?

Jeff Sparks

Jill Zoeller [MSFT]

unread,
Feb 21, 2007, 6:05:26 PM2/21/07
to
Funny timing--a developer just asked me to have you run a tool for us to
gather more information. Will you contact me via email? Remove "online" from
my address.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

Want to learn more about Windows file and storage technologies? Visit our
team blog at http://blogs.technet.com/filecab/default.aspx.


"Jeffrey S. Sparks" <jssp...@bccinfo.com> wrote in message

news:DAAE4868-03B9-4C2D...@microsoft.com...

Jill Zoeller [MSFT]

unread,
Mar 13, 2007, 7:04:59 PM3/13/07
to
To close out this thread, after some investigation we have identified the
reason why Offline Files is failing. After reviewing the trace logs that
Jeffrey sent, our developer concluded that the server never grants an oplock
for the file. Jeff realized that he had disabled oplocks on his server for a
database he was hosting. Offline Files in Windows Vista cannot operate when
oplocks are disabled. Here are the two keys Jeff changed to make this work.

He added this key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MRXSmb\Parameters\
OplocksDisabled REG_DWORD 0

And he changed the following key (was set to 0 on his server)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
EnableOplocks REG_DWORD 1

These keys are described in more detail at
http://support.microsoft.com/kb/296264.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

Want to learn more about Windows file and storage technologies? Visit our
team blog at http://blogs.technet.com/filecab/default.aspx.

"Jill Zoeller [MSFT]" <ji...@online.microsoft.com> wrote in message

news:%23fWQHzg...@TK2MSFTNGP05.phx.gbl...

graf....@gmail.com

unread,
Apr 9, 2007, 5:33:33 PM4/9/07
to

> He added this key:
> HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MRXSmb\Parameters\
> OplocksDisabled REG_DWORD 0

Hi

My small environment consists of a Windows Vista Ultimate (32bit) DELL
Notebook and a IOMEGA NAS Storage Storcenter. My data is shared on the
IOMEGA Storcenter and syncronized for offline use. I've experienced
the same problem that there are created some tmp files and another
strange thing was, that folders have been displayed twice: Once with
the normal name, second with the 8.3 name. Checking the files online
using WinXP Prof. the state is as assumed: The 8.3 Name is NOT
displayed.

Due to the NAS box doesn*t have registry, I can't enable or disable
oplocks on the "server", which is the nas box.

But it seems for me the syncronisation errors I get can be focused to
this problem. So I disabled oplocks, because this is a single user
environment, because there is no danger, other user could overwrite
opend files.

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MRXSmb\Parameters
\

OplocksDisabled REG_DWORD 1

Is there any problem using this option in my environment?

Thanks!

Franz

Franz

unread,
Apr 9, 2007, 8:07:40 PM4/9/07
to
On 9 Apr., 23:33, graf.fr...@gmail.com wrote:
> > He added this key:
> > HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MRXSmb\Parameters\
> > OplocksDisabled REG_DWORD 0
>
> Hi
>
> My small environment consists of aWindowsVistaUltimate (32bit) DELL
> Notebook and a IOMEGANASStorage Storcenter. My data is shared on the
> IOMEGA Storcenter and syncronized forofflineuse. I've experienced
> the same problem that there are created some tmpfilesand another

> strange thing was, that folders have been displayed twice: Once with
> the normal name, second with the 8.3 name. Checking thefilesonline
> using WinXP Prof. the state is as assumed: The 8.3 Name is NOT
> displayed.
>
> Due to theNASbox doesn*t have registry, I can't enable or disable

> oplocks on the "server", which is thenasbox.
>
> But it seems for me the syncronisation errors I get can be focused to
> this problem. So I disabled oplocks, because this is a single user
> environment, because there is no danger, other user could overwrite
> opendfiles.
>
> HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MRXSmb\Parameters
> \
> OplocksDisabled REG_DWORD 1
>
> Is there any problem using this option in my environment?
>
> Thanks!
>
> Franz

I forgot something to ask:
Is there a way to check, if the iomega nas storage box handles the
lock mechanism correctly? the nas box represents itself as NT Server
4.9

Thx!

Jill Zoeller [MSFT]

unread,
Apr 10, 2007, 12:45:23 PM4/10/07
to
We posted a blog post on using Offline Files against NAS boxes at
http://blogs.technet.com/filecab/archive/2007/03/16/using-offline-files-with-samba-emc-servers-nas-devices.aspx.
See if this helps.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

Want to learn more about Windows file and storage technologies? Visit our
team blog at http://blogs.technet.com/filecab/default.aspx.

<graf....@gmail.com> wrote in message
news:1176154413.6...@o5g2000hsb.googlegroups.com...

Franz

unread,
Apr 10, 2007, 2:07:25 PM4/10/07
to
Hi Jill!
Thank you very much for this information!
Unfortunatley I can't change this settings, but I'll ask Iomega to
provide a solution!

Thanks!
Franz


On 10 Apr., 18:45, "Jill Zoeller [MSFT]" <j...@online.microsoft.com>
wrote:
> We posted a blog post on using Offline Files against NAS boxes athttp://blogs.technet.com/filecab/archive/2007/03/16/using-offline-fil....


> See if this helps.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> Want to learn more about Windows file and storage technologies? Visit our

> team blog athttp://blogs.technet.com/filecab/default.aspx.<graf.fr...@gmail.com> wrote in message


>
> news:1176154413.6...@o5g2000hsb.googlegroups.com...
>
>
>
>
>
> >> He added this key:
> >> HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MRXSmb\Parameters\
> >> OplocksDisabled REG_DWORD 0
>
> > Hi
>
> > My small environment consists of a Windows Vista Ultimate (32bit) DELL
> > Notebook and a IOMEGA NAS Storage Storcenter. My data is shared on the
> > IOMEGA Storcenter and syncronized for offline use. I've experienced
> > the same problem that there are created some tmp files and another
> > strange thing was, that folders have been displayed twice: Once with
> > the normal name, second with the 8.3 name. Checking the files online
> > using WinXP Prof. the state is as assumed: The 8.3 Name is NOT
> > displayed.
>
> > Due to the NAS box doesn*t have registry, I can't enable or disable
> > oplocks on the "server", which is the nas box.
>
> > But it seems for me the syncronisation errors I get can be focused to
> > this problem. So I disabled oplocks, because this is a single user
> > environment, because there is no danger, other user could overwrite
> > opend files.
>
> > HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MRXSmb\Parameters
> > \
> > OplocksDisabled REG_DWORD 1
>
> > Is there any problem using this option in my environment?
>
> > Thanks!
>

> > Franz- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -


0 new messages