Member Log In

Not a Member Yet?

It only takes a minute to start enjoying the benefits of AVForums membership, and it's free!

How To: Modify Windows 7 To Boot Straight Into Media Front End

Post Reply
Old 03-04-2012, 3:19 PM   #31
Senior Member
tredman's Avatar
Join Date: Jul 2006
Location: Stafford
Thanks: Gave 110, Got 191
Posts: 2,784
Quote:
Originally Posted by JeffD View Post
My understanding is that little is changed over Win 7 underneath, so this guide should still apply for the registry changes. May install Win 8 as a VM over Easter if I get the time to take a look. Was planning on rebuilding my XMBC pc now Eden Final is out and complete this guide at the same time over the Easter weekend.
Will give it a bash over easter and see how it goes - apart from the difficulty in finding stuff win 8 does seem the same - but better.

Rebuilt all three of my xbmc machines with eden now (ATV1 with crystalbuntu, linux mint desktop & revo with win 8) after setting up a shared SQL library on my little server - wish I'd done it years ago, it was dead easy and now i can stop playback in living room and resume on machine upstairs

Last edited by tredman; 03-04-2012 at 3:23 PM.
  Quote
Advert
Log in or sign up to remove
Old 12-05-2012, 12:16 PM   #32
New Member
Join Date: May 2012
Thanks: Gave 0, Got 0
Posts: 1
Choose a Shell at Boot

Hi,

This is my first post at the AVForums.

I was wondering if there was a way to select a shell to be used at boot, with a default value and a time limit (like dual / multiboot systems )?

Regards,
sunshinekhan
  Quote
Old 14-05-2012, 10:34 AM   #33
Senior Member
Join Date: Jan 2005
Location: Coventry
Thanks: Gave 117, Got 544
Posts: 2,718
Quote:
Originally Posted by sunshinekhan View Post
I was wondering if there was a way to select a shell to be used at boot, with a default value and a time limit (like dual / multiboot systems )?
Hi there, welcome to AVFourms

Each Windows User can have a different shell configured, for example you could have 4 users each using a different shell:

XBMC user that uses XBMC as shell when logged in
Mediaportal user that uses Media portal as a shell when logged in
WMC user that uses Windows Media Centre as a shell when logged in
Admin user that uses standard Windows Explorer shell when logged in

Options for Windows log in are:

1. Windows boots to User selection window then you manually log in.
2. Auto login is configured for a specified user to bypass the user selection process and load straight into the specified user & it's shell.

A delayed default user auto login with a timed countdown is not available as standard, however there are tools which do this such as:

Autologon by LogonExpert
  Quote
Old 14-05-2012, 12:25 PM   #34
Moderator
Join Date: Jan 2009
Location: Manchester
Thanks: Gave 1,582, Got 1,656
Posts: 6,063
I've stickied this thread, as I think it is more useful than perhaps people may already realise
  Quote
Thanks from:
JeffD (14-05-2012)
Old 14-05-2012, 12:54 PM   #35
Senior Member
Join Date: Jan 2005
Location: Coventry
Thanks: Gave 117, Got 544
Posts: 2,718
Thanks

Guess that means I need to find the time to get the last few bits finished off

Btw, not convinced I choose the best name for the thread, is any better ideas?
  Quote
Old 14-05-2012, 1:15 PM   #36
Moderator
Join Date: Jan 2009
Location: Manchester
Thanks: Gave 1,582, Got 1,656
Posts: 6,063
Quote:
Originally Posted by JeffD View Post
Thanks

Guess that means I need to find the time to get the last few bits finished off

Btw, not convinced I choose the best name for the thread, is any better ideas?
Take your time, no rush. As for the name ... no idea If you think of something better, just let a mod know and they can update it.

Cheers!
tsf
  Quote
Old 14-05-2012, 7:20 PM   #37
Senior Member
Join Date: Dec 2005
Thanks: Gave 76, Got 212
Posts: 1,218
Nice and clear looking guide! Great work.

I am tempted to do this, but will it still allow me to run other programs (e.g. emulators) from my HTPC software or will it only allow the HTPC application to run?

Thanks

Robbo100
  Quote
Old 14-05-2012, 9:37 PM   #38
Senior Member
Join Date: Jan 2005
Location: Coventry
Thanks: Gave 117, Got 544
Posts: 2,718
Quote:
Originally Posted by robbo100 View Post
Nice and clear looking guide! Great work.

I am tempted to do this, but will it still allow me to run other programs (e.g. emulators) from my HTPC software or will it only allow the HTPC application to run?
Thanks

Yes you can still run other programs, Windows underneath continues to operate as it normally would.

The default Windows Explorer shell provides the desktop icons, start menu, taskbar & system tray, so replacing it just means you lose these functions, the benefit of this is these items don't intrude on your media experience. For example system tray items can cause full screen windows to minimise as another program tries to grab focus, running your HTPC software as a shell prevents this.

As replacing the shell removes the normal way to launch other programs your HTPC software would ideally provide this function. In XBMC the Advanced Launcher add on will do this, and in WMC you can use something like Media Centre Studio to create new menu strips and icons for launching programs.

The other fallback is doing a Ctrl+Alt+Del to bring up the Task Manager and then running Explorer.exe to start the Windows Explorer shell.

Last edited by JeffD; 14-05-2012 at 9:39 PM.
  Quote
Thanks from:
robbo100 (14-05-2012)
Old 14-05-2012, 9:48 PM   #39
Senior Member
Join Date: Dec 2005
Thanks: Gave 76, Got 212
Posts: 1,218
I might give it a go one night this week then.

Thanks

Robbo100
  Quote
Old 16-05-2012, 3:16 PM   #40
Senior Member
Join Date: Mar 2005
Location: Reading
Thanks: Gave 281, Got 363
Posts: 1,813
Quote:
Originally Posted by robbo100 View Post
I might give it a go one night this week then.

Thanks

Robbo100
Thanks Robbo for offering to be a guinea pig (with MediaPortal, I assume)!

I'd be interested to know if the MultiShortcut plugins work OK, I'm currently launching TMT5's MCE interface via one, with "Hide MP while executing" and "Stop MediaPortal Player" set to "True". TMT takes a fraction of a second to start up, during which I see my Windows 7 desktop.
  Quote
Old 19-05-2012, 9:24 AM   #41
Senior Member
Join Date: Dec 2005
Thanks: Gave 76, Got 212
Posts: 1,218
Right then,

Initial feedback from the "MediaPortal guinea pig" - I hope that name doesn't stick!

It works for MediaPortal (why wouldn't it I suppose, it is just a programme like any other).

I run iMon remote software, so I will need to configure that to run too (which I will try following the advice in this thread for that, but I suggest this gets formally added to the guide so that users don't have to search for it).

The problem I have (and it is a big deal!), is that when I try to watch ANY media that is stored on another computer on the network, MediaPortal can't play it! Any locally stored media is fine though - strange! (However, if I am honest, this is running on a new user account as per your instructions, and I did not check this function before changing the shell, so it could be a problem with the user account rather than the shell). I will report back!
  Quote
Thanks from:
richardb70 (19-05-2012)
Old 19-05-2012, 10:47 AM   #42
Senior Member
Join Date: Jan 2005
Location: Coventry
Thanks: Gave 117, Got 544
Posts: 2,718
I run any additional software which doesn't need gui interaction as services, for example I have Anydvdhd running as a service to decrypt blu-rays in the background, I setup Anydvdhd with the Admin account running the Windows default shell then add it as a service, not sure if this is the advice you refer to.

As for networking, that definitely still works after changing shell as all my media is on a server running WHS2011, but as you pointed out I needed to make sure all users on the htpc had permissions to access the folders. Will add a note about checking this before switching shells.

To check networking from new user account, exit mediaportal then do a Ctrl+Alt+Del and select Task Manager and follow steps at bottom of post #3 to start the default Windows Explorer shell so you can check your network access from the new user account.

Last edited by JeffD; 19-05-2012 at 10:58 AM.
  Quote
Old 19-05-2012, 12:42 PM   #43
Senior Member
Join Date: Dec 2005
Thanks: Gave 76, Got 212
Posts: 1,218
OK, there is definitely not a problem with the network under the shell, it was that the new user account wasn't setup correctly to access the server. All working now except iMon.

The advice I was referring to was from post 20.

I will look at running it as a service and report back.

Robbo100
  Quote
Old 19-05-2012, 1:24 PM   #44
Senior Member
Join Date: Dec 2005
Thanks: Gave 76, Got 212
Posts: 1,218
iMON won't run as a service :-(

If I run iMOM from task manager after the shell has booted it all works fine, but I just can't get it to load with the shell boot.

The good news is that MediaPortal works absolutely fine in a shell (including multishortcut and Emulators which call external programs)!

Robbo100
  Quote
Thanks from:
richardb70 (19-05-2012)
Old 19-05-2012, 2:39 PM   #45
Senior Member
Join Date: Jan 2005
Location: Coventry
Thanks: Gave 117, Got 544
Posts: 2,718
Quote:
Originally Posted by robbo100
iMON won't run as a service :-(

If I run iMOM from task manager after the shell has booted it all works fine, but I just can't get it to load with the shell boot.
What are your Task Manager settings?

Alternatively I'm aware of another solution for this type of circumstance, but hadn't tested it yet hence not in the guides yet. I'll try and get that done tomorrow as shouldn't take long
  Quote
Old 19-05-2012, 5:51 PM   #46
Senior Member
tredman's Avatar
Join Date: Jul 2006
Location: Stafford
Thanks: Gave 110, Got 191
Posts: 2,784
Quote:
Originally Posted by JeffD
What are your Task Manager settings?

Alternatively I'm aware of another solution for this type of circumstance, but hadn't tested it yet hence not in the guides yet. I'll try and get that done tomorrow as shouldn't take long
I run progs on my server as scheduled tasks on startup, if they don't run as services nicely. Works very well and easy to set up.

Failing that there's the servany.exe route.
  Quote
Old 19-05-2012, 6:01 PM   #47
Senior Member
Join Date: Dec 2005
Thanks: Gave 76, Got 212
Posts: 1,218
I tried servany.exe with iMon (which didn't work), to be honest, that is the only way I know how to setup a service with an application or .exe.

What other methods can I try and how do I schedule a task on startup (in a way that will work for a Shell)?

Thanks

Robbo100
  Quote
Old 19-05-2012, 6:35 PM   #48
Senior Member
tredman's Avatar
Join Date: Jul 2006
Location: Stafford
Thanks: Gave 110, Got 191
Posts: 2,784
Quote:
Originally Posted by robbo100
I tried servany.exe with iMon (which didn't work), to be honest, that is the only way I know how to setup a service with an application or .exe.

What other methods can I try and how do I schedule a task on startup (in a way that will work for a Shell)?

Thanks

Robbo100
You could try http://www.serviceex.com/ but tbh it's easer to just use the task scheduler.

Just load up the task scheduler and create a new task, with full rights (prob on same login as your new shell I guess) and set it to run on startup (not login) make sure you disable the force stop after X hours too.
  Quote
Old 20-05-2012, 1:48 PM   #49
Senior Member
Join Date: Jan 2005
Location: Coventry
Thanks: Gave 117, Got 544
Posts: 2,718
Quote:
Originally Posted by robbo100 View Post
I tried servany.exe with iMon (which didn't work), to be honest, that is the only way I know how to setup a service with an application or .exe.

What other methods can I try and how do I schedule a task on startup (in a way that will work for a Shell)?

Thanks

Robbo100
I've update the guides following your feedback, got a new section on running addition programs using the Task Scheduler method, this info is now in Post #2

Last edited by JeffD; 20-05-2012 at 1:53 PM.
  Quote
Old 20-05-2012, 6:30 PM   #50
Senior Member
Join Date: Jan 2005
Location: Coventry
Thanks: Gave 117, Got 544
Posts: 2,718
Just about done now, only major thing left to do is put together some video to illustrate better the effect of the various changes.
  Quote
Thanks from:
paul77 (23-05-2012)
Old 23-05-2012, 4:01 PM   #51
Senior Member
Join Date: Jan 2006
Thanks: Gave 11, Got 28
Posts: 1,572
This is brilliant!! Using mediaportal and this would really make a difference in the WAF department, will give it a go over next couple of weeks.

well done for making this a stickie, its an excellent guide
  Quote
Old 25-07-2012, 10:28 PM   #52
Prominent Member
Meridius's Avatar
Join Date: Dec 2002
Thanks: Gave 73, Got 99
Posts: 3,384
hi all just woundering does all the ati drivers get loaded and sound drivers if you do this ? what happens to ati control centre which has picture settings in it
cheers
  Quote
Old 26-07-2012, 10:56 AM   #53
Senior Member
Join Date: Jan 2005
Location: Coventry
Thanks: Gave 117, Got 544
Posts: 2,718
Quote:
Originally Posted by Meridius View Post
hi all just woundering does all the ati drivers get loaded and sound drivers if you do this ? what happens to ati control centre which has picture settings in it
cheers
For ATI the drivers will certainly be loaded but not sure about CCC, I'm guessing if CCC is listed as a Startup item in msconfig then it should still be loaded, but if not then Part 2 - Running Additional Programs should cover getting it working. If you want to test create a new user account so as not mess with your existing setup, then set whatever program you want as the shell for only that new user account, log into account and do a Ctrl+Alt+Del then select Task Manager and check if the relevant process is running.

I think thesilverfox used this guide with ATI graphics so he might know better as I've only used these techniques with Intel & Nvidia graphics.

Last edited by JeffD; 26-07-2012 at 10:59 AM.
  Quote
Thanks from:
Meridius (30-07-2012)
Old 22-10-2012, 9:50 PM   #54
Member
Join Date: Mar 2008
Thanks: Gave 13, Got 25
Posts: 222
A very good guide, thanks, I used it to configure a single portable xbmc installation for sharing between all users over 2 OSs - win7hp and win8 pro both 64bit. Both OSs have a xmbcuser using xbmc as user shell. (Using Group policy guide in win8 and Registry guide win7HP).
One problem was that both these users needed a different path to get to the same media source on the hard drive of win 7.
I overcame this with guide for task scheduler which I used to launch a batch file on login that invokes subst U: <path to public shared folder>.
I previously had the batch file in all users- both OSs but of course this did not run without the explorer shell.
So a big heads up - great work!!!
  Quote
Old 01-01-2013, 8:15 PM   #55
Member
Join Date: Mar 2004
Location: Ealing
Thanks: Gave 14, Got 49
Posts: 981
I'm just about to have a go at this. As I understand it with XBMC as the shell there is no way any other application can get focus as there is no windows management system provided by explorer. I'm slightly puzzled therefore at talk of startup programs grabbing focus. I have a fair number of programs I need to kick off alongside XBMC - uTorrent, MSE, CCleaner, Google Music Manager, PeerBlock, Dropbox, VNC server, DynDNS updater and Homeseer. I also get the odd Flash update etc and uTorrent runs a batch script to email me when a download is complete. What are the implications of running these programs either via registry entries or scheduler? Right now, without XBMC as shell, I often see XBMC minimised.

Thanks for any help.

EDIT: Tried this on a spare PC. Machine boots to XBMC shell fine. I used a scheduled task to run 3 programs on login. CCleaner took focus and minimised XBMC. MSE ran in background (I think). Dropbox didn't start. Not the most successful experiment. I could have XBMC start after a delay but I worry that things that happen in the background will take focus. Is there no foolproof way to keep XBMC on top and maximised?

Last edited by steford; 02-01-2013 at 2:20 PM.
  Quote
Old 03-01-2013, 12:13 PM   #56
Senior Member
Join Date: Jan 2005
Location: Coventry
Thanks: Gave 117, Got 544
Posts: 2,718
You could try this http://forum.xbmc.org/showthread.php?tid=136798
  Quote
Old 03-01-2013, 8:44 PM   #57
Senior Member
tredman's Avatar
Join Date: Jul 2006
Location: Stafford
Thanks: Gave 110, Got 191
Posts: 2,784
Quote:
Originally Posted by JeffD
I use this and it works well.
  Quote
Old 03-01-2013, 8:53 PM   #58
Member
Join Date: Mar 2004
Location: Ealing
Thanks: Gave 14, Got 49
Posts: 981
Thanks fellas. Yes it was on my list to try. Not a huge fan of the 10s loss of focus though.

Am currently testing on another machine. I have XBMC as window and running as shell. I have turned off notifications for all things I need to run in background and written a batch script to get me out of explorer and back into XBMC should I need to admin the machine. So far, so good. Going to try it on the HTPC tomorrow. May add a small script to capture MC remote green button or stick Eventghost back on which I used to use years ago for key mappings. Don't want too many extra pieces of software on there but just counted up how many I can uninstall along with 7MC and it amounts to 11!!
  Quote
Old 03-01-2013, 8:58 PM   #59
Senior Member
tredman's Avatar
Join Date: Jul 2006
Location: Stafford
Thanks: Gave 110, Got 191
Posts: 2,784
This:

http://xbmccustomregis.sourceforge.net/remote_manu.html

Works very very well for mce remote and green button.
  Quote
Old 04-01-2013, 11:09 AM   #60
Senior Member
Join Date: Jan 2005
Location: Coventry
Thanks: Gave 117, Got 544
Posts: 2,718
Quote:
Originally Posted by steford View Post
Thanks fellas. Yes it was on my list to try. Not a huge fan of the 10s loss of focus though.
You could try to run any additional programs as services, since services don't load a gui there's nothing to interrupt focus, this is what I do to have Anydvdhd running in the background.
  Quote
Post Reply



Thread information and display options
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off