title: Device Driver's ImagePath
body: <p>I always set my drivers Imagepath directly.(C:\Windows\System32\drivers\abc.sys)   </p>
  
  <p>But I just knew many device drivers set their ImagePath to <strong><em>%SystemRoot%\system32\svchost.exe -k netsvcs</em></strong><br>
  <img src="https://i.stack.imgur.com/eC08H.png" alt="enter image description here"><br>
  This is Lanmanworkstation driver's registry hive.<br>
  I guess Lanmanworkstation driver's image file is mrxsmb.sys<br>
  But they didn't put 'System32\drivers\mrxsmb.sys'. Why.</p>
  
  <p>What does <em>svchost.exe -k netsvcs</em> mean?<br>
  Even though there is no certain path, StartService function works well.<br>
  How does Service Manager(? i'm not sure) find the driver's image path?</p>
  
  <p>Is there an advantage using this?<br>
  What if I decide to use this way, are there my driver codes should modify?</p>