Categories
Windows 10

Fix : Namespace error with gpedit.msc Windows 10

This post concentrates it’s focus on an issue that comes when either you have a computer that’s running Windows 10 RTM (Build 10240) or you have upgraded your computer to Windows 10 version 1511 (Build 10586). In both of these scenarios, you might receive an error “Namespace ‘Microsoft.Policies.Sensors.WindowsLocationProvider’ is already defined as the target namespace for another file in the store.  when you try to run gpedit.msc & try to click on either User or computer configuration. You might not get this issue if you are upgrading from Windows 7, Windows 8.1 directly to Windows 10 version 1511 & skipping Windows 10 RTM. I recently faced this issue when visiting a Microsoft conference at Hyderabad and thought to post a solution to it.

The screenshot of the example looks like this:

namespace windows location gpedit error

The error reads:

Namespace ‘Microsoft.Policies.Sensors.WindowsLocationProvider’ is already defined as the target namespace for another file in the store.
File
C:\WINDOWS\PolicyDefinitions\Microsoft-Windows-Geolocation-WLPAdm.admx, line 5, column 110

This usually happens when the the files “Microsoft-Windows-Geolocation-WLPadm.admx” & “LocationProviderADM.admx” present in C:\Windows\PolicyDefinitions\ and “Microsoft-Windows-Geolocation-WLPAdm.adml” and “LocationProviderADM.adml” present in C:\Windows\PolicyDefinitions\en-us gets rewritten or corrupted during up gradation.

Below are the steps to Fix: Namespace error with gpedit.msc Windows 10

Solution: Delete these files mentioned above

First Step: Taking ownership of all these files:

  • Press Windows logo key + X ( To open power menu in Windows 10)
  • Press A & click on yes when prompted
  • This will open the command prompt with elevated privileges
  • Now, type in these four commands one by one. Press Enter after each one of them to execute

takeown /F ” C:\Windows\PolicyDefinitions\Microsoft-Windows-Geolocation-WLPAdm.admx” /A  

takeown /F ” C:\Windows\PolicyDefinitions\en-US\Microsoft-Windows-Geolocation-WLPAdm.adml” /A

takeown /F ” C:\Windows\PolicyDefinitions\LocationProviderADM.admx” /A

takeown /F ” C:\Windows\PolicyDefinitions\en-US\LocationProviderADM.adml ” /A

ownership microsoft geolocation policy store

policy location adml admx delete

  • Now, Change permissions
  • Go to C:\Windows\PolicyDefinitions
  • Find the file LocationProviderADM.admx and Microsoft-Windows-Geolocation-WLPAdm.admx
  • Right Click the file & Click on Properties
  • Go to the security tab

taking ownership

  • Click on Administrators
  • Click on edit
  • Now, again click on administrator
  • Check the checkbox that says full control
  • Click on Apply and ok
  • Now, repeat this step for the remaining three files
  • Now, delete all four files
  • Done
  • Try opening gpedit.msc

Hope this helped you, if you have any questions or suggestions, please feel free to write to me.

Categories
Windows 10

How to configure automatic to manual updates Windows 10

After reading this post you will be able to configure a feature within Windows 10. This feature is the new and improved Windows update,/span>. In the previous version of Windows, the users had an option to select whether they want the Windows updated automatically, or if Windows should ask to download updates and install them. With Windows 10, this update process has been automated and Windows no longer needs consent of the user to update. Many users find this automation not that useful. So here is a step-by-step guide to configure Windows update in Windows 10 from automatic to manual.

Below are the steps on How to configure automatic updates to manual in Windows 10:

  • Press the Windows Logo key + X (opens Power menu Windows 10 )
  • Now, Press A (this will open a command prompt with elevated privileges)

power menu windows 10

  • Type gpedit.msc
  • This will open the group policy editor

Command prompt admin

  • Now, navigate to Computer Configuration
  • Then Administrative Templates
  • Then Windows Component
  • Windows Update

gpedit_configgpeditgpedit_windows_update

  • Locate the options that says Configure Automatic Updates
  • Double Click it

configure automatic updates

  • This will open a box
  • Click on Enabled
  • Now, Select Notify for download and notify for install
  • or
  • Alternatively, select the fifth option that says Allow local admin to choose setting
  • Click on Apply and OK
  • Restart your computer
  • And it’s done !

configuration windows update

 

This will either give you a notification that new updates are available, or if you chose the 5th option, a configuration option in Windows update to either install updates automatically, or manually.

Hope this article helps you. If you have any questions or suggestions, please feel free to write to me.

Categories
Windows 8 Windows 8.1

How to : List Local users MMC in Windows 8, 8.1

This post is a step by step on How to list local users MMC in Windows 8 | 8.1 .Microsoft Management Console (MMC), is a built-in extensible common presentation service for management applications. MMC snap-ins are commonly used by Microsoft or other third party programs to interact with host integration services within the operating system.  MMC can be used to add /remove snap-ins according to the need of the administrator. Some of the most common management consoles in Windows Operating system are gpedit.msc & rsop.msc ( Resultant Set of Policy )

Below are the steps to List Local users & Groups in Microsoft Management Console (MMC):

  • Press Windows Logo Key + X
  • Press A ( This will open command prompt with elevated privileges | Administrator mode )

cmd_admin_win8

  • Now, within the command prompt type MMC  & press enter

mmc

 

  • Now, within the File Menu on the top left corner
  • Click on Add/Remove Snap-in…

mmc1

  • Locate & select Local Users and Groups
  • Click on Add
  • Click OK
  • A New Windows will pop open

mmc2

  • Here, Select Local Computer
  • Click on Finish
  • Press OK

mmc3

  • Now, a new entry named Local Users and Groups (Local) Can be seen
  • Here, if you notice are listed all the users in your system.

mmc4

  • Now, Click on File
  • Click on Save
  • Give a name to this management console, so that you can use it later

mmc5

 

If you need further help or face an issue implementing any of the above mentioned steps, feel free to drop a line to me & I will try to help out.