Windows Management instrument error on SQL Server 2017 installation


I found the script here. Just copy it in .BAT file & run.


net stop winmgmt /y


cd %systemroot%\system32\wbem

if exist %systemroot%\system32\wbem\repository.old rmdir /s /q


rename %systemroot%\system32\wbem\repository repository.old

regsvr32 /s %systemroot%\system32\scecli.dll

regsvr32 /s %systemroot%\system32\userenv.dll

mofcomp cimwin32.mof

mofcomp cimwin32.mfl

mofcomp rsop.mof

mofcomp rsop.mfl

for /f %%s in (‘dir /b *.dll’) do regsvr32 /s %%s

for /f %%s in (‘dir /b *.mof’) do mofcomp %%s

for /f %%s in (‘dir /b *.mfl’) do mofcomp %%s


%systemroot%\system32\wbem\winmgmt /clearadap

%systemroot%\system32\wbem\winmgmt /kill

%systemroot%\system32\wbem\winmgmt /unregserver

%systemroot%\system32\wbem\winmgmt /regserver

%systemroot%\system32\wbem\winmgmt /resyncperf

net stop winmgmt /y

if exist %systemroot\system32\wbem\repository.old rmdir /s /q


rename %systemroot\system32\wbem\repository repository.old

regsvr32 -s %systemroot%\system32\scecli.dll

regsvr32 -s %systemroot%\system32\userenv.dll

mofcomp %systemroot%\system32\wbem\cimwin32.mof

mofcomp %systemroot%\system32\wbem\cimwin32.mfl

mofcomp %systemroot%\system32\wbem\rsop.mof

mofcomp %systemroot%\system32\wbem\rsop.mfl

for /f %%s in (‘dir /b *.dll’) do regsvr32 /s %%s

for /f %%s in (‘dir /b *.mof’) do mofcomp %%s

for /f %%s in (‘dir /b *.mfl’) do mofcomp %%s

net start winmgmt

%systemroot%\system32\wbem\wmiprvse /regserver



Dynamics 365 hotfix install

metadata hotfixes

SCDPBundleInstall.exe is located in J:\AosService\PackagesLocalDirectory\Bin

For non Team Services install

SCDPBundleInstall.exe -install -packagepath=C:\Temp\KB4023686\HotfixPackageBundle.axscdppkg -metadatastorepath=J:\AosService\PackagesLocalDirectory

For install to Team Services

SCDPBundleInstall.exe -prepare -packagepath=C:\Temp\KB4023686\HotfixPackageBundle.axscdppkg -metadatastorepath=J:\AosService\PackagesLocalDirectory -tfsworkspacepath= j:\AOSService\PackagesLocalDirectory -tfsprojecturi=

SCDPBundleInstall.exe -install -packagepath=C:\Temp\KB4023686\HotfixPackageBundle.axscdppkg -metadatastorepath=j:\AOSService\PackagesLocalDirectory -tfsworkspacepath= j:\AOSService\PackagesLocalDirectory -tfsprojecturi=

Then Synchonize with

Important: Because this is a code metadata hotfix, a builld of the server is required before the synchronisation to take effect

Microsoft.Dynamics.AX.Deployment.Setup.exe -bindir “J:\AosService\PackagesLocalDirectory” -metadatadir J:\AosService\PackagesLocalDirectory -sqluser axdeployuser -sqlserver localhost -sqldatabase axdb -setupmode sync -syncmode fullall -isazuresql false -sqlpwd <password for axdeployuser>

Other Info

  • Instead of using the command line, you can use the “Apply Hotfix” add in within Visual Studio under the Dynamics 365 menu.
  • For more info

Upgrade link from Microsoft

Management Reporter versions

Download links are available in the below PDF File

Previous Releases of Management Reporter

Dynamics AX 365 VM VHD setup

Setup Dynamics 365 for Operations Virtual Machine

Rajesh Mallempati

Rajesh Mallempati

Task: Enable Hyper-V feature

Control panel—->Programs—>Turn Windows features on or off

Task: Download Dynamics 365 for Operations Virtual hard disk (VHD) files from partner source or customer source by using LCS (Life Cycle Services).

After creation of project, select the project and go to environment section

select locally for on premise version and select appropriate topology.

download all VHD files and extract to single folder.

Task: Open Hyper-V —-> create external and internal switches

Create external

Create internal

Task: create new virtual machine and importinh VHD file

Click on next

If you would like to store in different location then change the path over there.

Mention the external switch that we are created in the previous step

select the existing virtual hard disk (VHD) that we extracted in the previous step and attach it and finish.

Make sure to check network settings whether it is configured to external and internal switch that we created in previous step, if not got to settings of VM that we created and add.

Connect the VM that we created, if we encountered below error this is because of memory allocated to RAM, go to settings of created VM and change the RAM.

Then start the VM.

Task: Access Microsoft Dynamics 365 for Operations instances

Login to VM by using below credentials

User Id: Administrator, Pass: pass@word1

Open command prompt and run as admin then start DynamicsAxBatch service

Task: Provisioning the administrator user

For developer access, you must be an administrator on the instance. To provision your own credentials as an administrator, run the admin user provisioning tool that is provided on the desktop, and provide your email address (Azure AD credentials) in the tool.

From the desktop, run the admin user provisioning tool as an administrator (right-click the icon, and then click Run as administrator).

Enter your email address, and then click Submit

Open browser and use the below url to access the Dynamics 365 for Operations.

It will ask the user name and password, use the same credentials which we used for both LCS and provisioning id which we did in previous step.

Happy Daxing.. 🙂



How to take children’s body measurements

I am enlightened….Super easy…

The Sewing Box

How to measure your kid so that you can make cloths fit perfectly. Not every kid is average, not every kid fits inside the standard measurement charts.

Horizontal measurements:

  • Shoulder – left shoulder bone to right shoulder bone on back side.
  • Chest – around armpits over the highest part of chest.
  • Waist – around narrowest part of waist.
  • Hips – around fullest part of hips.
  • Neck width – half of neck front
  • Bicep -around fullest part of upper arm.

Vertical measurements:

  • Shoulder to waist
  • shoulder to chest
  • Waist to hips
  • Shoulder to knee
  • Full length
  • Arm length

Taking body measurements is relatively easy. Just take a measurement tape and follow the above guidelines, you will have proper measurements. I hope this will help in some or the other way.

Thanks for your time. Please let me know your thoughts in comment section.

View original post

Error while setting server report parameters. Error message: The DefaultValue expression for the report parameter ‘AX_CompanyName’ contains an error:

Check the blog Here

config file change as mentioned below .


Reportserver/ rssrvpolicy.config

Existing configuration:

Description=”This code group grants default permissions for code in report expressions and Code element. “>

Replacement configuration:

Description=”This code group grants default permissions for code in report expressions and Code element. “>[..]</CodeGroup>

Lables missing in SSRS Reports in AX 2012

SSRS Report Labels don’t work in a below mentioned situations. There may be more.

  1. Label language is not set correctly or not set at all.
  2. BC Proxy account is not the same as Reporting service account or Password for Reporting service account is wrong. please correct it.
  3. Partition Key is not set correctly.