How to Virtualize Your Wallpaper (and Make it Work)

How to Virtualize Your Wallpaper (and Make it Work)
FrankB's picture

Have you ever found yourself wrapped around an axle because you wanted to virtualize a favorite wallpaper but couldn't figure out how? Well, you're not alone (okay, maybe you are -- but just in case), FrankB went where few virtualization aficionados have gone before. And he left a trail of breadcrumbs so the brave among you can follow.

The stuff you'll need to bring:

The steps you'll need to take:

  1. Open SVS Admin Console
  2. Choose File > Create New layer...
  3. Pick: Empty Layer
  4. Click Next >
  5. Name the Layer anything you want.
  6. Click Next >
  7. Click Finish
  8. Now right click the Layer an choose: Edit Advanced Layer Properties...
  9. In the (Read-Only) part open System
  10. Right click [PROGRAMFILES]
  11. Choose: New > Folder
  12. Name that folder: SvS4All
  13. Now copy and paste you wallpaper called: SvS4all-WallPaper.bmp
  14. Download cw.exe and Remove.exe here
  15. Copy cw.exe and Remove.exe also into that directory.
  16. Close the Layer properties.
  17. Choose: Start > Run
  18. Type: regedit and click OK
  19. Now browse to: HKEY_LOCAL_MACHINE\SYSTEM\Altiris\FSL\<Number of your (Read-Only) part of your layer>
  20. Right click the number (in my case 1)
  21. Choose: New > Multi-String Value
  22. Name that string: OnPostActivate
  23. Right click that key and choose: Modify
  24. Enter the following value: w,"%PROGRAMFILES%\SvS4All\cw.exe"
  25. The 'w,' is to make sure that the Layer waits until cw.exe is finished.
  26. Right click the number again
  27. Choose: New > Multi-String Value
  28. Name that string: OnPreDeactivate
  29. Right click that key and choose: Modify
  30. Enter the following value: w,"%PROGRAMFILES%\SvS4All\Remove.exe"
  31. Close regedit.
  32. Activate and Deactivate your layer to test, if there is something wrong it will be in the naming of the directory or the wallpaper.
  33. To clean up, first Deactivate your Layer.
  34. Go to the fslrdr folder (by default C:\fslrdr)
  35. Open the folder with the (Writeable) number (in my case 2).
  36. Remove the directory with the funny long number (this is called SID).
  37. Open regedit again.
  38. Goto: HKEY_LOCAL_MACHINE\Software\fslrdr\ The key with the same number as your Writable folder.
  39. Open the HU key and remove the folders that are in there, they are also with that number (SID)
  40. Close regedit.
  41. Open EasyExcluder and choose: Layer Exclusions.
  42. Pick your layer from the dropdown and choose (un)Check All
  43. Click Save and close Easy Excluder.
  44. Export your Layer, and you're finished.

Have Fun, FrankB

3.51852
Average: 3.5 (27 votes)
AttachmentSize
WallPaperChanger.zip9.09 KB

Cool

jjesse's picture

Wow, hadn't ever thought that was possible. Great idea and nice job on the write up

Hey...

FrankB's picture

If I'm going virtual, I'm going all the way ;)

FrankB

Brilliant idea

riva11's picture

Great idea for an SVS alternative use. This way can be helpful to standardize user desktops in a corporate environment (without using Group Policies).
Thanks.

Great write up..!!!

It has been very well documented and I'm sure its gonna be very useful.
Thanks dude....

never thought @ it

arjain's picture

i never thought that it will be possible to virtualiae wallpaper.
gr8 work

Never say never ...

riva11's picture

Our friend FrankB is really a tools maker !

Every time is a new tool with new big enhancements and different features...

Regards

Impressive!

Frank,

I'm getting really impressive with you work and engagement regarding SVS, it's not the first time you've provided some really amazing solution and tools by the way.

It would be very interesting to know what exactly "cw.exe" and "Remove.exe" does.

Looking forward of your next idea and keep up the good work!

/Kim

Thank You AngelD

FrankB's picture

cw.exe (you might have guessed) means Change Wallpaper. :)
Remove.exe (you might have guessed with the above statement) means clear the wallpaper. ;)

cw.exe looks in the %ProgramFiles%\SvS4all\ for the SvS4All-Wallpaper.jpg

Cheers, FrankB

PS,

FrankB's picture

I'll create a cw.exe in the near future that reads its path and wallpaper from an ini file, so everyone can use it.

Cheers, FrankB