How to Delay XBMC Start

In the last few iterations of my home theater PC, the rig has been getting faster and faster.  Many would not consider this an issue, but in my case, when my HTPC starts, XBMC starts faster than Windows 7 can get networking up.  This means that XBMC cannot reach my NAS for media folders or for the MySQL databases I have configured.  I tried everything I could think of from batch files to delay start to running a scheduled task after Windows starts.  Then I found it.  I found how to delay XBMC start without have to use any crazy batch files or jumping through any hoops.

I had been using a simple shortcut to XBMC in my startup folder and configured Windows 7 for auto login. After hours of internet searches, a little known switch presented itself.

Typically, the path for the shortcut will look something like this (on Windows 7 64-bit):

“C:\Program Files (x86)\XBMC\XBMC.exe”

All you have to do is add a -d and a time.  For me, I had to add 5 seconds to get everything working as it should.

“C:\Program Files (x86)\XBMC\XBMC.exe” -d 5

XBMC-Delay (1) XBMC-Delay (2)

Enjoy!

About Joe D

I have always had a passion for everything computing. In early 2000, I decided to take my passion to the web. Thus, C.O.D. was born. Through the years we have made many great friends at C.O.D. and hope to continue our journey for years to come.

Check Also

Kodi (formerly XBMC) 14.0

I am a huge fan of XBMC and have been for quite some time. The application is the forefront of my media center and controls all things entertainment in my home. Many of you may know that XBMC is no longer XBMC. Instead, the application has gone through a name change (Kodi) and the new version 14.0 promises some very exciting new features.

2 comments

  1. You Sir, are my hero today !

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.