title: Limitations of runonce in windows
body: <p>I have added the following command to the runonce registry to run a specific python script on start up with a long list of parameters as follows</p>
  
  <pre><code>HKLU..."fio-test"=C:\Python26\python.exe C:\Users\Administrator\Desktop\workspace\test_Windows_dc_policy_flush_on_restart\test_Windows_dc_policy_flush_on_restart.py -I /dev/fct4 -b E -v "C:\Users\Administrator\Desktop\workspace\test_Windows_dc_policy_flush_on_restart\test_actions.p"
  </code></pre>
  
  <p>However, the command will never run and the registry will not be removed for the script. IE. the runonce part of the windows boot manager will ignore the entry.  I can find the entry and see it in the proper location and see other less complicated scripts run and be removed from the registry.  My question is as follows.. What are the limitation of the run once that I am running into?  am I running into a max command length issue? or, is it some type of unescaped character that causes the script to be ignored?</p>