Apply Group Policy during setup properly. LGPO.exe

Discussion in 'Scripting' started by ForeverYoung2, Jun 16, 2017.

  1. ForeverYoung2

    ForeverYoung2 MDL Novice

    Dec 5, 2015
    Can someone please tell me how to add this simple command to my install.wim ?
    preferably before user creation since it's Computer GPO not user related.

    lgpo is already in system32 so it can run via cmd normally.
    LGPO.exe /g C:\folder
    also please suggest the folder/path where to store the GPO files that are being imported.

    Currently editing wim via poweriso

    Do I Simply add SetupComplete.cmd file manually?
    Just this?