When opening gpedit.msc, MMC asks which version to open 32 bit or 64 bit

i had windows 8.1 (not pro) and i wanted to use gpedit.msc

I installed gpedit, but that didnt solve the issue of opening qpedit so i upgraded to windows 8.1 pro.

i now have gpedit.msc but each time when i open gpedit.msc i get a question from MMC "in which version of MMC do want to view the file" in 32 bit or 64 bit version every time

how can i disable that question each time i open gpedit.msc

i also saw that when i tried to install gpedit.msc manually (before i had the pro version), the program runs the following command (using a file.bat extension).

@echo off
echo x64
takeown /f %WinDir%\SysWOW64\gpedit.dll
icacls %WinDir%\SysWOW64\gpedit.dll /grant:r %username%:f
takeown /f %WinDir%\SysWOW64\fde.dll
icacls %WinDir%\SysWOW64\fde.dll /grant:r %username%:f
takeown /f %WinDir%\SysWOW64\gptext.dll
icacls %WinDir%\SysWOW64\gptext.dll /grant:r %username%:f
echo.
echo.

takeown /f %WinDir%\SysWOW64\appmgr.dll
icacls %WinDir%\SysWOW64\appmgr.dll /grant:r %username%:f
takeown /f %WinDir%\SysWOW64\fdeploy.dll
icacls %WinDir%\SysWOW64\fdeploy.dll /grant:r %username%:f

IF NOT EXIST %WinDir%\SysWOW64\GPBAK\NUL MKDIR %WinDir%\SysWOW64\GPBAK
takeown /f %WinDir%\SysWOW64\GPBAK\*
icacls %WinDir%\SysWOW64\GPBAK\* /grant:r %username%:f

IF EXIST %WinDir%\SysWOW64\gpedit.dll copy %WinDir%\SysWOW64\gpedit.dll %WinDir%\SysWOW64\GPBAK\gpedit.dll
IF EXIST %WinDir%\SysWOW64\fde.dll copy %WinDir%\SysWOW64\fde.dll %WinDir%\SysWOW64\GPBAK\fde.dll
IF EXIST %WinDir%\SysWOW64\gptext.dll copy %WinDir%\SysWOW64\gptext.dll %WinDir%\SysWOW64\GPBAK\gptext.dll
IF EXIST %WinDir%\SysWOW64\appmgr.dll copy %WinDir%\SysWOW64\appmgr.dll %WinDir%\SysWOW64\GPBAK\appmgr.dll
IF EXIST %WinDir%\SysWOW64\fdeploy.dll copy %WinDir%\SysWOW64\fdeploy.dll %WinDir%\SysWOW64\GPBAK\fdeploy.dll
IF EXIST %WinDir%\SysWOW64\gpedit.msc copy %WinDir%\SysWOW64\gpedit.msc %WinDir%\SysWOW64\GPBAK\gpedit.msc

copy gpedit.dll %WinDir%\SysWOW64\gpedit.dll
copy fde.dll %WinDir%\SysWOW64\fde.dll
copy gptext.dll %WinDir%\SysWOW64\gptext.dll
copy appmgr.dll %WinDir%\SysWOW64\appmgr.dll
copy fdeploy.dll %WinDir%\SysWOW64\fdeploy.dll
copy gpedit.msc %WinDir%\SysWOW64\gpedit.msc

IF NOT EXIST %WinDir%\SysWOW64\GroupPolicy\NUL MKDIR %WinDir%\SysWOW64\GroupPolicy
IF NOT EXIST %WinDir%\SysWOW64\GroupPolicy\adm\NUL MKDIR %WinDir%\SysWOW64\GroupPolicy\adm

copy system.adm %WinDir%\SysWOW64\GroupPolicy\Adm\system.adm
copy inetres.adm %WinDir%\SysWOW64\GroupPolicy\Adm\inetres.adm
copy conf.adm %WinDir%\SysWOW64\GroupPolicy\Adm\conf.adm
copy wmplayer.adm %WinDir%\SysWOW64\GroupPolicy\Adm\wmplayer.adm
copy wuau.adm %WinDir%\SysWOW64\GroupPolicy\Adm\wuau.adm

regsvr32 /s %WinDir%\SysWOW64\gpedit.dll
regsvr32 /s %WinDir%\SysWOW64\fde.dll
regsvr32 /s %WinDir%\SysWOW64\gptext.dll
regsvr32 /s %WinDir%\SysWOW64\appmgr.dll
regsvr32 /s %WinDir%\SysWOW64\fdeploy.dll

is there a way to undo that command and restore gpedit and mmc the way it used to be.

Thank you very much for your help.

May 14th, 2015 4:37am

To disable the prompt for 32 or 64-bit follow the instructions here.
Free Windows Admin Tool Kit Click here and download it now
May 14th, 2015 11:16am

Hi Rod123455,

The group policy editor is only supported by Windows 8.1 Pro and Windows 8.1 Enterprise.
It is not recommended to use a third party method to bypass this limitation.It may result in unexpect behavior.
As a work around,we can refer to Acreed02`s suggestion to add a parameter "/64" to open the group policy editor.

According to the bat file you have posted,we can try to run the following command line to unregister the 32 bit group policy editor.I won`t guarantee it will work.Please create a restore point manually before we try to run the command line to unregister the dll files in case this operation may result-in unexpected behavior.
 "regsvr32 /u %WinDir%\SysWOW64\gpedit.dll
regsvr32 /u %WinDir%\SysWOW64\fde.dll
regsvr32 /u %WinDir%\SysWOW64\gptext.dll
regsvr32 /u %WinDir%\SysWOW64\appmgr.dll
regsvr32 /u %WinDir%\SysWOW64\fdeploy.dll"

The best solution is restoring the machine to a point before we run the bat file, then do an upgrade again.

Best regards

 

May 15th, 2015 3:11am

Hi MeipoXu,

Thank you for your help! I ran the lines and gpedit.msc runs great (no 32/64 bit question anymore).

I would want to use restore point to an earlier time, but when i try to restore the computer, the only resore point i have is from the day i upgraded to Win 8.1 pro. could it be that when i upgraded from win 8.1 to win 8.1 pro, the installer deleted all my restore points?

Is there a way to walk around it and find an older system restore (from last week).

Thank you Very much for your help.

Free Windows Admin Tool Kit Click here and download it now
May 16th, 2015 12:43pm

Hi Rod123455,

It seems that the restore point has been removed.
Have you created a recovery drive before?
If you have made a recovery drive,we can try to refresh the machine.
How to refresh, reset, or restore your PC
http://windows.microsoft.com/en-HK/windows-8/restore-refresh-reset-pc

If the machine works fine now,we needn`t to make modifications to the machine from now on.
In case it won`t work fine in the feature,we can create a recovery drive.
Create a USB recovery drive
http://windows.microsoft.com/en-HK/windows-8/create-usb-recovery-drive

Best regards


May 18th, 2015 1:07am

Hi Rod123455,

It seems that the restore point has been removed.
Have you created a recovery drive before?
If you have made a recovery drive,we can try to refresh the machine.
How to refresh, reset, or restore your PC
http://windows.microsoft.com/en-HK/windows-8/restore-refresh-reset-pc

If the machine works fine now,we needn`t to make modifications to the machine from now on.
In case it won`t work fine in the feature,we can create a recovery drive.
Create a USB recovery drive
http://windows.microsoft.com/en-HK/windows-8/create-usb-recovery-drive

Best regards


Free Windows Admin Tool Kit Click here and download it now
May 18th, 2015 5:06am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics