DISM/SFC-Scannow Command Prompt Tool not creating 'SFC Detail file..

Page 3 of 4 FirstFirst 1234 LastLast
  1. Try3's Avatar
    Posts : 7,425
    Windows 10 Home x64 Version 20H2 Build 19042.868
       #21

    1 Batch file

    Open Notepad [C:\Windows\System32\notepad.exe].
    Select all the text in my code lines above and copy it using Ctrl+C or right-click, Copy
    Change over to the Notepad window and paste using Ctrl+V or right-click Paste or the Edit menu, Paste
    In the Notepad menu, select SaveAs -
    - - look at the bottom of the SaveAs window. Where you see Save as type click on it and select All files (*.*)
    - - then browse to any convenient folder and save it using the full name-with-extension ShowUserDesktop.bat or WhateverYouWant.bat or anthing else ending in .bat
    - - You an now close Notepad.
    Now double-click on the batch file and read the line beginning The DesktopFolder is
    -
    [and you can then close the window]

    2 The admin account
    The admin account has all permissions as well as %username%----->Click on properties of file/app----->check security...
    I was trying to find out whether you elevate your own account or have to turn to a different admin account. Just to understand your setup. That was why I worded the question in a weird way but your response leaves me none the wiser.
    Please just run anything that demands admin permission to proceed such as the tool we are discussing or Disk management [C:\Windows\System32\diskmgmt.msc] and tell me if you just need to click on a Yes button or if you are forced to enter a password.

    Denis
      My Computer

  2. gahbmwm5's Avatar
    Posts : 42
    Windows 10 x64 Version 2004
    Thread Starter
       #22

    :: Extract the Registry entry for the Desktop folder [Current user]For /F "usebackq tokens=3 " %%X in (`Reg Query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v Desktop`) Do Set DesktopFolderRaw=%%X:: Resolve a result that contains a variable such as %UserProfile%For /F "usebackq delims=" %%Y in (`Echo %DesktopFolderRaw%`) Do Set DesktopFolder=%%[email protected] The DesktopFolder is %DesktopFolder%Pause and check the path of the DesktopFolder


    DISM/SFC-Scannow Command Prompt Tool not creating 'SFC Detail file..-2020-03-08.png

    Please just run anything that demands admin permission to proceed such as the tool we are discussing or Disk management [C:\Windows\System32\diskmgmt.msc] and tell me if you just need to click on a Yes button or if you are forced to enter a password.

    Ok will do this now and report back.

    No password needed to double click/or right click--->Run as Administrator.

    DISM/SFC-Scannow Command Prompt Tool not creating 'SFC Detail file..-2020-03-08-1-.png


      My Computer

  3. Try3's Avatar
    Posts : 7,425
    Windows 10 Home x64 Version 20H2 Build 19042.868
       #23

    OneDrive has hijacked your Desktop folder.

    That's the reason you are having problems. I think you need to remove all OneDrive references from your user folder paths - this is what I think you started off by saying you had been trying to do.

    I think you need to

    1 Complete the uninstallation of OneDrive
    If anybody who knows OneDrive is watching this thread then please dive in with any easier or better method than I am able to suggest.
    OneDrive - Stop Sharing Files and Folders - I think this is the most appropriate tutorial but I know the square root of sod all about OneDrive

    then

    2 Get the full list of your user folders from the Registry so they can all be reviewed and adjusted.
    Run RegEdit C:\Windows\regedit.exe
    Paste this into the RegEdit address bar in place of whatever is in it beforehand {you are not changing any Registry values - it's just like moving around folders in File explorer}
    Code:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
    Then, on the right-hand side, adjust any column widths [by manually dragging column divider lines in the headers] so you can see all the text
    Then just take a screenshot and paste it here.
    So we can take stock and identify the user folder paths that need to be corrected.

    Note that none of this actually has anything to do with the tool you started this thread to ask about. The job is now about cleaning up after OneDrive. You might then find that the tool does everything you want it to.

    I have to go away for several hours now,
    Denis
    Last edited by Try3; 08 Mar 2020 at 04:00.
      My Computer

  4. Try3's Avatar
    Posts : 7,425
    Windows 10 Home x64 Version 20H2 Build 19042.868
       #24

    gahbmwm5 said:
    No password needed to double click/or right click--->Run as Administrator.
    I assume you mean that you just had to click on the Yes button when you saw this dialog
    DISM/SFC-Scannow Command Prompt Tool not creating 'SFC Detail file..-admin-consentui.png

    Denis
      My Computer

  5. gahbmwm5's Avatar
    Posts : 42
    Windows 10 x64 Version 2004
    Thread Starter
       #25

    Try3, yes you are 'spot-on' about my issues starting with OneDrive syncing...
    Will uninstall OneDrive and thanks for the OneDrive Tutorial:Stop Sharing Files and Folders.

    Hey enjoy your weekend, and thanks!

    - - - Updated - - -

    Try3 said:
    I assume you mean that you just had to click on the Yes button when you saw this dialog
    DISM/SFC-Scannow Command Prompt Tool not creating 'SFC Detail file..-admin-consentui.png

    Denis
    Yes sir.
      My Computer

  6. Try3's Avatar
    Posts : 7,425
    Windows 10 Home x64 Version 20H2 Build 19042.868
       #26

    Yes sir.
    Good. I wanted to make sure there was not another issue complicating things when you were using that tool. Like me, you are using an admin account as your day-to-day account. We are not supposed to but many of us do. When we finish this job, please remind me to nag you about setting UAC to its maximum setting - lots of malware has been demonstrated sneaking through past an admin account with any lower a UAC setting.

    Denis
      My Computer

  7. gahbmwm5's Avatar
    Posts : 42
    Windows 10 x64 Version 2004
    Thread Starter
       #27

    DISM/SFC-Scannow Command Prompt Tool not creating 'SFC Detail file..-2020-03-08-2-.png
      My Computer

  8. Try3's Avatar
    Posts : 7,425
    Windows 10 Home x64 Version 20H2 Build 19042.868
       #28

    That diagram is after you have uninstalled OneDrive?

    I make it 7 user folders that still use your OneDrive. I cannot be certain what each of them is because the column headers weren't dragged right far enough to let all the entries be seen. But I can see enough to know which ones include OneDrive.

    There are a bunch of TenForumsTutorials on relocating user folders. They are all within Windows 10 Tutorial Index

    Personally, I make a new system image then manually alter the paths in the Registry key you are looking at.

    DISM/SFC-Scannow Command Prompt Tool not creating 'SFC Detail file..-hist-user-shell-folders.png

    So
    1 finish the OneDrive uninstallation,
    2 make a new system image,
    then
    3 work through each of the 7 entries
    - double-click on the little ab icon or its label in the Name column then type in the path you do really want for that user folder
    - BUT make sure you have created the folder first or things can get very awkward
    - I always create/check the folder first then copy its full path in the File explorer address bar so I can just paste it into the Registry entry so I know there are no typing erros.

    Denis
      My Computer

  9. Try3's Avatar
    Posts : 7,425
    Windows 10 Home x64 Version 20H2 Build 19042.868
       #29

    I've been trying to hang on longer but I really have to go now.

    I'd say, "Good luck", but you won't need any,
    Denis
      My Computer

  10. Kyhi's Avatar
    Posts : 3,544
    Windows 3.1 to Windows 10
       #30

    Save As > User Shell Folders.reg - Merge with Your Registry - & Reboot
    Then verify changes in registry -
    Code:
    Windows Registry Editor Version 5.00
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
    "AppData"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
      4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,52,\
      00,6f,00,61,00,6d,00,69,00,6e,00,67,00,00,00
    "Cache"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,\
      00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,4c,00,\
      6f,00,63,00,61,00,6c,00,5c,00,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,\
      00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c,00,49,00,4e,00,\
      65,00,74,00,43,00,61,00,63,00,68,00,65,00,00,00
    "Cookies"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
      4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,4c,\
      00,6f,00,63,00,61,00,6c,00,5c,00,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,\
      66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c,00,49,00,4e,\
      00,65,00,74,00,43,00,6f,00,6f,00,6b,00,69,00,65,00,73,00,00,00
    "Desktop"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
      4c,00,45,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,00,00
    "Favorites"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
      4c,00,45,00,25,00,5c,00,46,00,61,00,76,00,6f,00,72,00,69,00,74,00,65,00,73,\
      00,00,00
    "History"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
      4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,4c,\
      00,6f,00,63,00,61,00,6c,00,5c,00,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,\
      66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c,00,48,00,69,\
      00,73,00,74,00,6f,00,72,00,79,00,00,00
    "Local AppData"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,\
      49,00,4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,\
      00,4c,00,6f,00,63,00,61,00,6c,00,00,00
    "My Music"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
      4c,00,45,00,25,00,5c,00,4d,00,75,00,73,00,69,00,63,00,00,00
    "My Pictures"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,\
      00,4c,00,45,00,25,00,5c,00,50,00,69,00,63,00,74,00,75,00,72,00,65,00,73,00,\
      00,00
    "My Video"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
      4c,00,45,00,25,00,5c,00,56,00,69,00,64,00,65,00,6f,00,73,00,00,00
    "NetHood"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
      4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,52,\
      00,6f,00,61,00,6d,00,69,00,6e,00,67,00,5c,00,4d,00,69,00,63,00,72,00,6f,00,\
      73,00,6f,00,66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c,\
      00,4e,00,65,00,74,00,77,00,6f,00,72,00,6b,00,20,00,53,00,68,00,6f,00,72,00,\
      74,00,63,00,75,00,74,00,73,00,00,00
    "Personal"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
      4c,00,45,00,25,00,5c,00,44,00,6f,00,63,00,75,00,6d,00,65,00,6e,00,74,00,73,\
      00,00,00
    "PrintHood"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
      4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,52,\
      00,6f,00,61,00,6d,00,69,00,6e,00,67,00,5c,00,4d,00,69,00,63,00,72,00,6f,00,\
      73,00,6f,00,66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c,\
      00,50,00,72,00,69,00,6e,00,74,00,65,00,72,00,20,00,53,00,68,00,6f,00,72,00,\
      74,00,63,00,75,00,74,00,73,00,00,00
    "Programs"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
      4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,52,\
      00,6f,00,61,00,6d,00,69,00,6e,00,67,00,5c,00,4d,00,69,00,63,00,72,00,6f,00,\
      73,00,6f,00,66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c,\
      00,53,00,74,00,61,00,72,00,74,00,20,00,4d,00,65,00,6e,00,75,00,5c,00,50,00,\
      72,00,6f,00,67,00,72,00,61,00,6d,00,73,00,00,00
    "Recent"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,\
      00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,52,00,\
      6f,00,61,00,6d,00,69,00,6e,00,67,00,5c,00,4d,00,69,00,63,00,72,00,6f,00,73,\
      00,6f,00,66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c,00,\
      52,00,65,00,63,00,65,00,6e,00,74,00,00,00
    "SendTo"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,\
      00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,52,00,\
      6f,00,61,00,6d,00,69,00,6e,00,67,00,5c,00,4d,00,69,00,63,00,72,00,6f,00,73,\
      00,6f,00,66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c,00,\
      53,00,65,00,6e,00,64,00,54,00,6f,00,00,00
    "Start Menu"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,\
      00,4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,\
      52,00,6f,00,61,00,6d,00,69,00,6e,00,67,00,5c,00,4d,00,69,00,63,00,72,00,6f,\
      00,73,00,6f,00,66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,\
      5c,00,53,00,74,00,61,00,72,00,74,00,20,00,4d,00,65,00,6e,00,75,00,00,00
    "Startup"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
      4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,52,\
      00,6f,00,61,00,6d,00,69,00,6e,00,67,00,5c,00,4d,00,69,00,63,00,72,00,6f,00,\
      73,00,6f,00,66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c,\
      00,53,00,74,00,61,00,72,00,74,00,20,00,4d,00,65,00,6e,00,75,00,5c,00,50,00,\
      72,00,6f,00,67,00,72,00,61,00,6d,00,73,00,5c,00,53,00,74,00,61,00,72,00,74,\
      00,75,00,70,00,00,00
    "Templates"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
      4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,52,\
      00,6f,00,61,00,6d,00,69,00,6e,00,67,00,5c,00,4d,00,69,00,63,00,72,00,6f,00,\
      73,00,6f,00,66,00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c,\
      00,54,00,65,00,6d,00,70,00,6c,00,61,00,74,00,65,00,73,00,00,00
    "{374DE290-123F-4565-9164-39C4925E467B}"=hex(2):25,00,55,00,53,00,45,00,52,00,\
      50,00,52,00,4f,00,46,00,49,00,4c,00,45,00,25,00,5c,00,44,00,6f,00,77,00,6e,\
      00,6c,00,6f,00,61,00,64,00,73,00,00,00
    Last edited by Kyhi; 08 Mar 2020 at 08:41.
      My Computer


 
Page 3 of 4 FirstFirst 1234 LastLast

  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 03:23.
Find Us




Windows 10 Forums