HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows Vista

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-01-2009, 03:11 PM
dak
Guest
 
Posts: n/a
Default ReReading Windows registry

I am trying to write a script to add a few items like: "Connect to" to the
Start Menu. This seems pretty easy by changing values in the registry and
setting
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Advanced]
"Start_ShowNetConn"=dword:00000001

works to turn "Connect To" on after the next reboot.

Is there a command to force Windows to re-look at the registry after setting
this value, so that the change becomes effective without having to reboot the
computer.
Reply With Quote
Sponsored Links
  #2  
Old 09-01-2009, 04:38 PM
Peter Foldes
Guest
 
Posts: n/a
Default Re: ReReading Windows registry


No

--
Peter

Please Reply to Newsgroup for the benefit of others
Requests for assistance by email can not and will not be acknowledged.

"dak" <dak@discussions.microsoft.com> wrote in message
news:2A9163A2-8D88-4217-B35E-D08460F84EC1@microsoft.com...
>I am trying to write a script to add a few items like: "Connect to" to the
> Start Menu. This seems pretty easy by changing values in the registry and
> setting
> [HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Advanced]
> "Start_ShowNetConn"=dword:00000001
>
> works to turn "Connect To" on after the next reboot.
>
> Is there a command to force Windows to re-look at the registry after setting
> this value, so that the change becomes effective without having to reboot the
> computer.


Reply With Quote
  #3  
Old 09-01-2009, 04:45 PM
Dave-UK
Guest
 
Posts: n/a
Default Re: ReReading Windows registry


"dak" <dak@discussions.microsoft.com> wrote in message news:2A9163A2-8D88-4217-B35E-D08460F84EC1@microsoft.com...
> I am trying to write a script to add a few items like: "Connect to" to the
> Start Menu. This seems pretty easy by changing values in the registry and
> setting
> [HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Advanced]
> "Start_ShowNetConn"=dword:00000001
>
> works to turn "Connect To" on after the next reboot.
>
> Is there a command to force Windows to re-look at the registry after setting
> this value, so that the change becomes effective without having to reboot the
> computer.


One way would be to close and then restart Explorer.

taskkill /F /IM “explorer.exe”
explorer




Reply With Quote
  #4  
Old 09-01-2009, 05:49 PM
dak
Guest
 
Posts: n/a
Default Re: ReReading Windows registry

Thanks.

That will work. But Microsoft must be doing something else. If I go thru the
GUI and customize the Start Menu, when I click OK it is automactically
updated.

"Dave-UK" wrote:

>
> "dak" <dak@discussions.microsoft.com> wrote in message news:2A9163A2-8D88-4217-B35E-D08460F84EC1@microsoft.com...
> > I am trying to write a script to add a few items like: "Connect to" to the
> > Start Menu. This seems pretty easy by changing values in the registry and
> > setting
> > [HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Advanced]
> > "Start_ShowNetConn"=dword:00000001
> >
> > works to turn "Connect To" on after the next reboot.
> >
> > Is there a command to force Windows to re-look at the registry after setting
> > this value, so that the change becomes effective without having to reboot the
> > computer.

>
> One way would be to close and then restart Explorer.
>
> taskkill /F /IM “explorer.exe”
> explorer
>
>
>
>
>

Reply With Quote
  #5  
Old 09-01-2009, 08:17 PM
Dave-UK
Guest
 
Posts: n/a
Default Re: ReReading Windows registry


"dak" <dak@discussions.microsoft.com> wrote in message news:EE337655-0F31-4B33-8580-C36D998D991F@microsoft.com...
> Thanks.
>
> That will work. But Microsoft must be doing something else. If I go thru the
> GUI and customize the Start Menu, when I click OK it is automactically
> updated.
>



How about using the F5 (refresh) key's function?


Reply With Quote
  #6  
Old 09-02-2009, 10:31 PM
Jon
Guest
 
Posts: n/a
Default Re: ReReading Windows registry


"dak" <dak@discussions.microsoft.com> wrote in message
news:2A9163A2-8D88-4217-B35E-D08460F84EC1@microsoft.com...
>I am trying to write a script to add a few items like: "Connect to" to the
> Start Menu. This seems pretty easy by changing values in the registry and
> setting
> [HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Advanced]
> "Start_ShowNetConn"=dword:00000001
>
> works to turn "Connect To" on after the next reboot.
>
> Is there a command to force Windows to re-look at the registry after
> setting
> this value, so that the change becomes effective without having to reboot
> the
> computer.



Sometimes, if you can locate a suitable api function to use - which I
confess I don't know in this case - a refresh is built into the actual
command.

--
Jon



Reply With Quote
Sponsored Links
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Registry Repair Tool - Making Windows Registry More Consistent jeremiah wright Windows XP Basics 8 02-19-2009 10:52 PM
Use Window XP Registry Cleaner to Fix Windows XP Registry Errors jeremiah wright Windows XP Basics 15 09-27-2008 09:41 PM
Windows Registry Cleaner - Download Free Registry Software voujnbwuotkd@yahoo.com Windows XP 18 07-27-2008 04:32 PM
What is Windows registry (Registry Keys) Omar Abid Windows XP 5 03-28-2008 07:15 PM
windows locale detection using windows registry Options sunny Windows XP 1 11-09-2007 01:21 AM


All times are GMT. The time now is 08:38 PM.


Powered by vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts their respective authors.
Ad Management by RedTyger