What Happened After The Lights Went Out?


  1. Posts : 1,097
    Windows 10 Home x64 Version 1809 (OS Build 17763.437)
       #1

    What Happened After The Lights Went Out?


    This one defies explanation.

    This is a 3 month old machine, clean, up to date, in good health and runs well. I don't get too aggressive tweaking one if it runs right. Things work best if I just learn to use whatever's new as opposed to forcing it to be like what I had been used to.

    Last night the power went off in the neighborhood for a couple of hours. PC was here just idling with no apps or programs running. I went to bed and brought up the machine early this morning. Seemed to boot a bit slower but not objectionable. Only difference is now a blue screen saying Please Wait (with the spinning dots) just before the Lock Screen loads. Everything seemed fine. Couldn't find any malfunctions.

    Using Edge I checked in on my bank, this forum and several others. I ran my personal finance program downloading data and printed my report. Then I ran my batch file to copy only my data files with the Archive bit set onto my External Hard Drive. Normally only 8 to 12 files copy over. They completed and then all 1,145 pictures from the "Pictures" folder and sub folders copied over.

    This is the heart of that Batch File:

    Code:
    ECHO Off
    CD\
    C:
    CLS
    :
      ECHO.
      ECHO Deleting Notepadd++ .bak Files ...
      IF EXIST C:\Utilities\*.*.bak Del C:\Utilities\*.*.bak
      GOTO DOIT
    :
    ;DOIT
    :
      ECHO.
      ECHO Copying First Section (Local):
      XCopy "C:\Users\Name\AppData\Roaming\Intuit\Quicken\*.*" "C:\Tempory\Users\Name\AppData\Roaming\Intuit\Quicken\*.*" /v/s/a/y
      XCopy "C:\Users\Name\Documents\*.*" "C:\Tempory\Users\Name\Documents\*.*" /v/s/a/y
      ECHO.
    :
    IF NOT EXIST "E:\Users" GOTO FDrive
    :
      ECHO Checking "E:" Drive Availability ...
      ECHO.
      ECHO Copying Second Section To "E:" Drive:
      XCopy "C:\Users\Name\AppData\Roaming\Intuit\Quicken\*.*" "E:\Users\Name\AppData\Roaming\Intuit\Quicken\*.*" /v/s/m/y
      XCopy "C:\Users\Name\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AC\MicrosoftEdge\User\Default\DataStore\*.*" "E:\Users\Name\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AC\MicrosoftEdge\User\Default\DataStore\*.*" /v/s/m/y
      XCopy "C:\Users\Name\Documents\*.*" "E:\Users\Name\Documents\*.*" /v/s/m/y
      XCopy "C:\Users\Name\Downloads\*.*" "E:\Users\Name\Downloads\*.*" /v/s/m/y
      XCopy "C:\Users\Name\Favorites\*.*" "E:\Users\Name\Favorites\*.*" /v/s/m/y
      XCopy "C:\Users\Name\Links\*.*" "E:\Users\Name\Links\*.*" /v/s/m/y
      XCopy "C:\Users\Name\Pictures\*.*" "E:\Users\Name\Pictures\*.*" /v/s/m/y
      ECHO.
    :
      ECHO Checking/Copying Utilities Files:
      ECHO.
      Xcopy "C:\Utilities\*.*" "E:\Utilities\*.*" /v/m/y
      ECHO.
    :  Attrib -a "E:\*.*" /s
    :
      ECHO Back Up Operation Is Complete.
    :
      Timeout /t 30
      GOTO END

    NOTHING has been done with or in that set of folders in at least a couple of weeks. How did the Archive attribute get set? Then this afternoon I took a look in Task Manager and there was Photos hogging a chunk of memory. I did not start the program or even view any pictures! Restarting the machine and Photos has not loaded again.

    Can someone please tell me what's going on? Thanks for your time ...
      My Computer


  2. Posts : 31,603
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #2

    CWGilley said:
    This one defies explanation.
    ...I ran my batch file to copy only my data files with the Archive bit set onto my External Hard Drive ...
    How did the Archive attribute get set?
    Can someone please tell me what's going on?
    I do like batch files. I have written one to do Full or Incremental backups of my user folder. at the heart is XCOPY (or rather was, it uses RoboCopy now) with the /S /M options (for a Full backup I run attrib +A *.* /s before the Xcopy/RoboCopy command).

    After ever upgrade (1511, 1607 and 1703) many of my files have had their archive attribute set, even though they haven't been modified. I put this down to apps (like your Photos) rebuilding their indexes.

    My guess - after the power cut Photos needed to rebuild its database and 'touched' all those files.
      My Computers


  3. Posts : 1,097
    Windows 10 Home x64 Version 1809 (OS Build 17763.437)
    Thread Starter
       #3

    I love batch files. Learned with DOS and there was little alternative then. The one I used and copied here, is basically an incremental back up. When I do a full, I run one more or less the same as what you show.

    You may be on to something here Bree. Last update was Wednesday and the machine had not been restarted since the reboot for the update install. After initial start-up this morning it took several minutes for everything to come to life and function as quickly as normal. Namely browsing which is all I did for the first hour or so.
      My Computer


  4. Posts : 668
    Win 10 pro
       #4

    CWGilley said:
    This one defies explanation.

    Normally only 8 to 12 files copy over. They completed and then all 1,145 pictures from the "Pictures" folder and sub folders copied over.

    look in Task Manager and there was Photos hogging a chunk of memory.
    I did not start the program

    Can someone please tell me what's going on? Thanks for your time ...
    Hi,
    maybe Photos have done some kind of indexing/access to your image folder,
    there is a bunch of programs that start automatically,
    I would try to disable "Photos" (and any other that you do not need running at startup)
    in "Privacy -> Background App" and see if it happens again.
      My Computer


  5. Posts : 1,097
    Windows 10 Home x64 Version 1809 (OS Build 17763.437)
    Thread Starter
       #5

    ...disable "Photos" (and any other that you do not need running at startup)... Hmmm, not running when I went to bed but was back on this morning. Good advice, and done. There's not much in that list that I do have running.
      My Computer


  6. Posts : 1,097
    Windows 10 Home x64 Version 1809 (OS Build 17763.437)
    Thread Starter
       #6

    Humph! In the last 2 hours "Photos" got loaded into Background Processes again. Maybe it has something to do with viewing avatars and/or icons?
      My Computer


  7. Posts : 1,773
    Windows 10 Home
       #7

    Photos will scan the folder that you specified for where to look for pictures in the background. How often, who knows ? But if you use it, it will be in the background. For instance, I use Groove to play music but only a few folders. It's always a background process. Perhaps the high usage is due to Photos trying to rebuild it's library after your power outage incident.
      My Computer


  8. Posts : 17,838
    Windows 10
       #8

    Turn background apps off

    What Happened After The Lights Went Out?-000058.png
      My Computer


  9. Posts : 67
    Win10 Pro x64
       #9

    CWGilley said:
    You may be on to something here Bree. Last update was Wednesday and the machine had not been restarted since the reboot for the update install. After initial start-up this morning it took several minutes for everything to come to life and function as quickly as normal. Namely browsing which is all I did for the first hour or so.
    this ^, likely the machine restarted during idle time to finish the updates.
    especially if you are updating your machine with creator updates, i find that many global policy, services and control panel settings have changed to their default settings.
    pretty annoying to have to go through everything all over again.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:38.
Find Us




Windows 10 Forums