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
PowerShell
andVBScript
, 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.git
If 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.ps1
script by right-clicking on it and selectingRun with PowerShell
. (For pro-users, you can also run it from thePowerShell
terminal, 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.jpg
in theDownloads
directory
The script currently supports only
.jpg
files. If you have a different format, you can convert it to.jpg
using an online converter, and the name must follow the formatwallpaper.jpg
.
If you're unsure about the location of
Downloads
directory, you can find it openingFile Explorer
and typing%USERPROFILE%\Downloads
in the address bar.
- Run the
Utils/OneTimeChanger.ps1
script.
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_wallpapers
in theDownloads
directory (Eg.%USERPROFILE%\Downloads\custom_wallpapers
). - Store all the wallpapers you want to cycle through in the
custom_wallpapers
folder. As mentioned before, the files must be in.jpg
format only, but can have any name. - [Optional] If you want to change the interval between wallpaper changes, you can modify the
AutoScheduler.vbs
script. By default, the interval is set to 1 hour. - Run the
Utils/SafeRunAutoScheduler.ps1
script.
That's it! Your wallpapers will now change automatically at the set interval! <3
A log file named
wallpaper_refresh.log
will 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 Manager
and ending theMicrosoft Windows Based Script Host
process.
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.ps1
script.
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.vbs
script and selectCreate Shortcut
. - Press
Win + R
to open theRun
dialog box and typeshell:startup
to open theStartup
folder. - Move the shortcut you created in step 1 to the
Startup
folder. - Open
Task Manager
and navigate to theStartup
tab to verify that the script has been added to the startup programs, and isEnabled
.