Robocopy bug with /b switch

Robocopy without /b is able to copy files which are currently open (e.g. a Word document open in Word).
Robocopy with /b is not able to copy these same files.
Steps to reproduce:
Prerequisites:
your user account is an administrator (in a domain, you are in Domain Admins).
your user account is in the "Backup Operators" group.
you have logged off and back on since adding yourself to Backup Operators.
Create a folder called 'source'.
In 'source', create a Word document called 'file.docx'.
Open 'file.docx' in Word.
Run Powershell as administrator and cd to the directory in which you created 'source'.
robocopy /mir source\ dest_without_b\
robocopy /mir source\ dest_with_b\ /b
Expected result:
Steps 5 and 6 both complete without error, and target folders "dest_without_b" and "dest_with_b" now contain "file.docx" and "~$file.docx" (Word's "I have this file open" file).
Actual result:
Step 5 succeeds, but step 6 fails with this error:
2014/08/27 10:36:58 ERROR 32 (0x00000020) Copying File G:\scratch\source\file.docx
The process cannot access the file because it is being used by another process.
Waiting 30 seconds...
Notes:
This bug is present in at least Windows 8, 8.1, 7, and Server 2008 R2.
This bug happens regardless of whether source\file.docx is a local file or on a network share, and regardless of whether file.docx is open on the local machine or the remote machine.
This means that when backing up a workstation where someone is currently logged on, I need to choose between getting files which the user has open, and getting files which my user account does not have permission to. I can run robocopy twice, once with
/b and once without, and hope that I get everything -- but I will not get files which are both in use
and not readable to my user account.
There are at least two different kinds of "file open" in Windows: Microsoft Word's "I have this file open but I'll still let you copy it" mode, and the "You are never copying this file while the computer is running, unless you use
Volume Shadow Copy" mode used by the Windows registry. Robocopy cannot copy files in the latter case, with or without /b (but it would be really nice if it could).
Finally, I'm new to reporting bugs in Windows / Microsoft products. Is there a public bugzilla / bug tracker or something?

Hi,
Robocopy doesnt copy open files. The defaults allow 1 million retries, at 30-second intervals, allowing copy
operations to complete when an open file is closed, even if hours or days have passed since the command was first launched.
Thus, please run robocopy /mir source\ dest_with_b\ /b after you restart the computer to check the result.
Karen Hu
TechNet Community Support

Similar Messages

  • ICal bug with month view

    I primarily use week view on iCal, but sometimes i switch to month view for a larger perspective. Often, i use month view to check for any leftover events from the previous month in case i forgot to delete one or two.
    I just found a bug concerning this. If i click on "month" today, it'll take me to the month view for june 2011, and from there i can navigate forwards or backwards. However, may 2011 seems to have a bug. If i click on < from june, it does nothing; if i click again, it takes me to april 2011. Similarly, if i click on > from april it does nothing and if i click again it takes me to june.
    It doesn't end there. The june/may thing happens only when the selected day (the one shaded light grey on the month and week views and bright blue on the little month tab on the left) is after 04 june. If a day from the first week of june (i have my weeks start on sunday) is selected, the < button does take me to may, but several events which i deleted a long time ago are showing up.
    Now, i have an event set for today (04 june). Since the first four days of june are in the same week as the last three of may, the month view for may shows these four days, as any normal calendar app would.
    If i use the month tab to the left to navigate, i can access may 2011 by selecting any day on that month. However, iCal's behaviour depends on which day was selected previously. If the previous day was in april 2011 or earlier, iCal will show the month of may completely empty, which is great because i have no leftover appointments from may; however, the box for 04 june is also empty, which it shouldn't be. If the previous day was in june 2011, it'll show may with a repeating event on every sunday except the first, which is completely absurd, since i have deleted this event (and why isn't it showing on the first sunday in may?); the box for 04 june, however, will correctly show the event i have set for this day. If the previous day was in july 2011 or later, it'll show may with the repeating event on all sundays (including the first one) and it won't show anything on the box for 04 june.
    Obviously, there is a bug with may 2011.
    In case it helps, i do have a repeating event set to all sundays until the end of existence, but i have deleted all the entries from may and previously, since they have obviously already happened. Also, i had many other repeating events set to happen on different weekdays; these are to repeat themselves weekly until about halfway through june, and they started on april or may (can't remember right now). Like the sunday one, i have deleted all the entries from may because they have already taken place. Strangely (and thankfully), none of these appear when i visit may from june or later, as does the sunday event.
    Any help would be greatly appreciated. Or am i forever stuck with week view, which has so far proven to be bug-free?
    (I did a search on Google and another on the Apple forums for this issue but could find nothing, so i decided to ask the question myself. I apologise if somebody has already asked this question and i just couldn't find it.)

    Greetings,
    I have a vague recollection of someone else with this issue but haven't experienced it myself nor encountered it recently.
    Troubleshooting:
    1.) First make an iCal backup: http://support.apple.com/kb/HT2966.
    2.) Remove the following to the trash and restart your computer:
    Home > Library > Caches > com.apple.ical and / or "ical"
    Home > Library > Calendars > Calendar Cache, Cache, Cache 1, 2, 3, etc. (Do not remove Sync Cache or Theme Cache)
    Home > Library > Preferences > com.apple.ical (There may be more than one of these. Remove them all.)
    __NOTE: Removing these files will remove any shared (CalDAV) calendars you may have access to. You will have to re-add those calendars to iCal > Preferences > Accounts.
    Once the computer is back up and running open iCal and test.
    Hope that helps!

  • Has anyone else noticed this bug with multitasking gestures on iOS 5?

    I recently updated my iPad 2 to iOS 5 and have just noticed this bug with multitasking gestures. 
    If you're currently in an app and use the four-finger swipe up to open the app switcher, and then subsequently close another app that's open in the background from the switcher, the app doesn't seem to fully close.  What I mean is that if you now use the four-finger swipe right/left to switch apps, when you get to the place where that app you closed was, it's still open, and after you view it, it pops back into the app switcher.  It seems like the multitasking gestures feature isn't recognizing that you've closed the app and that it should skip it from now on. 
    If you do the above steps again, but this time after you close the app from the switcher, use the five-finger pinch to go back to the home screen, it seems to clear the "cache" being used by the the gestures feature.  Now if you go back into any app and swipe left to right, the closed app won't load up anymore (which is how it should correctly work). 
    Has anyone else noticed this, or can anyone else reproduce the bug as I described?  I'd appreciate it if an Apple employee could confirm that this is a bug in iOS 5 and not just something wrong on my end.  Thanks in advance. 

    02-May-200702:03 PM
    scoobyman wrote:
    Hi keffa
    After the time spent and attention to detail in replicating this fault, I do think that you should email your findings to Nokia Care to be found on:
    http://www.nokia.co.uk/A4222231
    This is after all a discussion forum and others may find the same bug, but until it is logged at Nokia there is little chance of future modification if required!
    Done already. They may of course have corrected this in the 11.x firmware currently being rolled out but as I don't yet have access to it I can't say.
    Useful links: Phone firmware update | Nokia support site

  • Blocking bug with 10.8.3+Adobe Lightroom+Canon iPF5000 (but workaround found)

    Hi all,
    since I have updated my MacBook Pro (early 2011 model) with 10.8.3, I have a blocking bug with Adobe Lightroom (either 4.3 or 4.4) for launching prints on my Canon iPF5000 (firmware 1.33, either MacOS driver 2.67 or 3.06, connection through USB).
    When I was under 10.8.2 with the Canon's driver 3.06, everything works fine.
    Basically, after clicking Print a Copy or Print... in Lightroom, the file spooled to the driver stays in MacOS printer queue. Within the printer queue window, the printer is in pause mode, and each time I try to resume the printing processing, the driver put it on hold immediately. When I look into the history on the Console, the driver complains about an unknown error... The data stay within the driver, as my Canon iPF5000 "Data" led indicator stays unlit.
    My print settings are 600dpi or 300dpi, print sharpening Standard/Glossy, 16 bit output. And Color managed by printer (because I let the Canon driver managing my B&W prints).
    Strangely enough, when I launch a print from Preview application, the drivers does its job and sends it successfully to my Canon iPF5000...
    As this was driving me crazy, I have tried a clean install of MacOS 10.8.3 (as 10.8.2 is no more available from Apple servers...). No success, same blocking issue.
    Eventually, I've found the workaround: using the imagePROGRAF Advanced Preview. You have to click on "Print..." in Lightroom in order to see the driver settings window, and then check the "Preview before printing" option in the main tab of the driver settings. Then I can preview my Lightroom printing work and then launch successfully my printing.
    Simple workaround, but very strange bug...
    For me, the root cause could be multiple and not very obvious.
    Is it Mac OS 10.8.3 ? But why can I make prints from Preview application for instance, and not from LR ?
    Is it the Canon driver ? But this lead me to the same question.
    Is it Lightroom ? Does it send corrupted data that make the driver crazy but not the imagePROGRAF Advanced Preview ?
    So, if any user of Canon iPF5000 + Mac OS 10.8 + Lightroom is around, please share your experience.
    And if any Apple, Adobe or Canon engineer read this, please try to fix this.
    Happy printing,
    Amaury

    It's different how applications write print data. If you use Advanced Preview from the driver then it calculates already the output which afterwards is only sent to the printer.
    Have you once tried to print with fast graphic process switched off (option of advanced settings)?
    Hope it helps
    Renate

  • E71 Firmware Bug with USB Mass Storage.

    Hi,
    Just got a e71, it has the latest firmware, it's mostly good except for this bug.
    If you install a new theme on a memory card and then attempt to use the USB for mass storage it will always lock the card no matter how you disconnect from the USB, it always reports Memory card in use.
    What is supposed to happen is the phone is supposed to switch to a theme on the phone memory and unload the theme on the card, it does indeed switch themes, but does not unload the theme on the card, so the only way to free the card is to reboot the phone.
    If anyone from Nokia is looking at this forum, you guys need to fix these little bugs with the firmware.  A update to the OS the E71x is using would be nice by the way.  I paid a lot of money for this unlocked phone and expect it to be rock solid.

    I had this problem with the memory card. All you do is set the USB connection to PC suit and not Mass Storage. If it's in PC suit mode you don't loose the memory card and it always let you access it. I never bother with mass storage anymore. Also set to don't ask if you want. I ahve no issues since I di this and am using the 200 firmware.
    To transfer files to the card I go into my computer, double click the picture of the nokia E71 and then double click the memory card and access it that way. Hope this helps as it's a pain installing everything on the phone.
    Just another quick tip if you download the themes through your phone like me once installed and after a re-start something may try and install and fail once your phone starts up. It will do this everytime you re-start your phone. To fix the issue you have to browse the memory card with 'view hidden folders' selected in Windows and delete certain sis files from a certain folder. I can't remember off the top of my head but it explains it in another post in this forum. I can't take the credit for it.
    Ben 

  • I've a "bug" with the apps downloading. This one stops at the end and stays like that infinite. The app doesn't appears normally on the homescreen. Someone can fix this?

    I've a "bug" with the apps downloading. This one stops at the end and stays like that infinite. The app doesn't appears normally on the homescreen. The app is on the home screen, and its downloading is blocked at its end, without showing the app like it should when it's finished downloadung. Does someone can help me and fix this please?

    Hi Tom
    Thanks for replying!
    I had heard that these switches didn't stack unless everything was identical.
    I only tried it at all out of pure desperation.
    I've applied and tested every version 3 firmware in standalone mode via a console cable and xmodem.
    They either never come up properly receiving decompression errors and reboot constantly in a loop.
    Occasionally they stall / jam and stay there displaying the same error with no rebooting.
    And twice out of 80-100 times I got it to boot to the username and password screen in standalone mode.
    But as soon as I made a change it crashed and started the rebooting cycle again.

  • Bug with the cover flow in OS3.1.2

    I am a Chinese user of iTouch and I have found a bug with the cover flow.
    In the normal mode, there is only 1 album. But when i switch it to the cover flow, it has more than one, all of which have the complete album after it.
    what's still peculiar is that
    1.it happens only to the simplified chinese songs.
    2.when i switch the language of my itouch to traditional chinese or english, there is 1 cover flow.
    can anyone help me?

    tell apple. http://www.apple.com/feedback/ipodtouch.html

  • Bug with highlighted text in Illustrator CS6

    Hi! I use AI CS6 on a mac book pro Lion 10.7
    I got a recurrent bug with the text tool.
    When I selct a text sometimes the highlight totally hide my text and it's difficult to edit it! I tried CMD+H and CMD CTRL+H but nothing works, even hide bounding box...
    As you can see... It's an issue to read and edit the text properly!
    And even in wireframe view CMD+Y texts appear like blocs!
    And besides this happen not on evry texts in the document.. I don't have a clue
    Very annoying!
    Anyone has the same problem? Solution is would be appreciated!
    Thanks
    Samy

    Hi SaCha_bxl,
    What you have done is, Switched on the "Show Hidden characters" option. U can hide it back by
    Clicking on "Type" (Which will be in navigation bar) and see if u have checked in "Show Hidden Characters " if so uncheck it and your problem will be solved.
    or you can also use the short cut " Alt+Ctrl+I "

  • Problem/bug with AIR 3.0

    Hi guys,
    I'm here again. I got this error when I tried to publish my project with AIR 3.0.. Actually, I've created an application usign AIR 2.6 (default comes with CS 5.5). It was used to get published and I used to update it on regular basis. Few days back I had to copy AIRSDK3 folder to Adobe's program files' folder, where I renamed AIR2.6 to anything else and AIRSDK3 to AIR2.6... Today, when I tried to publish my same project,  I got this following error. Hope that would help adobe (as it is beta version).
    (By the way, when I renamed the folders to their original names, it worked and published).

    Steve,
    We have seen the same thing and reported it to Forte. We have not yet
    heard back with a bug report number...
    For now, we have removed all comments from our sql code.
    Derk
    >
    We have just switched from version 2.0.H.1 to version 3.0.F.2 in development,
    and have discovered a bug with comments in SQL code.
    Anywhere in a cursor definition, or within SQL code in a method, if we use the
    multi-line comment format "/* ... */" even on a single line, then the code
    compiles fine, but crashes at runtime with a "Invalid SQL Command" error. It
    looks as though Forte is including the comment as part of the SQL!
    Has anyone else seen this problem? We have not found it in the known bugs list
    for 3.0.F.2 or the fixed bugs list for 3.0.G
    This worked fine for us prior to version 2, and if we don't get it fixed in
    Forte, it means a lot of rework to change the existing comments to single-line
    "// ..." format.
    Regards,
    Steve Isaac
    Senior Consultant, Information Services Group
    Hydro Electric Corporation of Tasmania
    4 Elizabeth St, Hobart, Australia, 7000
    Phone : +61 03 6230 5161
    e-mail: [email protected]
    Check out: http://mama.indstate.edu/users/sodana/lucado.html
    *** Derk Norton ***
    *** U S WEST Communications Voice : (303) 965-8772 ***
    *** 1801 California Street FAX : (303) 896-3565 ***
    *** Denver, Colorado 80202 Email : [email protected] ***
    **********************************************************************

  • [svn:fx-trunk] 9287: Fixes bug with shader-transition effects ( AnimateTransitionShader, Wipe, and CrossFade) when acting on targets that either have filters or are inside a hierarchy with filters .

    Revision: 9287
    Author:   [email protected]
    Date:     2009-08-13 15:53:43 -0700 (Thu, 13 Aug 2009)
    Log Message:
    Fixes bug with shader-transition effects (AnimateTransitionShader, Wipe, and CrossFade) when acting on targets that either have filters or are inside a hierarchy with filters. Fix was to capture the bitmap snapshot of the target without any of its own filters applied and to then use the ShaderFilter in conjunction with the target's filters during the animation.
    QE notes: Probably need more tests in this area, now that we handle it
    Doc notes: none
    Bugs: sdk-20250
    Reviewer: Jason
    Tests run: Checkintests, Mustella (spark/effects/[AnimateTransitionShader|Wipe|CrossFade])
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/sdk-20250
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransitionShader.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransiti onShaderInstance.as

    Lots to be excited about. BUT...Just updated to 8.1 on one of my computers to test it out...
    Sadly, the following issue is NOT fixed for me. Is it with new projects only?  I haven't started a new project on 8.1 I've only opened an old project but the issue that I'm referring to which involves also a delay/freeze of anywhere from a few seconds to a MINUTE while the render bar goes from yellow to red and then back to yellow is still there. Boo.
    On the list above...
    Switching between sequences can turn the render bar red.
    This issue is incredibly easy to replicate. I really do hope it gets fixed. Here are the steps:
    1) Create two sequences with multiple short clips (the more clips the better)
    2) Make sure GPU acceleration is enabled.
    3) Add warp stabilizer to the clips in both sequences. Again, the more clips the longer the delay/freeze will be as the render bar goes from YELLOW to RED and then eventually back to YELLOW again.
    4) Hit SAVE.
    5) Now, toggle between sequences. You'll hit a short delay with a few clips stabilized and a LONG delay with lots stabilized. In my case this delay is around a full minute. The render bar will go from YELLOW to RED and then back to yellow...eventually.
    6) Toggle back to the original sequence and the delay occurs again.
    7) Once you've toggled between sequences and have gone through this delay, that's it, there is no longer a delay...UNTIL...(and here's the big kicker)...until the project is SAVED again. After that the issue returns when you toggle between sequences. Both saving manually and AUTOSAVING cause this issue. No way around it except not editing with GPU acceleration.
    Not sure what the issue is...caching issue when saving maybe? Either way, it stinks and it's still there in 8.1. Big bummer.
    Again, lots to be excited about with this release but I really was hopefully this specific issue was resolved.
    Sigh.

  • Display Bug with Wifi indicator

    Not sure if this is the best place to submit bugs, but, there's a bug with the wifi indicator.  If you switch network locations, where one has no Wifi adapter, and the other does.  Switching to wifi-less, and then back to with-wifi results in a busted wifi indicator in the menu bar.
    As you can see, Wifi is connected (Network Pref panel), but the Wifi indicator in the bar is X'ed out.

    Apple doesn’t routinely monitor the discussions. These are mostly user to user discussions.
    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback
    Or you can use your Apple ID to register with this site and go the Apple BugReporter. Supposedly you will get an answer if you submit feedback.
    Feedback via Apple Developer

  • 30EA3: German language bug with user defined reports still not fixed

    In 30EA2: Limited folder functionality with German language
    I wrote about a bug in 30EA2. Was this message noticed by the developers?
    The bug still exists in 30EA3.
    In new folders for user definded reports only the options "Kopieren" and "Exportieren" (copy and export) are available, when SQL-Deverloper runs in German language mode.
    A workaround is to force language to English with the line
    AddVMOption -Duser.language=en
    in sqldeveloper.conf

    I made a new thread for the same bug in 3.1EA2:
    3.1EA2 Old bug with German language settings still exists
    I have some hope, that my problem finally got noticed by the developers.

  • 3.1EA2 Old bug with German language settings still exists

    In the past I wrote several times about a bug in SQL Developer when running in German language mode. This bug is still not fixed in 3.1 EA2:
    In new folders for user definded reports only the options "Kopieren" and "Speichern unter ..." ('Copy' and 'Cave as') are available, when SQL-Deverloper runs in German language mode. Other options like "Bearbeiten, Neuer Ordner, Neuer Bericht, Ausschneiden, Einfügen, Löschen" (Edit, New Folder, New Report, Cut, Paste, Delete) are missing. A workaround is to force language to English with the line
    AddVMOption -Duser.language=en
    in sqldeveloper.conf
    I mentioned it first in Re: Folders with limited functionality about version 2.1.1.64 and then in 30EA2: Limited folder functionality with German language 3.0 EA2 and German language bug with user defined reports still not fixed Beta Release 3.0 EA3
    Edited by: user1775992 on 22.11.2011 03:30

    I have raised a bug on this issue and I am actively looking into it.

  • Okay, i have 2 bugs with maverick.  First, when I delete a file within a window, the files deletes but the preview doesn't delete until I close the window and reopen it.  Second, I work on a network of computers and the search feature is now buggy...

    Okay, i have 2 bugs with maverick.  First, when I delete a file within a window, the files deletes but the preview doesn't delete until I close the window and reopen it.  Second, I work on a network of computers and the search feature is now buggy...  When I search for a file, A) it asks me if it's a name, or it wont produce anything, and B), its slower than in prior OS versions and in some instances I have to toggle to a different directory and go back to my original directory in the search: menu bar or the search wont produce anything...  Very buggy. 

    It appears to me that network file access is buggy in Maverick.
    In my case I have a USB Drive attached to airport extreme (new model) and when I open folders on that drive they all appear empty. If I right click and I select get info after a few minutes! I get a list of the content.
    It makes impossible navigate a directory tree.
    File access has been trashed in Maverick.
    They have improved (read broken) Finder. I need to manage a way to downgrade to Lion again.

  • Why does the App Store not work in Genius with VoiceOver switched on

    After I downloaded IOS 6 to my iPhone 4 there were a lot of things not working properly, the main things that were a problem was the App Store, to move anything with VoiceOver switched on it was touch-and then tap twice also to move the thing on the page you use three fingers swipe up or down left or right to move it. We now find that to move something in Charts you only need one finger touchon the left to move it.If Some body can  come up with thee answer it is the People that work in the Accessability side of things at Apple. So if you know in Ireland why Apple cannot put in the info for Accessability for People who are Blind like me we cannot see what is going on we do not change anyof the settings...

    Thank you very much for the reply. That certainly makes sense, as I am sure it is all the Time Machine backups I have that are at the root of the problem. How can I update all those older version Apps deeply embedded within my TM backups, or is the solution to unmount my 2TB drive that I use for TM?
    I suppose if Apple could somehow direct the App Store to disregard all those other apps in TM, the problem would be resolved.
     Nick Andriash 
    17" MacBook Pro, 2.3GHz Intel Core  i7, Memory 16 GB, OS X 10.8
    AMD Radeon HD 6750M 1024 MB
    iPad2 WiFi & 3G, 64GB
    iPhone4S 32GB

Maybe you are looking for