Hey, Thanks for this script @Prz42!
I would like to report some issues, 'Will someone please confirm'?.
With Acronis UniversalRestore 11.5 Enabled (ACURestore):
.cmd Path== X:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;
Without Acronis ACURestore:
.cmd Path== X:\windows\system32;x:\windows;x:\windows\system32\wbem;x:\windows\system32\WindowsPowerShell\v1.0\;
X:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;
I Removed this line in ACURestore
// Call,RegMultiSZ,Append,"Tmp_System\ControlSet001\Control\Session Manager\Environment",Path,%ProgramPath%
Regards
RoyM
With Call,RegMultiSZ,Append,"Tmp_System\ControlSet001\Control\Session Manager\Environment",Path,%ProgramPath%
I get this value @ Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment,Path
Without installed %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\System32\WindowsPowerShell\v1.0\
With installed %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\System32\WindowsPowerShell\v1.0\
X:\Program Files\Acronis\UniversalRestore_x64
I think I see the problem it is creating 2 line, not just one long line.
It is Appending the line but it needs a ; to be correct
I will try a couple of things, but something tells me the Lancelot can solve this very quickly.
He is the one that created the Macro to Call, RegMultiSZ.
It started back with AOMEI Backupper and Acronis TrueImage
The line that got add then was
Call,RegMultiSZ,Append,Tmp_System\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318},UpperFilters,PartMgr,fltsrv