Score:0

Are there other Windows PE autorun locations apart from startnet.cmd?

jp flag

I'm trying to add some commands to a PE Windows that is booted from USB.

I found this: Windows PE autorun scripts, saying that the "autoexec.bat" equivalent can be found here:

\Windows\System32\startnet.cmd

When I add commands to startnet.cmd, they are however not executed.

I have also searched the Registry of this PE system, but it doesn't have any of the typical autorun entries either.

Also, there is no Startup folder, at least not at:

Users\[Username]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

Are there other locations for autostart activity in a PE windows?

Score:0
jp flag

OK so I found two more Autostart locations here:

  • winpeshl.ini in %windir%\System32 (this one starts the actual shell of the WinPE system)
  • Autounattend.xml in the drive's root
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.