Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue deploying on windows 11 #2

Open
Elochar opened this issue Jun 29, 2022 · 0 comments
Open

Issue deploying on windows 11 #2

Elochar opened this issue Jun 29, 2022 · 0 comments

Comments

@Elochar
Copy link

Elochar commented Jun 29, 2022

Hey Joesph,
I had an issue using this script on windows 11. I went to this https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.WindowsDesktop::Wallpaper and found that I needed to change the style (fit, stretch, fill, etc,.) to the ones listed on the website. Here is the section I changed:

$WallpaperStyle = Switch ($Style) {

"Fill" {"4"}
"Fit" {"3"}
"Stretch" {"2"}
"Tile" {"1"}
"Center" {"0"}
"Span" {"5"}

}

After this I was able to get the script working correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant