cleitet / wpkg-gp

Running WPKG as a Group Policy Extension
https://github.com/cleitet/wpkg-gp/wiki
25 stars 17 forks source link

Win 10 Compatibility... #121

Open kejones999 opened 6 years ago

kejones999 commented 6 years ago

Hi Clietet,

There's currently an issue with WPKG-GP not working with Win 10 very well due to the new optimizations (Hybrid start-up/fast boot). When fast boot is on, Win 10 now presumes that ALL group policy extensions should automatically be able to run in the background and then register themselves for foreground processing if they need it. The design is there to have Win 10 machines quietly update themselves in the background so that as little as possible has to be done when a computer boots or restarts. (Gotta love user experience and "my computer boots faster than yours" ideas but it make Win 10 boot very quickly!)

In essence, WPKG-GP can't run in the background so it effectively never runs at all with fast boot on. It could work very well with fast boot with some small tweaks so that it runs in the background and then reports back to the group policy system if "work needs to be done" in the foreground.

To implement that though, you'd need a way to run WPKG,JS and have it query to see if there's work to do. I was working on that recently and ran into Sonicnkt's fork of your code. Sonic's already implemented a QueryFromEXE in addition to your ExecuteFromGPE and ExecuteFromEXE classes. It provides support for the client tool that he's working on to emulate WPKG-client features but as a companion tool for WPKG-gp instead. I've hacked together a QueryFromGPE using his code so that background GPE processing can be used and round things out in a cool way. It could add a lot of potential new ideas back to the mix.

If you're still keen to develop WPKG-GP then it would be great to have a look at merging Sonic's fork in and adding some simple uses of it to make it then work together. Please let me know if you're interested!

Regards,

Keith

PS: As you've seen I've just re-written this request, My apologies for the 1st draft of it. I've been super-excited with ideas for the last week since playing around with Sonic's fork and working out how Win 10 works it's magic. Typically enough though, having found time at last to pitch an idea, I wrote the original message on the day I'd had a really annoyingly horrible day at work and it certainly showed when I read it back earlier today. Gotta laugh! My apologies for the first draft being not very thankful for WPKG-gp. WPKG-gp has made WPKG so much nicer to use! I'm truly grateful it exists!