Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > ReReading Windows registry

Reply
Thread Tools Display Modes

ReReading Windows registry

 
 
dak
Guest
Posts: n/a

 
      09-01-2009
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
 
 
 
 
Peter Foldes
Guest
Posts: n/a

 
      09-01-2009

No

--
Peter

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

"dak" <> wrote in message
news:2A9163A2-8D88-4217-B35E-...
>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
 
Dave-UK
Guest
Posts: n/a

 
      09-01-2009

"dak" <> wrote in message news:2A9163A2-8D88-4217-B35E-...
> 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
 
dak
Guest
Posts: n/a

 
      09-01-2009
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" <> wrote in message news:2A9163A2-8D88-4217-B35E-...
> > 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
 
Dave-UK
Guest
Posts: n/a

 
      09-01-2009

"dak" <> wrote in message news:EE337655-0F31-4B33-8580-...
> 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
 
Jon
Guest
Posts: n/a

 
      09-02-2009

"dak" <> wrote in message
news:2A9163A2-8D88-4217-B35E-...
>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
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
windows 2003 Ent SP1 Server Crash Issues Will Owens Windows Server 2 03-03-2010 01:13 AM
Explorer.exe uses much CPU for several minutes in 10 minutes inter Dima Windows Vista Performance 0 08-06-2009 07:13 AM
Setting 'System managed' page file for d: drive causes high CPU us Dima Windows Vista General Discussion 15 08-06-2009 07:08 AM
Feedback Wanted - Remotely Administering Windows Server 2008 DNS from Windows XP and Windows Server 2003 Darrell Gorter[MSFT] Windows Server 0 09-07-2007 09:45 PM
Re: Windows x64 to Vista Ultimate 64 Upgrade According to Microsoft 1/24/07 McG. Windows 64 Bit 30 01-26-2007 10:36 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59