[SCTX-1718] Set DisableCDDB and DontStartRawDevices to 0 before rebooting,
if GPO option to disallow device installations is enabled.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
Dont attempt to read values before setting to 0
Always attempt to set DisableCDDB and DontStartRawDevices to 0

Signed-off-by: Owen Smith <owen.smith@citrix.com>
Merge pull request #18 from OwenSmith/sctx-1718

Prevent certain GPO  settings triggering BSOD 0x7B on first reboot
Fix BSOD caused by KeWaitForMultipleObjects()

KeWaitForMultipleObjects() should use a wait block array if the
number of objects exceeds THREAD_WAIT_OBJECTS. The number of objects
PdoDestroy() waits on is 4 which exceeds the currently defined value
of that constant (which is 3).

Signed-off-by: Murtaza Ghiya <murtazg@amazon.com>
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Merge pull request #19 from pauldu/waitblock

Fix BSOD caused by KeWaitForMultipleObjects()