SCCM2012 R2: “startIndex cannot be larger than length of string” When Importing Drivers

You may receive the following error when importing some drivers from the SCCM console:

Unhandled exception has occured in your application. If you click continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

startIndex cannot be larger than length of string.

Parameter name: startIndex

If you click “continue” you can not import all the drivers located in the current folder even if you try to import drivers from SCCM console on another machine.



This error occurs when the path to the drivers is too long. To solve this issue, you must shorten the path of the folder structure. It breaks if your path is too long. It seems to be a bug…

If you still have the error, then drivers are probably corrupted.


Thanks for reading! You can follow me on Twitter @PrigentNico

About Nicolas 282 Articles
I work as an IT Production Manager, based in Paris (France) with a primary focus on Microsoft technologies. I have 10 years experience in administering Windows Servers. . I am a Microsoft MVP for Cloud & Datacenter Management. I also received the PowerShell Hero 2016 award by PowerShell.0rg. And finally, I am "MCSE: Cloud Platform and Infrastructure", "MCSA: Windows Servers", "Administering & Deploying SCCM", and CheckPoint CCSA certified.