Besides running VS as administrator and making sure you're running a 64bit command prompt and configuring VS for C/C++ tools, if the user who configured VS for C/C++ projects isn't the same user who logs in as admin, and if THAT user doesn't have VS configured, nmake will still be unable to find appropriate header paths.