简体   繁体   中英

Change Windows 10 wallpaper programmatically (Restricted using 'Active Desktop Wallpaper in Group Policy')

To be sincere, in my company system changing the wallpaper has been restricted. They have put up a black screen as wallpaper, so whenever I open up the system it feels like am in a dead place.

I think they are using 'Active Desktop Wallpaper in Group Policy' for restricting the wallpaper change. First of all, am just curious to know whether it is possible and is there a way to override this programmatically? I don't need full code, some pointers would be really helpful.

There is no way to change the wallpaper if it was restricted in the windows group policy, this applies to all windows version, including Windows 10, any attempts of trying to change it via winapi functions will result in failure, and changing the GP using a non-administrator account is not possible.

Also, sins you said that this is in the company for which you work I suggest staying away from any attempts of changing it as you may get into trouble.

Just something that I wouldn't recommend but is kind of possible

There is a way tho to not really change the wallpaper but instead create a type of overlay which will put a image in front of the wallpaper while still having files and folders be top most, a good example of this is Wallpaper Engine, but I wouldn't recommend doing this either, because, just like attempting to change the actual wallpaper, it may result in you getting into trouble.

If you are restricted to change the wallpaper by a windows policy, nothing can allow you to do it.

Any WinAPI will refuse to do that.

As I know.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM