Q: How to modify registry keys using a startup script

C

Cueball

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\Services\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
 
L

Lord Gazwad of Grantham

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\Services\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
 
T

ThE TrOlL WhAcKeR

Cueball said:
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\Services\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.
 
M

Menno Hershberger

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\Services\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.
 
G

grahamilton

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\Services\Pcmcia\Parameters\"
WshShell.RegWrite p & "SoundsEnabled", 00000001, "REG_DWORD"
WshShell.RegWrite p & "IsaIrqRescanComplete", 00000000, "REG_DWORD"
WshShell.RegWrite p & "DisableIsaToPciRouting", 00000000,
"REG_DWORD"
 
L

Lord Gazwad of Grantham

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 ****ing idiot, you have already
posted plenty.

--
Gazwad

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

Mike Matheny

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ö ! said:
Which WinXP are you running?
If not WinXP Corp, then I guess won't help much!
http://7mares.terravista.pt/xaliasx/xp.html

Cueball said:
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\Services\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
 
T

TehGhodTrole

Mike said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top