Solved Force start and close a program on Windows 7 startup?

January 11, 2017 at 14:16:55
Specs: Windows 7, Xeon 3GHz / 4gigs
Hi.

I have a problem with Kodi 16 and 17 on my sons computer, some error with DX11, it cant be solved so i need a short cut.

First time after each reboot i start Kodi i get a error "Kodi is not responding" five seconds later it disappears and Kodi starts with a black screen, Alt + Tab solves it and Kodi works like a charm.

Every time i start Kodi after that it works fine.

So i need Kodi to start om Windows reboot and exit ten seconds later, that will solve the problem. This computer is for my six year old to use so its need to work fine.

Is there a script or batch file that will do this?

Thanks for reading about my problem.

Best Regards Richard Sabelström


See More: Force start and close a program on Windows 7 startup?

Report •

#1
January 11, 2017 at 15:06:32
Kodi 17 is a "pre-release", so it's "use at your own risk", "not ready for prime time" (yet). As it says on their website, "THESE BUILDS COULD BE UNSTABLE and are for users that do not fear bugs or possibly crashes. They are mainly used for development to help us in testing for the upcoming releases." I suggest you uninstall 17, run a cleaner, reboot, & then replace it with Kodi 16.1.

It would also help if you'd post your complete system specs.

message edited by riider


Report •

#2
January 12, 2017 at 00:20:03
To give a long story short, its not Kodi 17 thats the problem, get the exact same error from Kodi 16 but not from Kodi 15. I was recommended to try Kodi 17 in the Kodi forum, but i rather use Kodi 16. It seems to be some DX11 problem.

I am not the only one with this problem, its some threads about this in the Kodi forum since Kodi 16 was relesed and there is no fix to it, so its the only way is to work around the problem.

But you can get all my info if that may help.

OS: Windows 7 64bit
CPU: Xeon 4x 3.00GHz
RAM: 4gb 667MHz
GPU: GeForce GT 630 1gb

Threads with the same problem on Kodi 16, and more people speak of the same problem in the threads.

http://forum.kodi.tv/showthread.php...
http://forum.kodi.tv/showthread.php...
http://forum.kodi.tv/showthread.php...
http://forum.kodi.tv/showthread.php...


Report •

#3
January 12, 2017 at 00:35:55
✔ Best Answer
Got a solution in another forum:

Save this as STARTKODI.JS. Execute it anywhere you can at start of Windows.

WshShell = WScript.CreateObject("WScript.shell");
var command="kodi.exe"; //this may needs to be path fully qualified.
task=WshShell.Exec(command);
WScript.Sleep(10000);
task.Terminate();
WScript.Quit();


Report •
Related Solutions


Ask Question