In Windows 7 or later, even if a program is executed by the account with administrator privileges, the program may not be executed with administrator privileges because of the User Account Control (UAC). For information on UAC, refer to
http://msdn2.microsoft.com/en-us/library/aa480152.aspx
To execute a program as an administrator, make sure that the program has the appropriate settings.
With the increased security in Windows 7 or later, administrator privileges are required for some operations. For example, if a program is directed to output a file to C:\Windows or C:\Program Files, the program will output to C:\Windows or C:\Program Files only if it is run with administrator privileges. If the program is run without administrator privileges, the output will go to:
C:\USERS\USER-NAME\AppData\Local\VirtualStore\Windows
C:\USERS\USER-NAME\AppData\Local\VirtualStore\Program Files
Example
User name:
U01(with administrator authority)
File allocation:
SYS001=C:\Windows\COBFILE.01
SYS002=C:\Program Files\COBFILE.02
File output when the program is executed without administrator authority:
SYS001 C:\USERS\U01\AppData\Local\VirtualStore\Windows\COBFILE.01
SYS002 C:\USERS\U01\AppData\Local\VirtualStore\Program FIles\COBFILE.02
File output when the program is executed with administrator authority:
SYS001 C:\Windows\COBFILE.01
SYS002 C:\Program FIles\COBFILE.02