I’m executing below script on my machine it is getting stuck with the below error can anyone help me out with this correct me with the steps to install .exe file.
VERBOSE: Perform operation ‘Invoke CimMethod’ with following parameters, ‘‘methodName’ = SendConfigurationApply,‘className’ = MSFT_DSCLocalConfigurationManager,‘namespaceName’ = root
/Microsoft/Windows/DesiredStateConfiguration’.
VERBOSE: An LCM method call arrived from computer MAD with user sid S-1-5-21-2686951965-2129314255-1211374589-500.
VERBOSE: The -Force option was specified with the Stop operation. The current configuration has been successfully cancelled.
The console is stuck in the running state form long time…
Also, your ProductId is an empty string, have you tried using the registry key name of HKLM\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\Uninstall for this product?
I had the same issue. It was due to the file being downloaded from the internet. I suppose DSC was getting stuck on the file security warning. To resolve, I unblocked the file from file properties.
I distribute all my apps, dsc modules, posh modules with the chocolatey dsc module. This gives you version pining if needed and completly cleanes the dsc configs from any of your dsc configurations.
You can also build your own scripts to Auto update all Packages in your chocolatey repository and you will Not waste a Minute (almost) on searching, packaging, Distribution new software anymore.
It will also assist you a lot, if you ever decide to move to docker for windows.