Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Booting another application as windows shell

  1. #1
    Constant Bitrate psyclobe's Avatar
    Join Date
    Oct 2003
    Posts
    202

    Booting another application as windows shell

    Hi All,

    I'm currently trying to boot media engine as the shell of my windows xp computer instead of the default winlogon/explorer combo windows launches by default. You can do this by modifying the registry and telling windows that its in setup mode. You then point to any .exe file as the command line and windows will start it. For all you guys writing your own front ends, I think if you implemented support for such a modification of ones system, you could further reduce start times and remove some of the un-needed overhead which is caused by a general operating system.

    Here's how you do it:

    HKEY_LOCAL_MACHINE\SYSTEM\Setup
    cmdLine = Path to your program
    SetupType = 1
    SystemSetupInProgress = 1
    Delete OsLoaderPath

    Note: These settings are reset after the first boot, so any "shell" app written would need to modify these keys on startup as needed.

    So I get mediaengine to be executed, but it runs into a problem with the error:

    Run-time error 426:

    The remote server machine does not exist or is unavailable

    What does that mean? I know that in "setup" mode is causing it, but if I could figure out the root meaning of this error, I could possibly find a workaround.

    I guess I should set cmd.exe as the shell then try some other steps to debug the problem...

    Mediacar gives the following error:

    Subscript array out of bounds (Or something close to that)

    -Jason

  2. #2
    Newbie garfin's Avatar
    Join Date
    Dec 2003
    Posts
    7
    best way to change the shell would be "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" change the value of shell to the program you plan on using, this should avoid any graphics server errors

  3. #3
    Constant Bitrate psyclobe's Avatar
    Join Date
    Oct 2003
    Posts
    202
    Well that certainly looks as if it will work much better-however you still have to login and what not. I think in the hacked setup mode the service manager is not running-thus there may be many key things not initialized which these apps need.

    -Jason

  4. #4
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842
    isnt there a check box inside media engine to make it the default shell instead of explorer? I never checked it, does it work?

  5. #5
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846
    Quote Originally Posted by psyclobe
    Well that certainly looks as if it will work much better-however you still have to login and what not. I think in the hacked setup mode the service manager is not running-thus there may be many key things not initialized which these apps need.

    -Jason
    The solution to that is to just set windows up to autologon

    HKLM\Software\Microsoft\Windows NT\Current Version\Winlogon

    Add Values REG_SZ
    AutoAdminLogon Value 1
    DefaultUserName Value "Your User Name"
    DefaultPassword Value "Your Password"

    I have also attached a file. just edit the file with your values, change the extension to ".reg" and then you can import it into the registry.

    Frodo
    Attached Files Attached Files
    [H]4 Life
    My next generation Front End is right on schedule.
    It will be done sometime in the next generation.
    I'm a lesbian too.
    I am for hire!

  6. #6
    Constant Bitrate
    Join Date
    Aug 2003
    Location
    Lancaster, PA
    Posts
    204
    I used Tweak UI to set it up on mine.

  7. #7
    Constant Bitrate psyclobe's Avatar
    Join Date
    Oct 2003
    Posts
    202
    Yes, autologon is great and all, but you still go through the logon process. You still have to wait for windows to load your profile, etc. etc. I'm not saying that I can't figure out how to auto boot into a program-thats already there. What I was proposing was a complete bypass of the regular os loading routines-a step in the direction of a stripped down os used purely for media.

    -Jason

  8. #8
    Nic
    Nic is offline
    FLAC Nic's Avatar
    Join Date
    Oct 2003
    Location
    Melbourne, Australia
    Posts
    1,047
    Quote Originally Posted by psyclobe
    Yes, autologon is great and all, but you still go through the logon process. You still have to wait for windows to load your profile, etc. etc. I'm not saying that I can't figure out how to auto boot into a program-thats already there. What I was proposing was a complete bypass of the regular os loading routines-a step in the direction of a stripped down os used purely for media.

    -Jason
    so how do we make it work?

  9. #9
    Constant Bitrate psyclobe's Avatar
    Join Date
    Oct 2003
    Posts
    202
    Donnou, guess we don't ;P

  10. #10
    Constant Bitrate Magnezium's Avatar
    Join Date
    Oct 2003
    Location
    Los Angeles, CA
    Posts
    195
    Quote Originally Posted by psyclobe
    Donnou, guess we don't ;P
    I'm not saying this is absolutely the answer, but try windows XP Embedded. You can program it to boot that program as the shell while still keeping all the files needed. Not to mention, it saves lot's of space and boots much faster. Also, if you're REALLY into speed, and you're willing to spend the money, you can use DOC (Disk on Chip) technology and put the operating system and media engine on it, and put a hard disk as well for all your settings and what not.

    Just a thought.

    Mg.
    Just your friendly neighborhood computer specialist.

    2002 Pontiac Trans Am WS.6
    Silver/Black
    Looks like new... Wanna know why they call me "Crash"?

Page 1 of 2 12 LastLast

Similar Threads

  1. Windows Welcome Splash?
    By Bj in forum Software & Software Development
    Replies: 4
    Last Post: 09-22-2003, 12:15 PM
  2. Alternative Windows Shells, 98 micro
    By Jake in forum Software & Software Development
    Replies: 7
    Last Post: 10-25-2002, 03:36 PM
  3. new windows shell & 'shell=' for win2K
    By magnetik in forum Software & Software Development
    Replies: 2
    Last Post: 04-16-2002, 08:47 PM
  4. Windows 95-98 networking + Windows machine booting in dos mode every time...
    By SkinnyBoy in forum General Hardware Discussion
    Replies: 29
    Last Post: 08-21-2001, 12:18 PM
  5. Booting up question for Windows
    By minnow255 in forum Software & Software Development
    Replies: 9
    Last Post: 09-14-2000, 12:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •