-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not running provided custom scripts #377
Comments
Hey there! Is your script really named |
The script has the s at the end, it was only a typo on my part when writing the issue.
Is the script which doesn't seem to be running, made sure the resources are in the right spot and even paused the imaging process to test run it. |
Could it be because the Execution Policy is not set? But then it shouldn't be able to run other scripts right? |
Hello @MercifulCamel, Your issue looks like a misconfiguration, any logs from the imaging creation run would be helpful. Can you please share the imaging tools logs from the PowerShell console that run New-WindowsOnlineImage? Thank you, |
Hi @ader1990 Sorry for the late replay.
New-WindowsCloudImage
|
Hello @MercifulCamel, Has the issue been resolved? Thank you, |
I'm trying to create a W10 Pro golden image.
It doesn't seem like my WindowsCloudImage is running my custom scripts that I have provided.
I added a powershell script that will install provided nvidia drivers and named it RunBeforeWindowsUpdates.ps1, it doesn't seem like it runs at all.
I have tested it and am sure that it will run and install drivers if run manually but would prefer that it was done during windows image creation phase.
Looked through logs in C:\Windows\Panther folder but it didn't shed any light on the problem.
Let me know if there's anymore information I can provide you with
The text was updated successfully, but these errors were encountered: