register on reboot
More winnt/2k fun: you set a dll/ocx to register on reboot by adding a RunOnce key for "regsvr32 /s bob.dll". But the RunOnce key isn't run until the next user logs on. If the user isn't an administrator, the dll will fail to self-register. What would be better is a way to have regsvr32 run by the system, on reboot but before login. Delete /rebootok can act like this by using the MoveFileEx function, but there is no "RegFileEx" or "RunOnReboot".
RunServicesOnce is a key that is supposed to execute commands by the system before login, but is not implemented in winnt/2k (?!??)
Anyone know how??
-Carl