XPSP2 and Windows firewall

For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.

Moderators: Krom, Grendel

Post Reply
User avatar
Warlock
DBB 3D Artist
DBB 3D Artist
Posts: 3370
Joined: Wed May 12, 1999 2:01 am
Location: Midland, Tx, U.S.
Contact:

XPSP2 and Windows firewall

Post by Warlock »

Is there a way to install SP2 and not have it turn on the fire wall when windows reboots?

the reasion why is we are needing to install SP2 in all of are stores remotely but the issue is that after it gets done installing we cant get back in to turn it off because SP2 doesnt like VNC.

what i was thinking is haveing a batch file run the SP2 install and befor it reboots have it insert a reg key that sets all the firewall settings to off.


any ideas?

$5 Krom will reply 1st :P
User avatar
CDN_Merlin
DBB_Master
DBB_Master
Posts: 9781
Joined: Thu Nov 05, 1998 12:01 pm
Location: Capital Of Canada

Post by CDN_Merlin »

User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16138
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Re: XPSP2 and Windows firewall

Post by Krom »

Warlock wrote:$5 Krom will reply 1st :P
You lose, now gimme your lunch money. ;)
User avatar
Grendel
3d Pro Master
3d Pro Master
Posts: 4390
Joined: Mon Oct 28, 2002 3:01 am
Location: Corvallis OR, USA

Post by Grendel »

I use VNC (server & client) on at least 3 of my 4 comps under XPSP2 w/ the firewall on. Just add an exception for winvnc4.exe.
ImageImage
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16138
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Re:

Post by Krom »

Grendel wrote:I use VNC (server & client) on at least 3 of my 4 comps under XPSP2 w/ the firewall on. Just add an exception for winvnc4.exe.
The problem is, how do you do that when the only access you have to the computer is through VNC? After installing SP2 the firewall comes on at the next reboot and you can't connect to disable it or allow VNC through.
User avatar
fliptw
DBB DemiGod
DBB DemiGod
Posts: 6459
Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada

Post by fliptw »

add the exception for vnc via registry, either before or adding install SP2.

but to turn it off after the install you need physical access or a findangle a way to use remote registry. maybe RDC, but that requires enabling it.

but Merlin has it right if you have yet to install SP2.
User avatar
Grendel
3d Pro Master
3d Pro Master
Posts: 4390
Joined: Mon Oct 28, 2002 3:01 am
Location: Corvallis OR, USA

Post by Grendel »

Save the two files to c:\\. Doubleclick runonce.reg before rebooting the machine after installing SP2. Delete the files after reboot. Try if it works before seriously using it, I didn't :P
runonce.reg wrote:REGEDIT4

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunOnce]
"Allow VNC"="C:\\\\Windows\\\\regedit -s c:\\fwvnc.reg"
fwvnc.reg wrote:REGEDIT4

[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\SharedAccess\\Parameters\\FirewallPolicy\\StandardProfile\\AuthorizedApplications\\List]
"C:\\\\Program Files\\\\RealVNC\\\\VNC4\\\\winvnc4.exe"="C:\\\\Program Files\\\\RealVNC\\\\VNC4\\\\winvnc4.exe:*:Enabled:winvnc4.exe"
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16138
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Post by Krom »

Be sure to correct the path to VNC in that registry file if it is not installed in the standard folder.
Post Reply