nsvova.blogg.se

Start menu location windows 11
Start menu location windows 11











In case anyone is ever interested here is my solution I've come up with so far: So I'm not sure if there's something I'm missing with the setup or how the user account is being created that's maybe resetting my pins after the program runs in group policy? I hope this makes sense. If I delete the file, log out, log back in, then it will fix my start menu and then proceed to work correctly from there. When I log on as a new user, the file that is supposed to be created exists already, so the program just doesn't do anything.

#Start menu location windows 11 code

The code actually was a little more simple before but I've been trying different variations to try to make it work as cleanly as possible. That way people can save new pins to the menu so long as that file exists.

start menu location windows 11

So, in theory, it checks under a folder in the C: drive, if the file isn't there, it resets the start menu pins. New-Item $env:SystemDrive\Layouts\User_Start-Menus'\Delete2ResetStartMenu_'$env:USERNAME.txt'' #create file to complete if loop statement Stop-Process -Name "StartMenuExperienceHost" -Force #overwrites start.bin to set up custom start menu for each userĬopy-Item -Path $env:SystemDrive\Layouts'\start.bin' -Destination $env:SystemDrive'\Users\'$env:username'\AppData\Local\Packages\_cw5n1h2txyewy\LocalState'

start menu location windows 11

start menu location windows 11

ps1 file checks for, therefore making the program not run and fix their start menu. It fixes the initial account that I use to set up the image, but any other users that log in seem to already have the file that the. The program works, it runs through group policy at logon. Basically I have a start.bin file that I want to copy to each user profile that logs in to reset the start menu pins to be custom ones I have set up. Hello! I've been scratching my head on this one and maybe just making it more complicated than it needs to be.











Start menu location windows 11