MSFN Forum: Registry not merged with silent - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Registry not merged with silent

#1 User is offline   MrAssassin47 

  • Group: Members
  • Posts: 6
  • Joined: 27-January 13
  • OS:Windows 8 x64
  • Country: Country Flag

  Posted 31 January 2013 - 05:17 AM

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"




#2 User is online   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,682
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 31 January 2013 - 09:38 AM

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

#3 User is offline   MrAssassin47 

  • Group: Members
  • Posts: 6
  • Joined: 27-January 13
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 31 January 2013 - 02:10 PM

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

#4 User is online   DosProbie 

  • Member
  • Group: Supreme Sponsor
  • Posts: 205
  • Joined: 16-October 12
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 31 January 2013 - 08:02 PM

View PostMrAssassin47, on 31 January 2013 - 05:17 AM, said:

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




#5 User is offline   MrAssassin47 

  • Group: Members
  • Posts: 6
  • Joined: 27-January 13
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 01 February 2013 - 05:16 AM

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...

#6 User is online   DosProbie 

  • Member
  • Group: Supreme Sponsor
  • Posts: 205
  • Joined: 16-October 12
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 01 February 2013 - 05:33 AM

View PostMrAssassin47, on 01 February 2013 - 05:16 AM, said:

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

#7 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,750
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 02 February 2013 - 10:57 AM

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy