Execute VBScript and Import XML to Task Scheduler

weehongayden

New Member
Hello everyone,

I have exported VBScript and XML files that use to recover the Local Group Policy Editor and the Task Scheduler configurations.

Is it possible to run the VBScript and XML files right after the Windows installation using SetupComplete.cmd?
 
From Explorer, select & drag the XML files to the Post-Setup screen. NTLite will copy them to a new $OEM$\$$\Setup\Files folder.
Now add the VBScript files, and edit the Parameters column to "%WINDIR%\Setup\Files"\*.xml
 
garlin

I assume you thought I wanted to use the VBScript to trigger the XML files, right?
If so, I would like to apologize for not making my question clear.

These VBScript and XML are two standalone files.
 
No problem. If the scripts are standalone, then you don't need parameters.

For the XML files, if you want to copy them to the new system then create a new folder in ISO folder:
Code:
sources\$OEM$\$1\path
sources\$OEM$\$$\path
$1 = C:\
$$ = C:\Windows

For example, to install GPO templates copy the ADMX files to $$\PolicyDefinitions and ADML to $$\PolicyDefinitions\[language]
 
Back
Top