The error value 0x8002801c means, Error accessing the OLE (Object Linking and Embedding) registry. You need to copy the MSCOMCT2.OCX
file to c:\windows\sysWOW64 not c:\windows\system32.
Run the command with elevated privileges, to do this, follow the steps below:
i.Click on start and in the start search bar type CMD, right click on the command prompt icon in the programs area and then click on run as administrator.
ii.At the command prompt type regsvr32 wmnetmgr.dll and then press enter.
Note: Make sure you are running the computer as administrator.
Make sure you have logged in as administrator of the computer. To verify your account type on your computer, follow these steps:
i.Click Start.
ii.Click Control Panel, and then click User Accounts.
·If you are not part of a network domain, follow these steps:
i.From the User Accounts window, click User Accounts.
ii.Look at your user account icon, your account type is displayed under your user name.
·If you are part of a network domain, follow these steps:
i.From the User Accounts window, click User Accounts.
ii.Select your account from the list, and then click Properties.
iii.In Group membership, make sure that you belong to the Administrators group.