Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSC executable doesn't run on Windows Server unless C++ redistributables are installed #256

Closed
3 tasks done
jchancellor-ms opened this issue Nov 7, 2023 · 0 comments · Fixed by #269
Closed
3 tasks done

Comments

@jchancellor-ms
Copy link

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

When running the latest Alpha release on windows server 2019 and windows server 2022 the command fails with error: The code execution cannot proceed because vcruntime140.dll was not found. Reinstalling the program may fix this problem. Installing the latest C++ redistributable corrects this issue. (https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170)

Expected behavior

dsc resource list returns resources and not an error.

Actual behavior

error: The code execution cannot proceed because vcruntime140.dll was not found.  Reinstalling the program may fix this problem

Error details

error: The code execution cannot proceed because vcruntime140.dll was not found.  Reinstalling the program may fix this problem

Environment data

Name                           Value
----                           -----
PSVersion                      7.3.9
PSEdition                      Core
GitCommitId                    7.3.9
OS                             Microsoft Windows 10.0.17763
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Version

7.3.9

Visuals

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant