• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
MrAssassin47

Registry not merged with silent

7 posts in this topic

I've been trying to merge this registry with silent command in run once but haven't been able to do so, It doesn't even merge :(

OS Windows 8 Pro 64-Bit

Windows Registry Editor Version 5.00

;Device Manager to My Computer Context Menu
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\devmgmt]
@="&Device Manger"
"Icon"="devmgr.dll,4"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\devmgmt\command]
@="mmc.exe devmgmt.msc"

;Group Policy Editor to My Computer Context Menu
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\gpedit]
@="Group Policy Editor"
"Icon"="%SYSTEMROOT%\\System32\\gpedit.dll"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\gpedit\command]
@="mmc gpedit.msc"

;Registry Editor to My Computer Context Menu
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\regedit]
@="&Registry Editor"
"Icon"="regedit.exe"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\regedit\command]
@="regedit.exe"

;Task Manager to My Computer Context Menu
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\taskmgr]
@="&Task Manager"
"Icon"="taskmgr.exe"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\taskmgr\command]
@="taskmgr.exe"

;Services to My Computer Context Menu
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services]
@="&Services"
"Icon"="filemgmt.dll"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services\command]
@="mmc.exe services.msc"

0

Share this post


Link to post
Share on other sites

What is the command you put into RunOnce? Also what is the full path to the RunOnce key you are using?

0

Share this post


Link to post
Share on other sites

If I find out how to run the REGEDIT /S Tweak.reg with UAC enabled then It will merge without any problem.

0

Share this post


Link to post
Share on other sites

I've been trying to merge this registry with silent command in run once but haven't been able to do so, It doesn't even merge :(

OS Windows 8 Pro 64-Bit

Windows Registry Editor Version 5.00

;Device Manager to My Computer Context Menu
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\devmgmt]
@="&Device Manger"
"Icon"="devmgr.dll,4"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\devmgmt\command]
@="mmc.exe devmgmt.msc"

;Group Policy Editor to My Computer Context Menu
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\gpedit]
@="Group Policy Editor"
"Icon"="%SYSTEMROOT%\\System32\\gpedit.dll"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\gpedit\command]
@="mmc gpedit.msc"

;Registry Editor to My Computer Context Menu
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\regedit]
@="&Registry Editor"
"Icon"="regedit.exe"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\regedit\command]
@="regedit.exe"

;Task Manager to My Computer Context Menu
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\taskmgr]
@="&Task Manager"
"Icon"="taskmgr.exe"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\taskmgr\command]
@="taskmgr.exe"

;Services to My Computer Context Menu
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services]
@="&Services"
"Icon"="filemgmt.dll"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services\command]
@="mmc.exe services.msc"

Why don't you just run a batch file like below and put in same folder as your .reg

file, then right-click and run as admin..

@echo off

cd %~dp0

:: CONTEXT MENU

regedit /s %~dp0Context.reg

exit

0

Share this post


Link to post
Share on other sites

I don't want to run it. I want it to be unattended :) any code that can run that file as admin or i should disable uac from install.wim by loading the hives and then during runonce enable it with registry tweak...

0

Share this post


Link to post
Share on other sites

I don't want to run it. I want it to be unattended :) any code that can run that file as admin or i should disable uac from install.wim by loading the hives and then during runonce enable it with registry tweak...

Gotcha .. If you are using Win 8 then you can just slipstream all your .reg files into your wim image by using WinToolKit v.1.4.0.77 as a .WA addon file.

Install WinToolKit then go to > Tools > Addon Maker > Import Registry > Add *.reg

Now it will be Unattended and Installed during your OS install.. :thumbup

0

Share this post


Link to post
Share on other sites

I disable the UAC via xml then run my reg teaks during Firstlogoncommands and then reenable it during cleanup.cmd which is final thing before reboot machine

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.