Stuck with a mandatory workplace wallpaper on your Windows laptop that you’d love to replace?
This repo offers a loophole to personalize your desktop background, allowing you to choose your wallpaper while keeping within policy boundaries and without needing admin rights! Yaay 🎉
Say goodbye to the default and make your workspace truly yours! :")
- The scripts are designed to be run on Windows machines only, and have been tested to work on Windows 10 & 11.
- The scripts are written in PowerShellandVBScript, and hence require no additional software installations.
- The scripts are also designed to be non-intrusive and can be easily removed by simply deleting the entire repository from your system.
To get started, you can clone this repository to your local machine by running the following command in your terminal:
git clone https://github.com/Prajwal-Prathiksh/BreakTheWall.gitIf you don't have git installed, you can download the zip file and extract it to your desired location. (If this is the first time you're working with PowerShell scripts, save and extract the repository in your Downloads directory, to simplify the process.)
To change your wallpaper using the GUI, you can follow these steps:
- Save the image/images as per instructions in the One-time Change or Scheduled Change sections.
- [Optional] You can update the interval between wallpaper changes from the GUI itself. By default, the interval is set to 1 hour.
- Run the BreakTheWall_GUI.ps1script by right-clicking on it and selectingRun with PowerShell. (For pro-users, you can also run it from thePowerShellterminal, but make sure to navigate to the script's location first.)
You can use the Utils/OneTimeChanger.ps1 script to change your wallpaper to a custom one, as a one-time change. Here's how you can do it:
- Store your desired wallpaper as wallpaper.jpgin theDownloadsdirectory
The script currently supports only
.jpgfiles. If you have a different format, you can convert it to.jpgusing an online converter, and the name must follow the formatwallpaper.jpg.
If you're unsure about the location of
Downloadsdirectory, you can find it openingFile Explorerand typing%USERPROFILE%\Downloadsin the address bar.
- Run the Utils/OneTimeChanger.ps1script.
That's it! Your wallpaper should now be updated to the one you saved! <3
Upon restarting your system or changing monitors, the wallpaper might revert to the default one. In such cases, you can re-run the steps above to update it again.
You can use the Utils/SafeRunAutoScheduler.ps1 script to keep changing your wallpapers at regular intervals automatically, from a set of saved wallpapers. Here's how you can do it:
- Create a new folder named custom_wallpapersin theDownloadsdirectory (Eg.%USERPROFILE%\Downloads\custom_wallpapers).
- Store all the wallpapers you want to cycle through in the custom_wallpapersfolder. As mentioned before, the files must be in.jpgformat only, but can have any name.
- [Optional] If you want to change the interval between wallpaper changes, you can modify the AutoScheduler.vbsscript. By default, the interval is set to 1 hour.
- Run the Utils/SafeRunAutoScheduler.ps1script.
That's it! Your wallpapers will now change automatically at the set interval! <3
A log file named
wallpaper_refresh.logwill be created in the root directory of the repository, which will contain the timestamps of each wallpaper change. This can be used to verify the script's working or to debug any issues.
You can stop the script at any time by opening the
Task Managerand ending theMicrosoft Windows Based Script Hostprocess.
If it ever becomes necessary for you to revert to the default wallpaper :"(, you can use the Utils/ResetWallpaper.ps1 script to do so. Here's how you can do it:
- Run the Utils/ResetWallpaper.ps1script.
That's it! Your wallpaper should now be updated to the default one .... :"(
If you want the scripts to run automatically every time you start your system, you can follow these steps:
- In the directory where you cloned the repository, right-click on the AutoScheduler.vbsscript and selectCreate Shortcut.
- Press Win + Rto open theRundialog box and typeshell:startupto open theStartupfolder.
- Move the shortcut you created in step 1 to the Startupfolder.
- Open Task Managerand navigate to theStartuptab to verify that the script has been added to the startup programs, and isEnabled.