Q: How to modify registry keys using a startup script

Posted: 02-13-2004, 01:26 PM
Greetings,
I own a laptop running XP that ha a wireless card. I have
found that it doesn't work unless I change a couple of registry
settings (as per http://support.microsoft.com/?kbid=279491, even
though that article is meant for Win2K). The registry settings are
changed to the following:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Pcmcia\Parameters]
"SoundsEnabled"=dword:00000001
"IsaIrqRescanComplete"=dword:00000000
"DisableIsaToPciRouting"=dword:00000000

Now, I have noticed that while two of the settings remain the same at
startup, one of them (IsaIrqRescanComplete), keeps resetting itself to
1 at startup. As of now, as WinXP is initializing, I go into the
regsitry using RegEdit and change it to the correct value each time.

Two questions:
(1) Any reason why this key is persistently being reset?
(2) In lieu of an answer to (1), is there to create a script and place
it in, say, the StartUp folder, and have it execute at boot-up, so
won't have to manual change it each time?

Any suggestions would be appreciated. Thanks!
-Mark
Reply With Quote

Responses to "Q: How to modify registry keys using a startup script"

Lord Gazwad of Grantham
Guest
Posts: n/a
 
Re: How to modify registry keys using a startup script
Posted: 02-13-2004, 01:37 PM
Cueball wrote:
| Greetings,
| I own a laptop running XP that ha a wireless card. I have
| found that it doesn't work unless I change a couple of registry
| settings (as per http://support.microsoft.com/?kbid=279491, even
| though that article is meant for Win2K). The registry settings are
| changed to the following:
|
| [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Pcmcia\Parameters]
| "SoundsEnabled"=dword:00000001
| "IsaIrqRescanComplete"=dword:00000000
| "DisableIsaToPciRouting"=dword:00000000
|
| Now, I have noticed that while two of the settings remain the same at
| startup, one of them (IsaIrqRescanComplete), keeps resetting itself to
| 1 at startup. As of now, as WinXP is initializing, I go into the
| regsitry using RegEdit and change it to the correct value each time.
|
| Two questions:
| (1) Any reason why this key is persistently being reset?
| (2) In lieu of an answer to (1), is there to create a script and place
| it in, say, the StartUp folder, and have it execute at boot-up, so
| won't have to manual change it each time?
|
| Any suggestions would be appreciated. Thanks!
| -Mark

Search for any file which is a .reg file, look at the way it's structured,
copy it and shove your blurb from above into your copy.

Strip out whatever other shit is in the file and double click it.

--
Gazwad

Freelance scientist and people tester.
Guardian: alt.os.windows-xp
Moderator: alt.warez.uk




Reply With Quote
ThE TrOlL WhAcKeR
Guest
Posts: n/a
 
Re: How to modify registry keys using a startup script
Posted: 02-13-2004, 01:39 PM
Cueball <bray@THIScomcastSPAM.net> wrote:
>> Greetings,
>> I own a laptop running XP that ha a wireless card. I have
>> found that it doesn't work unless I change a couple of registry
>> settings (as per http://support.microsoft.com/?kbid=279491, even
>> though that article is meant for Win2K). The registry settings are
>> changed to the following:
>>
>> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Pcmcia\Parameters]
>> "SoundsEnabled"=dword:00000001
>> "IsaIrqRescanComplete"=dword:00000000
>> "DisableIsaToPciRouting"=dword:00000000
>>
>> Now, I have noticed that while two of the settings remain the same at
>> startup, one of them (IsaIrqRescanComplete), keeps resetting itself
>> to 1 at startup. As of now, as WinXP is initializing, I go into the
>> regsitry using RegEdit and change it to the correct value each time.
>>
>> Two questions:
>> (1) Any reason why this key is persistently being reset?
>> (2) In lieu of an answer to (1), is there to create a script and
>> place it in, say, the StartUp folder, and have it execute at
>> boot-up, so won't have to manual change it each time?
>>
>> Any suggestions would be appreciated. Thanks!
>> -Mark
export the entries from the registry to a .reg file, and create a shortcut
to:

%SYSTEMROOT%\regedit.exe -s <path to dot-reg file>

and move the shortcut to the startup folder.


--
Declan Swan

You can't be truly rude until you understand good manners.











Reply With Quote
Menno Hershberger
Guest
Posts: n/a
 
Re: Q: How to modify registry keys using a startup script
Posted: 02-13-2004, 01:48 PM
Cueball <bray@THIScomcastSPAM.net> wrote in
news:6rmp20dte4u8pio6da8jcme2avgi4ta7qd@4ax.com:
> Greetings,
> I own a laptop running XP that ha a wireless card. I have
> found that it doesn't work unless I change a couple of registry
> settings (as per http://support.microsoft.com/?kbid=279491, even
> though that article is meant for Win2K). The registry settings are
> changed to the following:
>
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Pcmcia\Parameters
> ] "SoundsEnabled"=dword:00000001
> "IsaIrqRescanComplete"=dword:00000000
> "DisableIsaToPciRouting"=dword:00000000
>
> Now, I have noticed that while two of the settings remain the same at
> startup, one of them (IsaIrqRescanComplete), keeps resetting itself to
> 1 at startup. As of now, as WinXP is initializing, I go into the
> regsitry using RegEdit and change it to the correct value each time.
>
> Two questions:
> (1) Any reason why this key is persistently being reset?
> (2) In lieu of an answer to (1), is there to create a script and place
> it in, say, the StartUp folder, and have it execute at boot-up, so
> won't have to manual change it each time?
>
> Any suggestions would be appreciated. Thanks!
> -Mark
>
Just an idea. You could export that registry key (when you've got it
right) to the desktop. Then after you boot up you could just double
click it and it'd reset the registry without you having to go in and do
it manually. Maybe you could even put it in your startup group.

--
There are 3 kinds of people: Those who can count & those who can't.
Reply With Quote
grahamilton
Guest
Posts: n/a
 
Re: How to modify registry keys using a startup script
Posted: 02-13-2004, 02:44 PM
Heres a script (attached) that will change those reg settings
or if attachment buggered somehow copy and paste what below into notepad
and save it as a vbs file and use that, sorry not a clue about question 1






Set WshShell = WScript.CreateObject("WScript.Shell")
Dim p
p =
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servi ces\Pcmcia\Parameters\"
WshShell.RegWrite p & "SoundsEnabled", 00000001, "REG_DWORD"
WshShell.RegWrite p & "IsaIrqRescanComplete", 00000000, "REG_DWORD"
WshShell.RegWrite p & "DisableIsaToPciRouting", 00000000,
"REG_DWORD"




Reply With Quote
Hü©k Hö§hïmötö !
Guest
Posts: n/a
 
Re: How to modify registry keys using a startup script
Posted: 02-13-2004, 04:08 PM
Which WinXP are you running?
If not WinXP Corp, then I guess won't help much!
http://7mares.terravista.pt/xaliasx/xp.html

"Cueball" <bray@THIScomcastSPAM.net> wrote in message
news:6rmp20dte4u8pio6da8jcme2avgi4ta7qd@4ax.com...
> Greetings,
> I own a laptop running XP that ha a wireless card. I have
> found that it doesn't work unless I change a couple of registry
> settings (as per http://support.microsoft.com/?kbid=279491, even
> though that article is meant for Win2K). The registry settings are
> changed to the following:
>
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Pcmcia\Parameters]
> "SoundsEnabled"=dword:00000001
> "IsaIrqRescanComplete"=dword:00000000
> "DisableIsaToPciRouting"=dword:00000000
>
> Now, I have noticed that while two of the settings remain the same at
> startup, one of them (IsaIrqRescanComplete), keeps resetting itself to
> 1 at startup. As of now, as WinXP is initializing, I go into the
> regsitry using RegEdit and change it to the correct value each time.
>
> Two questions:
> (1) Any reason why this key is persistently being reset?
> (2) In lieu of an answer to (1), is there to create a script and place
> it in, say, the StartUp folder, and have it execute at boot-up, so
> won't have to manual change it each time?
>
> Any suggestions would be appreciated. Thanks!
> -Mark

Reply With Quote
Lord Gazwad of Grantham
Guest
Posts: n/a
 
Re: How to modify registry keys using a startup script
Posted: 02-13-2004, 04:13 PM
Hü©k Hö§hïmötö ! wrote:
| Which WinXP are you running?
| If not WinXP Corp, then I guess won't help much!
| http://7mares.terravista.pt/xaliasx/xp.html
|

Please stop posting proof that you're a fucking idiot, you have already
posted plenty.

--
Gazwad

Freelance scientist and people tester.
Guardian: alt.os.windows-xp
Moderator: alt.warez.uk




Reply With Quote
Mike Matheny
Guest
Posts: n/a
 
Re: How to modify registry keys using a startup script
Posted: 02-15-2004, 10:39 PM
what has that link got to do with his question? Take the .reg file you have,
create a shortcut that has the following command:


reg import {name of reg file}

and place it in your startup group.


Console Registry Tool for Windows - version 3.0
Copyright (C) Microsoft Corp. 1981-2001. All rights reserved


REG IMPORT FileName

FileName The name of the disk file to import (local machine only)

Examples:

REG IMPORT AppBkUp.reg
Imports registry entrys from the file AppBkUp.reg

--

Mike Matheny

"Hü©k Hö§hïmötö !" <huckleberryhoshimoto@earthlink.net> wrote in message
news:Zv7Xb.2627$WW3.1357@newsread2.news.pas.earthl ink.net...
> Which WinXP are you running?
> If not WinXP Corp, then I guess won't help much!
> http://7mares.terravista.pt/xaliasx/xp.html
>
> "Cueball" <bray@THIScomcastSPAM.net> wrote in message
> news:6rmp20dte4u8pio6da8jcme2avgi4ta7qd@4ax.com...
> > Greetings,
> > I own a laptop running XP that ha a wireless card. I have
> > found that it doesn't work unless I change a couple of registry
> > settings (as per http://support.microsoft.com/?kbid=279491, even
> > though that article is meant for Win2K). The registry settings are
> > changed to the following:
> >
> > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Pcmcia\Parameters]
> > "SoundsEnabled"=dword:00000001
> > "IsaIrqRescanComplete"=dword:00000000
> > "DisableIsaToPciRouting"=dword:00000000
> >
> > Now, I have noticed that while two of the settings remain the same at
> > startup, one of them (IsaIrqRescanComplete), keeps resetting itself to
> > 1 at startup. As of now, as WinXP is initializing, I go into the
> > regsitry using RegEdit and change it to the correct value each time.
> >
> > Two questions:
> > (1) Any reason why this key is persistently being reset?
> > (2) In lieu of an answer to (1), is there to create a script and place
> > it in, say, the StartUp folder, and have it execute at boot-up, so
> > won't have to manual change it each time?
> >
> > Any suggestions would be appreciated. Thanks!
> > -Mark
>
>

Reply With Quote
TehGhodTrole
Guest
Posts: n/a
 
Re: How to modify registry keys using a startup script
Posted: 02-15-2004, 10:48 PM
Mike Matheny wrote:
> what has that link got to do with his question?
[snip]

Your sentiments of displeasure would have had far more impact had you not
top-posted. As it is, you had no impact at all.

HTH and HAND


--
TehGhodTrole: Trolling, for God's sake.
Your Free Insult: Jesus loves you.
Reply With Quote
Jack
Guest
Posts: n/a
 
Re: How to modify registry keys using a startup script
Posted: 02-15-2004, 10:57 PM
your welcome...


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004


Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may 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 On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista Startup Script problem (loading registry hive issue) ejmichaud@hotmail.com Windows Vista Administration 5 03-11-2008 12:27 PM
Modify NTFS Permission with script like Xcalcs.vbs ...... primax Windows Vista Networking & Sharing 0 06-25-2007 11:23 AM
Modify registry rscapers Windows Vista Performance & Maintenance 2 03-29-2007 12:48 AM
Can't Modify Registry Keys Mike Hartsough Windows XP Configuration & Management 1 12-11-2005 03:11 PM
Cannot modify registry madman Windows XP Security & Administration 0 07-15-2003 04:13 PM