Repository navigation
Description
Checklist
- I looked at https://github.com/PhoenixPE/PhoenixPE/wiki/FAQ to see if my question has already been answered.
- I performed a search in the issue tracker for similar issues using keywords relevant to my problem, such as the error message I got from the log.
Report
Describe what is happening
When booting up a freshly made PE.iso there is a missing file and asks if It can save a new one. The file is called desktop.ini . I have built 8 different versions of PE.isos with different settings and windows sources. Ive tried looking at the newly made PE.iso install.wim file and went to the directory where it said the file was missing and it shows the file as being there. I did thorough research to see if this issue was documented before with no luck.
I looked through the PheonixPE log file and the only thing relevant to this error are these lines below. Ill attach the full log in case I missed anything.
14:23:45:826 Loading the Shell...
14:23:45:826 The Shell is already running.
14:23:45:826 PostShell Processing...
14:23:45:826 RunProgram(): [X:\windows\system32\attrib.exe +s +h X:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup] PID 2420 started.
The missing file is desktop.ini
The location of the missing file is X:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
Current source build is Windows 10 20H2
Seems like something is deleting that file after the fact.
To Reproduce
Step-by-step instructions on how to reproduce the behavior:
- Boot into the WindowsPE.iso
- Wait until it shows the error message below.
Expected behavior
When booting into the PE.iso I expect there to be no errors.
Screenshots/Logs
If applicable provide any error messages, log files, screenshots, scripts, etc. that may be helpful for troubleshooting or further explain your issue.



Activity
homes32 commentedon Jan 20, 2024
I'm able to reproduce this with a Win10 source and have an idea where the problem might be. Thanks for reporting.
schrebra commentedon Jan 21, 2024
I wanted to give more information while I try out different configurations. I tried Windows 10 20H1 as a source and got the same issue with the missing file. However, with 20H1 with the notepad2 script removed and no third party notepad installed. I got it to open with regular notepad but did not say it was missing. I did check though and it was missing.


Fixed file attributes not applied when extracted. (Issue #75)
homes32 commentedon Jan 22, 2024
This was an interesting one. File attributes were being stripped when the WIM file was extracted, however PECMD was either intentionally or unintentionally suppressing execution of the start menu Startup folder. This is not documented behavior. With the move to AU3 the desktop.ini files did not have the hidden and system attributes applied so it executed like a regular program. The file attributes have been corrected so this issue should no longer occur.
schrebra commentedon Jan 22, 2024
You're awesome. Thank you for your time and dedication to an awesome project. I plan on trying out new releases in the future so I'll try to submit anything not working. :)
Mikka-TheOne commentedon Jan 22, 2024
One last note before the issue is closed:
In the new release, I noticed that on the Desktop, in addition to shortcuts, the Desktop.ini file is also displayed (partially transparent due to its hidden attribute). I finally edited line 477 in
001-Explorer.script:RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","ShowSuperHidden",0If Show Hidden & System Files is now ticked in
001-Explorer.script, no Desktop.ini appears on the Desktop.homes32 commentedon Jan 23, 2024
Easy enough to add as an option. I don't really like hidden/system/extensions lumped together anyway.
Separate options in Explorer script for Show/Hide files with the Hidd…
Mikka-TheOne commentedon Jan 23, 2024
I'm using a personalised version of
001-Explorer.scriptin MyApps.Apart from special requirements for me (commented out lines), it also comes with a few useful changes for everyone.
They are indicated in the comments ["(Mikka)"]. I've attached it even if it's somewhat off-topic.
001-Explorer_(mod).zip