tired-it
Member
- Messages
- 221
- Reaction score
- 20
Currently trying to debug the Post-Setup section of a Windows 11 23H2 ISO.
Previously the RunOnce script was not executing on the first user login. A few changes later the Windows install became stuck on "Just a moment." Moved a command to the User section and now the install completes, but the Post-Setup dialogue box and command prompt show and just stay there... I can cancel it out, but it should not be popping up to begin with. The Post-Setup box says "cmd" and "cleaning up," but never makes any progress.
I confirmed that all the programs installed fine as far as I can tell. The wifi commands and files succeeded. The background image is applied. The delete commands are working fine.
The only thing left is the RunOnce script. I have the script set to merge a .REG file that is previously copied into the mounted directory. This was mostly copied from Garlin's explanation and suggestion for making certain changes post-logon. The problem is that the first user to log on no longer sees those changes occurring. If I sign out and enter another profile, the script runs fine because I can visibly see the changes being made shortly after logging on.
Any idea what is going on? Is there a way to generate a log file that I can try to diagnose the issue with? I originally had the RunOnce script in the User section of Post-Setup, should I move it back? Is being in the Machine section the cause of of the dialogue and prompt showing up on the first user logon?
Quick edit: I'd like to mention that I have been making updated ISOs with every new cumulative update from MS while using the same presets. It was only the past month or so that I noticed that the RunOnce script was seemingly not working the same anymore.
Previously the RunOnce script was not executing on the first user login. A few changes later the Windows install became stuck on "Just a moment." Moved a command to the User section and now the install completes, but the Post-Setup dialogue box and command prompt show and just stay there... I can cancel it out, but it should not be popping up to begin with. The Post-Setup box says "cmd" and "cleaning up," but never makes any progress.
I confirmed that all the programs installed fine as far as I can tell. The wifi commands and files succeeded. The background image is applied. The delete commands are working fine.
The only thing left is the RunOnce script. I have the script set to merge a .REG file that is previously copied into the mounted directory. This was mostly copied from Garlin's explanation and suggestion for making certain changes post-logon. The problem is that the first user to log on no longer sees those changes occurring. If I sign out and enter another profile, the script runs fine because I can visibly see the changes being made shortly after logging on.
Any idea what is going on? Is there a way to generate a log file that I can try to diagnose the issue with? I originally had the RunOnce script in the User section of Post-Setup, should I move it back? Is being in the Machine section the cause of of the dialogue and prompt showing up on the first user logon?
Quick edit: I'd like to mention that I have been making updated ISOs with every new cumulative update from MS while using the same presets. It was only the past month or so that I noticed that the RunOnce script was seemingly not working the same anymore.