Windows Product Policy Editor

Discussion in 'MDL Projects and Applications' started by kost, Nov 11, 2012.

  1. testtest322

    testtest322 MDL Senior Member

    Nov 20, 2016
    440
    76
    10
    Many thanks.
     
  2. LiteOS

    LiteOS MDL Expert

    Mar 7, 2014
    1,683
    714
    60
    #42 LiteOS, Aug 20, 2017
    Last edited: Aug 20, 2017
    Kernel-WindowsMaxMemAllowedx86 what is this ?
    can it change to more then 4giga without kernel patch ?

    Works :D
     
  3. angelkyo

    angelkyo MDL Novice

    Aug 13, 2012
    25
    20
    0
    Modify offline registry





    Code:
    private void checkBox1_CheckedChanged(object sender, EventArgs e)
    {
        if ( checkBox1.Checked == true )
        {
            Object obj = Registry.GetValue(@"HKEY_LOCAL_MACHINE\PPE\ControlSet001\Control\ProductOptions", "ProductPolicy", null);
            if (obj != null)
                Program.ProductOptionsKey = "HKEY_LOCAL_MACHINE\\PPE\\ControlSet001\\Control\\ProductOptions";
    
            else
            {
                Program.ProductOptionsKey = "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\ProductOptions";
                if (DialogResult.OK == MessageBox.Show("Please manually mount SYSTEM registry file to\r\nHKEY_LOCAL_MACHINE\\PPE", "Tips", MessageBoxButtons.OK))
                    checkBox1.Checked = false;
            }
        }
        else
            Program.ProductOptionsKey = "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\ProductOptions";
        Program.ReadAndParsePolicy();
        List.ListViewItemSorter = lvcomparer;
        RefreshContent();
    }
     
  4. testtest322

    testtest322 MDL Senior Member

    Nov 20, 2016
    440
    76
    10
    #45 testtest322, Apr 18, 2018
    Last edited: Apr 18, 2018

    Attached Files:

  5. xinso

    xinso MDL Guru

    Mar 5, 2009
    4,248
    5,522
    150
  6. testtest322

    testtest322 MDL Senior Member

    Nov 20, 2016
    440
    76
    10
    #47 testtest322, Apr 19, 2018
    Last edited: Apr 19, 2018
    For export text not.. try :D

    You need this..

    private void buttonExportTxt_Click(object sender, EventArgs e)
    {
    SaveFileDialog saveFileDialog1 = new SaveFileDialog();
    saveFileDialog1.AutoUpgradeEnabled = false;


    Also it would be nice to edit offline ... i saw on some chinese forum 1.5 version.
     
  7. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,084
    1,878
    210
    Anybody got version 1.5?
     
  8. remek002

    remek002 MDL Novice

    Oct 28, 2012
    31
    50
    0
    #50 remek002, Apr 29, 2018
    Last edited: May 7, 2018

    Attached Files:

  9. testtest322

    testtest322 MDL Senior Member

    Nov 20, 2016
    440
    76
    10
    How to replace ProductPolicy?
    Where sppsvc reads from backup?
     
  10. LiteOS

    LiteOS MDL Expert

    Mar 7, 2014
    1,683
    714
    60
    Any policy for sets or explorer ?
     
  11. Tard

    Tard MDL Novice

    Jan 5, 2012
    19
    6
    0
  12. LiteOS

    LiteOS MDL Expert

    Mar 7, 2014
    1,683
    714
    60
    Im talking about the topic product policy
     
  13. angelkyo

    angelkyo MDL Novice

    Aug 13, 2012
    25
    20
    0
    sp180520_191712.png

    1.5 en-US
     

    Attached Files:

  14. angelkyo

    angelkyo MDL Novice

    Aug 13, 2012
    25
    20
    0
    sp180520_193320.png

    1.5 zh-CN(中文版)
     

    Attached Files:

  15. WildKid

    WildKid MDL Novice

    Dec 6, 2011
    9
    6
    0
  16. Zombie

    Zombie MDL Novice

    Jun 10, 2010
    23
    0
    0
    Is the cmd.exe window supposed to stay open? Tried with cmd.exe /k , i see the cmd window flashing upon boot, but after that the boot just continues as normal.

    Nevertheless, on a Server 2019, sppsvc off, apply ProductOptions.reg from a Win10Pro install i managed to boot it as something version 1809. Control Panel and winver say blank for the windows version, and it's nonactivated. Is it actually possible to activate it in this mode somehow? Preferrably as Pro Workstation. Some reg keys I should copy over from a pro workstation install?

    While sppsvc is off slmgr just throws "Error: 0xC0020036" so can't install a product key that way.

    Tried setting sppsvc start type 4->3 one time already, and the install was back as Server 2019 without any issues. But while running it in this blank edition bastard mode, my concern is - is this feasible permanently or is there going to be a gotcha moment when it won't run anymore?

    My worry is that if I install some desktop edition only software, the software won't run anymore when back as Server.

    Just updated with wsusoffline, Microsoft Windows [Version 10.0.17763.805] -->> Microsoft Windows [Version 10.0.17763.914] .