How to backup User's Start10 settings?

Hello;

Is there a way to backup the settings, please?

I'm looking for a way to quickly change between two (or more) different settings.

29,791 views 5 replies
Reply #1 Top

To change the Windows 10 theme, I'm curently use a batch file (FILE_NAME.bat) to:

 

- Kill the "DSHost.exe" process (DeskScapes8) to stop the desktop background Dream video (if needed).

- Kill the "ObjectDock.exe" process to unload the dock I use.

- Apply a Windows 10 theme I previously saved.

- Kill the "SystemSettings.exe" process (Windows 10 settings -> this window opened when I apply the theme) to close the Windows 10 settings.

- Delete the previous Windows 10 "Custom.theme" (if needed).

- Change the Taskbar texture, the Start Buton image and the Start Menu background texture.

- Replace the ObjectDock backup.

- Restart the "ObjectDock.exe" process.

- Apply a new Dream video to the desktop background.

- Change my Windows 10 user account picture (needs the user to clic on a buton for confirmation; I previously made my account pictures "read only").

- Refresh (kill and restart) the "explorer.exe" process (Windows 10 File explorer).

 

If anyone wants the bach file content I wrote (not perfect, but works):

Code: vbscript
  1. @echo off
  2. Set Processus="DSHost.exe"
  3. for /f "tokens=1" %%i In ('tasklist /NH /FI "imagename eq %Processus%"') do set ff=%%i
  4. IF /i "%ff%"==%Processus% (taskkill /f /im DSHost.exe)
  5. taskkill /f /im ObjectDock.exe
  6. explorer "C:\Users\USER_NAME\AppData\Local\Microsoft\Windows\Themes\THEME_NAME.theme"
  7. taskkill /f /im SystemSettings.exe
  8. IF exist "C:\Users\USER_NAME\AppData\Local\Microsoft\Windows\Themes\Custom.theme" attrib -r -s -h "C:\Users\USER_NAME\AppData\Local\Microsoft\Windows\Themes\Custom.theme"
  9. IF exist "C:\Users\USER_NAME\AppData\Local\Microsoft\Windows\Themes\Custom.theme" del /f /q "C:\Users\USER_NAME\AppData\Local\Microsoft\Windows\Themes\Custom.theme"
  10. attrib -r -s -h "FILE_PATH_1\Taskbar.png"
  11. del /f /q "FILE_PATH_1\Taskbar.png"
  12. attrib -r -s -h "FILE_PATH_1\StartButon.png"
  13. del /f /q "FILE_PATH_1\StartButon.png"
  14. attrib -r -s -h "FILE_PATH_1\StartMenu.png"
  15. del /f /q "FILE_PATH_1\StartMenu.png"
  16. copy "FILE_PATH_2\Taskbar.png" "FILE_PATH_1\"
  17. copy "FILE_PATH_2\StartButon.png" "FILE_PATH_1\"
  18. copy "FILE_PATH_2\StartMenu.png" "FILE_PATH_1\"
  19. attrib -r -s -h "C:\Users\USER_NAME\AppData\Local\Stardock\ObjectDockPlus\AppImages.ini"
  20. del /f /q "C:\Users\USER_NAME\AppData\Local\Stardock\ObjectDockPlus\AppImages.ini"
  21. attrib -r -s -h "C:\Users\USER_NAME\AppData\Local\Stardock\ObjectDockPlus\CurrentTheme.ini"
  22. del /f /q "C:\Users\USER_NAME\AppData\Local\Stardock\ObjectDockPlus\CurrentTheme.ini"
  23. attrib -r -s -h "C:\Users\USER_NAME\AppData\Local\Stardock\ObjectDockPlus\CurrentTheme_Backup.ini"
  24. del /f /q "C:\Users\USER_NAME\AppData\Local\Stardock\ObjectDockPlus\CurrentTheme_Backup.ini"
  25. attrib -r -s -h "C:\Users\USER_NAME\AppData\Local\Stardock\ObjectDockPlus\Recent.ini"
  26. del /f /q "C:\Users\USER_NAME\AppData\Local\Stardock\ObjectDockPlus\Recent.ini"
  27. attrib -r -s -h "C:\Users\USER_NAME\AppData\Local\Stardock\ObjectDockPlus\Settings.ini"
  28. del /f /q "C:\Users\USER_NAME\AppData\Local\Stardock\ObjectDockPlus\Settings.ini"
  29. copy "FILE_PATH_3\ObjectDockPlus\AppImages.ini" "C:\Users\USER_NAME\AppData\Local\Stardock\ObjectDockPlus\"
  30. copy "FILE_PATH_3\ObjectDockPlus\CurrentTheme.ini" "C:\Users\USER_NAME\AppData\Local\Stardock\ObjectDockPlus\"
  31. copy "FILE_PATH_3\ObjectDockPlus\CurrentTheme_Backup.ini" "C:\Users\USER_NAME\AppData\Local\Stardock\ObjectDockPlus\"
  32. copy "FILE_PATH_3\ObjectDockPlus\Recent.ini" "C:\Users\USER_NAME\AppData\Local\Stardock\ObjectDockPlus\"
  33. copy "FILE_PATH_3\ObjectDockPlus\Settings.ini" "C:\Users\USER_NAME\AppData\Local\Stardock\ObjectDockPlus\"
  34. start "Object Dock" "C:\Program Files (x86)\Stardock\ObjectDock\ObjectDock.exe"
  35. explorer "FILE_PATH_4\DREAM_NAME.Dream"
  36. start "Account Picture" "C:\Users\USER_NAME\AppData\Roaming\Microsoft\Windows\AccountPictures\FILE_NAME.accountpicture-ms"
  37. timeout /t 5
  38. taskkill /f /im explorer.exe
  39. start explorer.exe

 

"timeout /t 5" = 5 seconds to confirm the Windows 10 user account picture changing -> confirm before the refresh of the "explorer.exe" process, or the picture will not be changed.

 

EDIT: Create a shortcut for your batch file, and run it with minimized window -> right clic, properties, run = minimized, apply, ok.

Reply #2 Top


Hello;

Is there a way to backup the settings, please?

I'm looking for a way to quickly change between two (or more) different settings.
All the Start10 settings are stored in the registry.  Computer\HKEY_CURRENT_USER\Software\Stardock\Start8

It wouldn't be hard to export configurations you like and import them as desired

Reply #3 Top

 Hello ZubaZ; thank you for your message.

Ouch, I took a look in the registry... It looks complicated. (Note: English isn't my language, I'm French.)

If I export a registry key to import it when I want to, it might ask me a confirmation when I want to import it... I already have to confirm the Windows 10 user account picture changing; I don't want to have a lot of confirmation requests (I'd like to have no confirmation request).

Reply #4 Top

This is a great time to study batch files (*.bat) and registry keys in command lines.  

This is a good resource: http://www.robvanderwoude.com/regedit.php

+1 Loading…
Reply #5 Top

 Thank you very much for this link, it can help; I'll take a look at it later (I backup the link in my docs). :-)

What do you think about the script in my 2nd message? Do you have something to make it better?