AEM 6.2 won't install as a service on Windows Server 2012 R2 - This app can't run on your PC - Access denied
- October 26, 2016
- 8 replies
- 4954 views
I'm trying to install AEM 6.2 as a windows service following the normal procedure at https://docs.adobe.com/docs/en/aem/6-2/deploy/custom-standalone-install.html. However, when i edit instsrv.bat to set the prunsrv to prunsrv_ia64.exe and then run the batch file, it gives an error, "This app can't run on your PC". Posts I've found on the internet about this aren't related to AEM, but they suggest it's a problem with the executable, rather than a permissions issue. That being said, if I close the notice, the command window shows an "Access denied" message.
If I switch to prunsrv.exe, it will install the service, but you can't run it because it throws an error saying, "Invalid function", which makes sense as it's the wrong architecture. On the Azure AEM 6.0 machine image, I noticed they were using prunsrv_amd64.exe even though it's an Intel architecture. However, that file is not included in my AEM 6.2 quickstart.jar.
Has anyone run into this?