I need to Install a .Reg file into registry SILENTLY
235 pts.
0
Q:
I need to Install a .Reg file into registry SILENTLY
Hi Folks

I need to Install a .Reg file into registry SILENTLY ! On a question I posted he a month ago - I asked about preventing the dreaded "DeskTop Recovery" appearing for no reason after a re-start OR cold boot. Because of the answer I got then HERE on this site - I was able to track it down to a couple of commands in the registry.

I corrected it & That was it sorted - or so I thought !

As it turned out - it still happens SO what I want to do is to merge the correct settings from a .Reg file at the boot stage either via a .Bat fie OR by shortcut in "Start-Up" - which ever is best.

The trouble is . . . as U will all know - activating a ".Reg" file then produces the confirmation request dialogue box - followed by the job completion dialogue box.

I want this stage to be SILENT !

Is there a command line way like a "/Q" for quiet or something of that nature. It's been a while since I worked in DOS ( I used to LOVE working in DOS - many years ago ) & I'm not up to date on the commands available.

Do I need to use the Cmdow.exe program to hide it & if so HOW ?

My guess on the cause is that a GUI software is writing to the registry at some point - changing :

"DeskHtmlVersion"=dword:00000000
"DeskHtmlMinorVersion"=dword:00000000
to

"DeskHtmlVersion"=dword:00000110
"DeskHtmlMinorVersion"=dword:00000110

& it's that 110 command that is causing all the trouble !

WHEN the value is 0 - the desktop is fine - BUT at 110 - it defaults to the "DeskTop Recovery" screen !

I can set the value to 0 & it will stay the same for several re-boots & then with no intervention - for no reason - it changes itself to 110 !!!! AAAHHHHHH !!!! :o(

I had also thought of deleting the "DeskTop Recovery" file & re-naming the chosen wallpaper instead BUT - I can't remember the name of the DeskTop Recovery file :o(


Thanks for Ur Time :o)

Ur IDEAS & suggestions on this would be gratefully received - especially as the "DeskTop Recovery" issue is really starting to do his head in. !!!!

Cheers for now.
- Mike -
( MACS-PC )
Mike @ Macs-PC.Co.UK
ASKED: May 19 2009  3:46 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
870 pts.
0
A:
 RATE THIS ANSWER
+2
Click to Vote:
  •   2
  •  0
  • AddThis Social Bookmark Button

regedit.exe [options] [filename] [regpath]

e.g. REGEDIT /s [regpath][filename.reg]
or regedit /s C:\test.reg

[filename]
Import .reg file into the registry

/s [filename]
Silent import, i.e. hide confirmation box when importing files

/e [filename] [regpath]
Export the registry to [filename] starting at [regpath] e.g. regedit /e file.reg HKEY_USERS\.DEFAULT

/L:system
Specify the location of the system.dat to use

/R:user
Specify the location of the user.dat to use

/C [filename]
Compress

/D [regpath]
Delete the specified key
Last Answered: May 20 2009  3:50 PM GMT by PCJunkie   870 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

MacsPC   235 pts.  |   May 21 2009  9:34AM GMT

Hi PCJunkie :o)

Thanks for Ur answer - that looks like EXACTLY what I was after !!!!

I knew there had to be a way to do it BUT althought I DO USE REGEDT32 - I don’t know ALL of it’s commands :o(

U may well hve saved me & my mate A MASSIVE HEADACHE !!!

I just wish I knew what is setting the desktop to 110 from 0 all the time. I’ve never encountered this problem before & that PC is running all the same software as is on MY machines & they’re all fine !!!
Thanks again :o)

- M!ke -
(M@CS-PC)

 

PCJunkie   870 pts.  |   May 23 2009  6:22AM GMT

This really sounds like you have some sort of spyware infection on the PC. What sort of protection do you have installed on the PC?

 

MacsPC   235 pts.  |   May 23 2009  1:23PM GMT

Hello again -
I’ve put on NOD32 Anti Virus & COMODO Internet Security - BOTH are quite tight !

I’m also running SysTweak’s “ADVANCED SYSTEM PROTECTION” which is a malware / apyware etc. detector / eliminator” Downloaded FREE from Givaway Of The Day . com a few weeks ago !

I’ve actually written a small Batch file which incorporates Ur command line instruction into it that runs at Boot-Up so it automatically runs the reset every time the machine is re-started - it works a treat !!!

My guess is that because I’m running the VISTA GUI upgrades like :

LClock
Styler
True Transparnncy
UberIcon
ViOrb
ViStart
Thjoose SideBar
Visual Task-Tips
& WinFlip

I recon one of them may be conflicting with another since they all have different authors & so probably use differing techniques etc. I know when WinFlip start - it takes a “Snap-Shot” of the desktop & all running programs etc. so when activated by mouse etc - it scrolls through them - the same as the Vista scroll !

Basically - all of the above proggys give XP PRO all the looks that make Vista great without all of the issues that make Vista CR&P !!!

Since the only drawback is the Desktop recovery & U have dealt with that - I’m more than happy to continue running them all !!! Further more - since this only happens on 2 machines out of ALL the machines I’ve installed them on - I WHOLEY RECOMMEND U TRY THEM ( if U don’t already )

Thanks again for Ur help !!!

Cheers for now …

- M!ke -

 
0