Kingells684
New Member
- Messages
- 7
- Reaction score
- 1
Hi All,
First time posting here, at my wits end trying to work out how to get this to work so hoping someone can share some knowledge.
I'm trying to make an NTLite image that automatically runs a Winget powershell script to install Chrome, Adobe Reader and Java post install on a Windows 10 ISO (and Windows 11 once I get it to work)
I tried to add the AppInstaller bunder using the W10_11StoreApps script created by another user on here (Sorry I forget their name) - When the image is created Winget does not work as it still believes the command is unrecognized in Powershell.
I tried to include a script that runs post setup in User context using Unattended setup (Ensuring OEM Setup Complete and Copy to boot image are ticked) - Nothing pops up and runs when this is setup, it just boots to windows like normal
Originally I wanted Windows to prompt you to create a user, not automatically create one as we wanted to set the password on build. I then changed it incase this was causing issues to create a windows account via NTLite but this also made no change.
I've also now included the latest online updates in the Integrate updates section, unfortunately this has made no difference either.
Nothing I seem to do is making these post setup scripts run, I've had success in the past using EXE's that silently install for Chrome, Reader and Java but these quickly become outdate and using Winget ensures that it's always the latest version being used as it's from the online Winget repository.
I've noticed that when the image is created, NO SetupComplete.cmd script is created in the sources\$OEM$\$$\Setup\Scripts location. I can see both the files I have created in the FilesU folder. (Unsure if this is correct or not)
Thinking it may be an issue with the scripts, I used PS2EXE converter and then integrated both EXE's into the post-setup section, again no luck there.
I also thought it may have been that by default the ExecutionPolicy on PC's will be set to restricted so I included a registry key to set this as unrestricted, I can see the regkey has worked as when checking the Execution Policy on PC's that have been built the policy is set to unrestricted. I've also ensured UAC prompts are disabled so this does not conflict with running programs in the post setup portion.
Hopefully that makes some sort of sense, let me know what files / info you need from me to investigate further if anyone can help!
Thanks in advance.
First time posting here, at my wits end trying to work out how to get this to work so hoping someone can share some knowledge.
I'm trying to make an NTLite image that automatically runs a Winget powershell script to install Chrome, Adobe Reader and Java post install on a Windows 10 ISO (and Windows 11 once I get it to work)
I tried to add the AppInstaller bunder using the W10_11StoreApps script created by another user on here (Sorry I forget their name) - When the image is created Winget does not work as it still believes the command is unrecognized in Powershell.
I tried to include a script that runs post setup in User context using Unattended setup (Ensuring OEM Setup Complete and Copy to boot image are ticked) - Nothing pops up and runs when this is setup, it just boots to windows like normal
Originally I wanted Windows to prompt you to create a user, not automatically create one as we wanted to set the password on build. I then changed it incase this was causing issues to create a windows account via NTLite but this also made no change.
I've also now included the latest online updates in the Integrate updates section, unfortunately this has made no difference either.
Nothing I seem to do is making these post setup scripts run, I've had success in the past using EXE's that silently install for Chrome, Reader and Java but these quickly become outdate and using Winget ensures that it's always the latest version being used as it's from the online Winget repository.
I've noticed that when the image is created, NO SetupComplete.cmd script is created in the sources\$OEM$\$$\Setup\Scripts location. I can see both the files I have created in the FilesU folder. (Unsure if this is correct or not)
Thinking it may be an issue with the scripts, I used PS2EXE converter and then integrated both EXE's into the post-setup section, again no luck there.
I also thought it may have been that by default the ExecutionPolicy on PC's will be set to restricted so I included a registry key to set this as unrestricted, I can see the regkey has worked as when checking the Execution Policy on PC's that have been built the policy is set to unrestricted. I've also ensured UAC prompts are disabled so this does not conflict with running programs in the post setup portion.
Hopefully that makes some sort of sense, let me know what files / info you need from me to investigate further if anyone can help!
Thanks in advance.