From MF-DC-02
Export Needed Registry entries from a Test PC and copy to C:\temp\RegToXML
Open WindowsPowerShell ISE >> File >> Open C:\temp\RegToXML\RegToXML.ps1
Click on PLAY
Enter the path for .reg file. in this case I used C:\temp\RegToXML\Lock_Screen_Timeout.reg
Enter the path AND file name and extension as C:\temp\RegToXML\Lock_Screen_Timeout.xml
This will create the XML based on the REG entry.
Go Back to C:\Temp and create a Folder specific for the REG and Recently Created XML files
In this, we created C:\temp\System Unattended Sleep Timeout and Lock Screen Timeput Registry Entries and copied here the 2 XML result files from script above.
These XML files can be copied and pasted onto the GPO we are creating
Thanks,
Audel