Your program to needs administrative privileges but the fact that it ran in Windows 7 without any problems still bothers me.
Well, to make your program run as administrator, you could just right click on the EXE and select "Run as administrator"
Or you could do that directly from your Programming IDE by changing the required privilege in your application manifest's file
app.manifest
<trustinfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedprivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedexecutionlevel>level="requireAdministrator" uiAccess="false" />
</requestedexecutionlevel></requestedprivileges>
</security>
</trustinfo>
You can get this from Visual Studio via the Project properties -> Application Tab -> View Windows Settings.