web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

AX2012 install error - prerequisite missing powershell 2.0, but i can confirm that it is installed

(0) ShareShare
ReportReport
Posted on by 5

hey all


we deploy AX as part of a sccm task sequence.
the task runs the setup.exe file with a bunch of parameters (hideUI, ports, usernames, logdir etc etc)
the task sequence works fine and AX installs on server 2012, 2016 and 2019.

the problem i am experiencing is when i run the same command in powershell manually on a test server (server 2019)
the error is this

2023-03-15 16:06:34Z    The following prerequisite checks failed:
2023-03-15 16:06:34Z        Windows PowerShell 2.0
2023-03-15 16:06:34Z            Async Client
2023-03-15 16:06:34Z    ******************************************************************************************************

2023-03-15 16:06:34Z    The following prerequisites failed:
2023-03-15 16:06:34Z        Windows PowerShell 2.0

2023-03-15 16:06:34Z    ******************************************************************************************************

now i can confirm that all AX prereqs are installed.
.net 3.5 installed

windows features confirms that powershell 2.0 is installed

[X] Windows PowerShell                                  PowerShellRoot                 Installed
    [X] Windows PowerShell 5.1                          PowerShell                     Installed
    [X] Windows PowerShell 2.0 Engine                   PowerShell-V2                  Installed

the registry keys exist for powershell 2.0

2023-03-15 16:06:33Z    Performing a registry value check for prerequisite 'Windows PowerShell 2.0'.
2023-03-15 16:06:33Z    Checking registry value 'SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine\PowerShellVersion' = 2.0
2023-03-15 16:06:33Z    Found: '2.0'     Expected: '2.0'.
2023-03-15 16:06:33Z    Check succeeded.

to throw a spanner in the works...

when i run setup.exe by itself with no parameters it gives me the option to run a prereqs check. When i do this... it comes back saying that powershell 2.0 is installed!

pastedimage1678960384179v1.png

so i dont understand why the installer fails and gives me the error during install..... whereas the prereq check, from the same exe file says that powershell 2.0 is ok.

are there any parameters/switches that I can use that avoids/skips/bypasses the powershell check?
im a bit stumped as to whats going on here...

i know were using an old version of ax but this is all we got for now (D365 is coming)

any suggestions?

cheers!

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,100

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 890 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 633 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans