in reply to Win32: Getting the Machine SID

In the bad idea but I will suggest it anyway department, if you use the 'at' command to schedule a job it should run as the SYSTEM account which does have access to that part of the registry.