G
Guest
The situation:
We have a 30 machine network with two routers from two different ISPs
(and two gateways, natch) connected to one switch. Each machine in the
network has Win XP Pro working under a shell and a program that resets all
changes to the original config after each restart. All the machines have My
Documents moved to one (same) directory in a "central" machine that's
identified in each as a network drive (Z:\). They all share this directory
and "see" it as My Documents.
I want the user to select his preferred ISP so I set up two desktop
shortcuts that run NetSwitcher with the corresponding Gateway and DNSs. That
works ok (although I don't understand why I get the same IP when I run
www.whatismyip.com, but that's a secondary issue right now (1)).
The Problem:
When Netswitcher is executed (changing the gateway and DNSs) the network
drive Z: is cut off and reinstated (Z:\ is defined in Netswitcher) so "My
Documents" returns to its original Windows status but doesn't link back to
Z:\. Because of the shell the user cannot Move "My Documents" to the other
drive/subdirectory using the windows XP mouse commands and I wouldn't want
him to anyhow. I want to automate the process so the user isn't even aware
it's happening. Printers shared in the same central machine should still be
shared after the change, but NetSwitcher takes care of that.
I copied the registry keys responsible (2) but the process requires a
restart for "My Documents" to move using that technique (and that's verboten
in this case because everything is reset by the protection program). I'm
looking for a TweakUI type of thing that can be executed from the command
line (in a batch file that includes the NetSwitcher app) so switching from
one ISP to another is seamless.
Thanks for your help
PS: I know these could count as separate questions but they are soooo tiny
that I'll try to squeeze them in:
(1) After running netswitcher and changing the gateway and DNS I still get
the same outside IP when I check it with www.whatismyip.com. Does this mean
Netswitcher is not doing it real job (switching ISPs) on the fly? Would I
still need to restart or is there a "Network Reset".
(2) When I batch copy a key in the registry, how can I avoid the yes/no
confirmation questions.
We have a 30 machine network with two routers from two different ISPs
(and two gateways, natch) connected to one switch. Each machine in the
network has Win XP Pro working under a shell and a program that resets all
changes to the original config after each restart. All the machines have My
Documents moved to one (same) directory in a "central" machine that's
identified in each as a network drive (Z:\). They all share this directory
and "see" it as My Documents.
I want the user to select his preferred ISP so I set up two desktop
shortcuts that run NetSwitcher with the corresponding Gateway and DNSs. That
works ok (although I don't understand why I get the same IP when I run
www.whatismyip.com, but that's a secondary issue right now (1)).
The Problem:
When Netswitcher is executed (changing the gateway and DNSs) the network
drive Z: is cut off and reinstated (Z:\ is defined in Netswitcher) so "My
Documents" returns to its original Windows status but doesn't link back to
Z:\. Because of the shell the user cannot Move "My Documents" to the other
drive/subdirectory using the windows XP mouse commands and I wouldn't want
him to anyhow. I want to automate the process so the user isn't even aware
it's happening. Printers shared in the same central machine should still be
shared after the change, but NetSwitcher takes care of that.
I copied the registry keys responsible (2) but the process requires a
restart for "My Documents" to move using that technique (and that's verboten
in this case because everything is reset by the protection program). I'm
looking for a TweakUI type of thing that can be executed from the command
line (in a batch file that includes the NetSwitcher app) so switching from
one ISP to another is seamless.
Thanks for your help
PS: I know these could count as separate questions but they are soooo tiny
that I'll try to squeeze them in:
(1) After running netswitcher and changing the gateway and DNS I still get
the same outside IP when I check it with www.whatismyip.com. Does this mean
Netswitcher is not doing it real job (switching ISPs) on the fly? Would I
still need to restart or is there a "Network Reset".
(2) When I batch copy a key in the registry, how can I avoid the yes/no
confirmation questions.