This message was deleted.
# citrix-vad
s
This message was deleted.
m
Hence the reason why Citrix Optimizer is not using LGPO. There is a .pol file that you can copy from a clean machine over and you will need to modify an .ini file to increase version (so it is reapplied).
Should be in C:\windows\System32\GroupPolicy, but it's been ~15 years since I've done that last time (we used to clone GPO to LGPO to apply settings to NT4 users)
🧙‍♂️ 1
r
Use LGPO.exe, download it from MS. Unpack it locally and copy the resulting LGPO.exe file to C:\Windows\System32. Then LGPO.exe /b backup_path and apply to new machine LGPO.exe /g backup_path
a
thanks guys! so if i understand right i could set my local gp the way i way , run a backup w/ lgpo, and then restore everyones desktops w/ that backed up copy? (hopefully it will let me run lgpo silent)
so what about if you have a policy set in local gp and you want to undo it completely (set it back to not configured so the user can adjust)
r
Export from a clean machine with no extra lgpo and import it? Google search says RD /S /Q "%WinDir%\System32\GroupPolicyUsers" && RD /S /Q "%WinDir%\System32\GroupPolicy"
a
wonder if thats the route i'm reading on now where you almost would do that to completely wipe out/reset local gp and then could import another that has only the ones you still want set
r
I would say so.
Or yea I mean.
Let's see if Martin catches my emoji lol.
😄 1
a
i would think i could automate all this with a single ps1 deployment to clear/import then. thanks for all the help!
r
Sure can. What's with the lgpo though? Just curious.
a
well my gold image i ran citrix optimizer and a little bit of the vmware one so one of them must have set those things locally i'm guessing (sounds like probably not citrix from what martin is saying)
usually i try to stick w/ registry keys if i can if i dont set them in wem or ms gp
r
The VMware one is extremely brutal. It will jack up stuff. I ran it long time ago. You have know everything it does. If not, them it's a pain. It use to have verison control to show u want it modified.
a
i wonder if i could do that after the fact. i did go through each entry pretty carefully i thought to make sure i was only adjusting things i wanted
r
Oh them sounds like you got it under control. I recall, it being able to revert. But it's been a long time. Once Citrix optimizer came out. I dropped the VMware one.
Citrix one is alot more forgiving and support is 100% better.
But I think the lgpo will get you back into a good state.
a
cool yup the total reset then lgpo w/ a tweaked .pol files seems like it should do the trick so thank you for everyones help!
yup that vmware one seems to have add a boat load of stuff to local gp. using rsop.msc to see whats set locally and gonna clear that all out and make reg entries for the stuff we really want for now for HKLM stuff and utilize wem for the hkcu stuff.
r
Any luck man?
a
i think i'll be good.......still working on breaking out the stuff i want to keep/remove that was set w/ vmwares optimizer in local gp and then what is HKLM vs HKCU so i know what i just want in the image vs set via WEM. the LGPO.exe you all suggested will be key then so thanks again!
the funny/dumb thing that brought all this on is people bitching about the lock screen Windows Spotlight slideshow not working in VDI like it does on their laptop. found thats disabled w/ vmware so that got me down this rabbit hole. ultimately i found how to not lock that down but can't find how to set it back to the default again like it was (not that thats a deal breaker feature....or even a smart one to have on but wanted to see if it was even possible)