Installing Win10 update break all registry paths of executables

Page 1 of 2 12 LastLast

  1. Posts : 8
    Win10
       #1

    Installing Win10 update break all registry paths of executables


    After installing the last Win10 update, all my programs paths that were installed on disk D:\Programmes are changed to *:\Programmes. in the Registry (The D letter is changed by a star).

    It means that executable can no more run, neither uninstalled, nor re-installed (like LibreOffice for example)

    Instead of returning again to an old version (I've already done this 2 times), I would like to have a small batch script that modify the wrong paths to the correct ones in the Registry. Is it possible and how to do that ?

    Otherwise have I to re-install Windows ?
    Thanks.

    Windows 10 - Version 1909 - Build 18363.1016
      My Computer


  2. Posts : 8,111
    windows 10
       #2

    First open a cmd prompt type
    Set

    Post results
      My Computer


  3. Posts : 8
    Win10
    Thread Starter
       #3

    Microsoft Windows [version 10.0.18363.1016]
    (c) 2019 Microsoft Corporation. Tous droits réservés.

    C:\Users\chrig>set
    ALLUSERSPROFILE=C:\ProgramData
    APPDATA=C:\Users\chrig\AppData\Roaming
    CommonProgramFiles=C:\Program Files\Common Files
    CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    CommonProgramW6432=C:\Program Files\Common Files
    COMPUTERNAME=DESKTOP-PAPS-GU
    ComSpec=C:\WINDOWS\system32\cmd.exe
    configsetroot=C:\WINDOWS\ConfigSetRoot
    DriverData=C:\Windows\System32\Drivers\DriverData
    HOMEDRIVE=C:
    HOMEPATH=\Users\chrig
    LOCALAPPDATA=C:\Users\chrig\AppData\Local
    LOGONSERVER=\\DESKTOP-PAPS-GU
    NUMBER_OF_PROCESSORS=8
    OneDrive=C:\Users\chrig\OneDrive
    OneDriveConsumer=C:\Users\chrig\OneDrive
    OS=Windows_NT
    Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v 1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\Calibre2\;D:\Programmes\Calibre2\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbe m;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\Users\chrig\AppDat a\Local\Microsoft\WindowsApps;
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    PROCESSOR_ARCHITECTURE=AMD64
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 158 Stepping 13, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=9e0d
    ProgramData=C:\ProgramData
    ProgramFiles=C:\Program Files
    ProgramFiles(x86)=C:\Program Files (x86)
    ProgramW6432=C:\Program Files
    PROMPT=$P$G
    PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
    PUBLIC=C:\Users\Public
    SESSIONNAME=Console
    SystemDrive=C:
    SystemRoot=C:\WINDOWS
    TEMP=C:\Users\chrig\AppData\Local\Temp
    TMP=C:\Users\chrig\AppData\Local\Temp
    USERDOMAIN=DESKTOP-PAPS-GU
    USERDOMAIN_ROAMINGPROFILE=DESKTOP-PAPS-GU
    USERNAME=chrigou
    USERPROFILE=C:\Users\chrig
    windir=C:\WINDOWS
      My Computer


  4. Posts : 8,111
    windows 10
       #4

    That show all program files are on C
    CommonProgramFiles=C:\Program Files\Common Files
    CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files


    Is just certain files on d:?
      My Computer


  5. Posts : 8
    Win10
    Thread Starter
       #5

    Yes, like LibreOffice, that is running now because I spent about 2 hours to search and replace all bad occurences in the registry.
    Now I have the same problem with Calibre (see picture) and Videolan (VLC) also.

    https://www.tenforums.com/attachment...&thumb=1&stc=1
    Attached Thumbnails Attached Thumbnails Installing Win10 update break all registry paths of executables-calibreerror.png  
      My Computer


  6. Posts : 42,998
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #6

    Presumably the 'last update', based on your build number was
    KB4565351 CU Win 10 v1903 build 18362.1016 and v1909 build 18363.1016

    Some issues reported with these:
    https://www.windowslatest.com/2020/0...lation-issues/
    Windows 10 update brings back dreaded 'Blue Screen of Death' error | Express.co.uk
    - even in national press.

    When you installed those programs, did you simply change the install path when you installed each individual program, or did you make some more general and systematic change for them to be installed on D: ?
      My Computers


  7. Posts : 8
    Win10
    Thread Starter
       #7

    Hopefully I do not have BSD

    And yes, I just modify the install path during the install procedure from C:\Program Files (x86) to D:\Programmes.
    No other action were taken.

    Is it possible to make a small SearchAndReplace script for the Registry ?
      My Computer


  8. Posts : 42,998
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #8

    If you care to search for e.g.
    registry editor find and replace

    you might find e.g.
    Registry Tookit - Funduc Software
    RegCool 1.126 Download - TechSpot

    Both of which appear to offer search and replace.

    Back up fully before making such changes- as so often recommended- disk imaging is a great basis; do not rely on system restore alone. And of course you can back up the registry yourself e.g. with 3rd party utilities.
      My Computers


  9. Posts : 8
    Win10
    Thread Starter
       #9

    Thanks @dalchina, it's exactly what I was looking for.
    I will test these tools during this weekend and go back here for results.
      My Computer


  10. Posts : 8
    Win10
    Thread Starter
       #10

    Bad news, I was unable to make a Search & Replace with the both softwares.
    These software apparently runs without problem but my Registry remains always with the errors.
    I think I really want to reinstall Windows on this PC.
    Anyway, thanks a lot for your help.
      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 17:19.
Find Us




Windows 10 Forums