...
Thus with this configuration:
Code Block |
---|
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Stardock\Start8\Start8.ini\Start8 |
AllowLocalImportPath
= 1
SettingsImportPath
= [someLocationPath]
Code Block |
---|
HKEY_CURRENT_USER\Software\Stardock\Start8\Start8.ini\Start8 |
SettingsImportPath
= [someLocationPath]
...
Code Block |
---|
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Stardock\Start8\Start8.ini\Start8 |
Code Block |
---|
HKEY_CURRENT_USER\Software\Stardock\Start8\Start8.ini\Start8 |
Example Batch
Code Block |
---|
@echo off :: Check for Admin rights net session >nul 2>&1 if %errorLevel% NEQ 0 ( echo Please right-click this script and choose "Run as Administrator". pause exit /b ) :: Full registry paths to check set "regKey1=HKEY_CURRENT_USER\Software\Stardock\Start8\Start8.ini\Start8" set "regKey2=HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Stardock\Start8\Start8.ini\Start8" set "regValue=SettingsImportPath" :: Function to nullify registry value if it exists for %%K in ("%regKey1%" "%regKey2%") do ( reg query "%%~K" /v "%regValue%" >nul 2>&1 if %errorLevel% EQU 0 ( echo Found %regValue% in %%~K. Nullifying the value. reg add "%%~K" /v "%regValue%" /t REG_SZ /d "" /f ) else ( echo %regValue% not found in %%~K. ) ) echo Completed checking and nullifying registry values. pause |
Support
If you run into any scenarios where the configuration is not applying correctly, please reach out to support for additional assistance.
...