While testing Policy Plus on a fresh Windows 10 Pro VM yesterday, I noticed that the policy changes I made didn't take effect. They didn't even get written to the Registry, despite the save operation claiming to complete successfully.
It turns out that the POL files were written correctly, but gpt.ini had only the section header, no Version line. That piece of data was the key. Policy Plus only checks whether gpt.ini exists, and if it does, it looks for and updates the Version line, but if there is no such line, the file is re-written with no alterations. So I adjusted the POL source saving routine to keep track of whether it's seen the necessary lines and, if it hasn't by the end of the file, add them.
These changes were released yesterday in this GitHub commit.
No comments:
Post a Comment