How to Change Windows 11 to Dark theme from CLI?
Mahad loves building mobile and web applications and is here to take you on a journey, filled with bad decisions and learning from mistakes, through this blog.
Search for a command to run...
Mahad loves building mobile and web applications and is here to take you on a journey, filled with bad decisions and learning from mistakes, through this blog.
No comments yet. Be the first to comment.
Introduction Hosting your email server is the first step to secure your privacy It saves you money if you own multiple domains What You'll Need [ ] Brand new VPS or any Linux Server (My recommended VPS provider is Linode) [ ] Ubuntu 22.04 LTS i...
Introduction AWS has a MySQL compatible database but it's expensive and sometimes the cost doesn't justify the convenience we get from having such a service for personal projects or projects that don't make money. The alternative solution is to have ...
How to Setup EC2 for Dockerized Next.js Deployment Introduction Next.js is great serve-side oriented frontend framework that makes building SEO-friendly websites easier. Deploying it is trickier than it needs to be, I understand Vercel needs to make ...
Sometimes you need to allow for self-hosted subscription of your SaaS whether it's because your client has their own air-gapped system that is not connected to the internet or they want to host it in their on-premise servers. Having the option is alw...
I'm running windows 11 on a virtual machine to do few tests and I wanted to change the theme but in order to do that you need to activate your copy of Windows.
I don't think it's feasible to buy a license to test few things in a virtual machine.
If you are in the same situation as me and hate light mode because it hurts your eyes, here is a single command to change the system theme to dark.
Click the start button or press Window key, then type powershell and click Window Powershell

Paste the command below in the Powershell Window and press Enter to run the command.
rundll32.exe themecpl.dll,OpenThemeAction C:\Windows\resources\themes\dark.theme
If you don't want this theme and need to use a different one, check the available themes using this command:
dir C:\Windows\resources\themes\*.theme
Then replace the last part of the previous command dark.theme with whatever theme you want. For example, you want to use themeC.theme instead:
rundll32.exe themecpl.dll,OpenThemeAction C:\Windows\resources\themes\themeA.theme
NOTE: You might need to restart and rerun the command for changes to take effect.