Jump to content











Photo
- - - - -

registry key location?


  • Please log in to reply
3 replies to this topic

#1 stayboogy

stayboogy

    Member

  • Members
  • 47 posts
  •  
    United States

Posted 30 December 2018 - 03:17 AM

what registry key in a basic build of winpe calls the startnet.cmd file? I can't seem to find it for the life of me.

 

that is all, just need the location, thank you.



#2 erwan.l

erwan.l

    Gold Member

  • Developer
  • 2452 posts
  • Location:Nantes - France
  •  
    France

Posted 30 December 2018 - 01:49 PM

startnet.cmd is not specified thru a registry key.

 

startnet.cmd is normally called from winpeshl.ini in \windows\system32.

 

if no winpeshl.ini or no app defined in winpeshl.ini, i believe winpeshl.exe will launch startnet.cmd by default.

 

my default winpeshl.ini below : launch startnet.cmd and launch a shell.

[LaunchApps]
%SYSTEMDRIVE%\Windows\system32\startnet.cmd
;tinyshell
;%SYSTEMDRIVE%\windows\tinyshell.exe
;OR winxshell
%programfiles%\WinXShell\WinXShell.exe -winpe

  • wimb likes this

#3 stayboogy

stayboogy

    Member

  • Members
  • 47 posts
  •  
    United States

Posted 30 December 2018 - 08:25 PM

just was looking for the key, i'm well versed with winpeshl.ini and startup scripts and shells etc.

 

 

i looked forever and couldn't find anything in the registry.  the only thing I could find was the shell at winlogon "cmd.exe /k start cmd.exe" which is handled when startnet.cmd and winpeshl.ini are not present.

 

so i figured it must be handled by an exe in the system. thanks for the info



#4 slore

slore

    Member

  • Members
  • 51 posts
  •  
    China

Posted 03 January 2019 - 03:22 PM

[HKLM\System\Setup]
"CmdLine"="winpeshl.exe"

with proexp.exe you can see it clear.

 

winlogon.exe

   winpeshl.exe

      cmd.exe /k startnet.cmd

 

winpeshl.exe startup wallpaperhost.exe, then check if setup.exe exists,

otherwise check if winpeshl.ini exists, then call startnet.cmd.

 

you can see the winpeshl.log.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users