A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Security and Administration with Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

XPSP2 Push



 
 
Thread Tools Display Modes
  #1  
Old December 7th 05, 06:48 PM posted to microsoft.public.windowsxp.security_admin
external usenet poster
 
Posts: n/a
Default XPSP2 Push

Using Landesk to push XPSP2 via the HKLM runonce. When the user boots down/up and logs in XPSP2 starts to install but takes up to a hour to install. Prior to Landesk XPSP2 was being installed via cd in about 20mins. Not sure if this could be the reason but when installing via cd we disable McAfee's On Demand Scan. If that is the case then how would I disable it when using HKLM runonce to install xpsp2?
Ads
  #2  
Old December 7th 05, 09:30 PM posted to microsoft.public.windowsxp.security_admin
external usenet poster
 
Posts: n/a
Default XPSP2 Push

From: "Nicholas Edivan"

| Using Landesk to push XPSP2 via the HKLM runonce. When the user boots down/up and logs in
| XPSP2 starts to install but takes up to a hour to install. Prior to Landesk XPSP2 was
| being installed via cd in about 20mins. Not sure if this could be the reason but when
| installing via cd we disable McAfee's On Demand Scan. If that is the case then how would I
| disable it when using HKLM runonce to install xpsp2?

Going over the LAN ?

It's a 256MB file. Are you running it across the LAN or copying it local ? Are many nodes
doing the same thing at the same time ?

I found it easier to put Service Packs on a CDROM with a Kixtart Script that installs the
patches automatically and not put a burdeon on the LAN.

Yes, if you have many coomputers it takes time. However, all you need is a multiple CDs and
a team. since it it scripted, there is nor user intervention and the end, the PC is
auto-rebooted. Put the CDROM in, run the scrript, go to next PC. At the end, go to the
reboted PCs and remove the CD.

BTW: Part of the script copies the SP2 installer from the CD to the hard disk, stops the
McAfee VirusScan NT Services and then runs the SP2 installer.

--
Dave
http://www.claymania.com/removal-trojan-adware.html
http://www.ik-cs.com/got-a-virus.htm


  #3  
Old December 8th 05, 06:46 PM posted to microsoft.public.windowsxp.security_admin
external usenet poster
 
Posts: n/a
Default XPSP2 Push

Landesk is able to: push the package/unpack and add the reg entry to HKLM runonce. The actual pushing of the package seems not to be the issue rather the On Demand McAfee Scan when booting up......How were you able to stop/disable the McAfee Scan?

David H. 12/07 3:30 PM

From: "Nicholas Edivan"

| Using Landesk to push XPSP2 via the HKLM runonce. When the user boots down/up and logs in
| XPSP2 starts to install but takes up to a hour to install. Prior to Landesk XPSP2 was
| being installed via cd in about 20mins. Not sure if this could be the reason but when
| installing via cd we disable McAfee's On Demand Scan. If that is the case then how would I
| disable it when using HKLM runonce to install xpsp2?

Going over the LAN ?

It's a 256MB file. Are you running it across the LAN or copying it local ? Are many nodes
doing the same thing at the same time ?

I found it easier to put Service Packs on a CDROM with a Kixtart Script that installs the
patches automatically and not put a burdeon on the LAN.

Yes, if you have many coomputers it takes time. However, all you need is a multiple CDs and
a team. since it it scripted, there is nor user intervention and the end, the PC is
auto-rebooted. Put the CDROM in, run the scrript, go to next PC. At the end, go to the
reboted PCs and remove the CD.

BTW: Part of the script copies the SP2 installer from the CD to the hard disk, stops the
McAfee VirusScan NT Services and then runs the SP2 installer.

--
Dave
http://www.claymania.com/removal-trojan-adware.html
http://www.ik-cs.com/got-a-virus.htm




  #4  
Old December 8th 05, 06:59 PM posted to microsoft.public.windowsxp.security_admin
external usenet poster
 
Posts: n/a
Default XPSP2 Push

From: "Nicholas Edivan"

| Landesk is able to: push the package/unpack and add the reg entry to HKLM runonce. The
| actual pushing of the package seems not to be the issue rather the On Demand McAfee Scan
| when booting up......How were you able to stop/disable the McAfee Scan?
|

I think yoy mean "Om Access" scanning. McAfee should NOT perform a "On Demand" scan at boot
up.

I inserted the following KiXtart script snippet to turn off the the McAfee "On Access"
scanner.

;McAfee v4.5 SP1
;-----------------------------------------------------------
if exist ("c:\Program Files\Network Associates\VirusScan\*.*")=1
shell "%comspec% /c net stop mcshield nul"
shell "%comspec% /c net stop AVSynMgr nul"
endif

;Mcafee v7.1E and v8.0i
;-----------------------------------------------------------
if exist ("C:\Program Files\Network Associates\Common Framework\*.*")=1
shell "%comspec% /c net stop McAfeeFramework nul"
shell "%comspec% /c net stop McTaskManager nul"
shell "%comspec% /c net stop McShield nul"
endif

At the end of the script the PC would be rebooted.

Note that in the script not only was SP2 installed but the c:\i386 folder was slip-streamed
to SP2 level as well.

--
Dave
http://www.claymania.com/removal-trojan-adware.html
http://www.ik-cs.com/got-a-virus.htm


  #5  
Old December 8th 05, 08:59 PM posted to microsoft.public.windowsxp.security_admin
external usenet poster
 
Posts: n/a
Default XPSP2 Push

Very Cool.....is there way to convert the kixtart script to a vbs or js....I really don't want
to deploy kixtart to all my users....

David H. 12/08 12:59 PM

From: "Nicholas Edivan"

| Landesk is able to: push the package/unpack and add the reg entry to HKLM runonce. The
| actual pushing of the package seems not to be the issue rather the On Demand McAfee Scan
| when booting up......How were you able to stop/disable the McAfee Scan?
|

I think yoy mean "Om Access" scanning. McAfee should NOT perform a "On Demand" scan at boot
up.

I inserted the following KiXtart script snippet to turn off the the McAfee "On Access"
scanner.

;McAfee v4.5 SP1
;-----------------------------------------------------------
if exist ("c:\Program Files\Network Associates\VirusScan\*.*")=1
shell "%comspec% /c net stop mcshield nul"
shell "%comspec% /c net stop AVSynMgr nul"
endif

;Mcafee v7.1E and v8.0i
;-----------------------------------------------------------
if exist ("C:\Program Files\Network Associates\Common Framework\*.*")=1
shell "%comspec% /c net stop McAfeeFramework nul"
shell "%comspec% /c net stop McTaskManager nul"
shell "%comspec% /c net stop McShield nul"
endif

At the end of the script the PC would be rebooted.

Note that in the script not only was SP2 installed but the c:\i386 folder was slip-streamed
to SP2 level as well.

--
Dave
http://www.claymania.com/removal-trojan-adware.html
http://www.ik-cs.com/got-a-virus.htm




  #6  
Old December 8th 05, 10:43 PM posted to microsoft.public.windowsxp.security_admin
external usenet poster
 
Posts: n/a
Default XPSP2 Push

From: "Nicholas Edivan"

| Very Cool.....is there way to convert the kixtart script to a vbs or js....I really don't
| want to deploy kixtart to all my users....
|

Well, KiXtart can be executed from a centralized location. However, the script can be
converted to VBS.

I prefer KiX Scripts :-)

--
Dave
http://www.claymania.com/removal-trojan-adware.html
http://www.ik-cs.com/got-a-virus.htm


  #7  
Old December 9th 05, 01:20 PM posted to microsoft.public.windowsxp.security_admin
external usenet poster
 
Posts: n/a
Default XPSP2 Push

Hi,

Converted to vbscript:

'--------------------8----------------------
Set oFSO = CreateObject("Scripting.FileSystemObject")
Set oShell = CreateObject("WScript.Shell")

sPFDir = oShell.RegRead _
("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\P rogramFilesDir")

' McAfee v4.5 SP1
If oFSO.FolderExists(sPFDir & "\Network Associates\VirusScan") Then
oShell.Run "%SystemRoot%\system32\net.exe stop mcshield /y", 0, True
oShell.Run "%SystemRoot%\system32\net.exe stop AVSynMgr /y", 0, True
End If

' Mcafee v7.1E and v8.0i
If oFSO.FolderExists(sPFDir & "\Network Associates\Common Framework") Then
oShell.Run "%SystemRoot%\system32\net.exe stop McAfeeFramework /y", 0, True
oShell.Run "%SystemRoot%\system32\net.exe stop McTaskManager /y", 0, True
oShell.Run "%SystemRoot%\system32\net.exe stop McShield /y", 0, True
End If

'--------------------8----------------------



Nicholas Edivan wrote:

Very Cool.....is there way to convert the kixtart script to a vbs or js....I really don't want
to deploy kixtart to all my users....


David H. 12/08 12:59 PM


From: "Nicholas Edivan"

| Landesk is able to: push the package/unpack and add the reg entry to HKLM runonce. The
| actual pushing of the package seems not to be the issue rather the On Demand McAfee Scan
| when booting up......How were you able to stop/disable the McAfee Scan?
|

I think yoy mean "Om Access" scanning. McAfee should NOT perform a "On Demand" scan at boot
up.

I inserted the following KiXtart script snippet to turn off the the McAfee "On Access"
scanner.

;McAfee v4.5 SP1
;-----------------------------------------------------------
if exist ("c:\Program Files\Network Associates\VirusScan\*.*")=1
shell "%comspec% /c net stop mcshield nul"
shell "%comspec% /c net stop AVSynMgr nul"
endif

;Mcafee v7.1E and v8.0i
;-----------------------------------------------------------
if exist ("C:\Program Files\Network Associates\Common Framework\*.*")=1
shell "%comspec% /c net stop McAfeeFramework nul"
shell "%comspec% /c net stop McTaskManager nul"
shell "%comspec% /c net stop McShield nul"
endif

At the end of the script the PC would be rebooted.

Note that in the script not only was SP2 installed but the c:\i386 folder was slip-streamed
to SP2 level as well.



--
torgeir, Microsoft MVP Scripting, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scr...r/default.mspx
  #8  
Old December 9th 05, 05:59 PM posted to microsoft.public.windowsxp.security_admin
external usenet poster
 
Posts: n/a
Default XPSP2 Push

That works like a champ!!!.....Thanks for your post.....

Torgeir Bakken 12/09 7:20 AM

Hi,

Converted to vbscript:

'--------------------8----------------------
Set oFSO = CreateObject("Scripting.FileSystemObject")
Set oShell = CreateObject("WScript.Shell")

sPFDir = oShell.RegRead _
("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\P rogramFilesDir")

' McAfee v4.5 SP1
If oFSO.FolderExists(sPFDir & "\Network Associates\VirusScan") Then
oShell.Run "%SystemRoot%\system32\net.exe stop mcshield /y", 0, True
oShell.Run "%SystemRoot%\system32\net.exe stop AVSynMgr /y", 0, True
End If

' Mcafee v7.1E and v8.0i
If oFSO.FolderExists(sPFDir & "\Network Associates\Common Framework") Then
oShell.Run "%SystemRoot%\system32\net.exe stop McAfeeFramework /y", 0, True
oShell.Run "%SystemRoot%\system32\net.exe stop McTaskManager /y", 0, True
oShell.Run "%SystemRoot%\system32\net.exe stop McShield /y", 0, True
End If

'--------------------8----------------------



Nicholas Edivan wrote:

Very Cool.....is there way to convert the kixtart script to a vbs or js....I really don't want
to deploy kixtart to all my users....


David H. 12/08 12:59 PM


From: "Nicholas Edivan"

| Landesk is able to: push the package/unpack and add the reg entry to HKLM runonce. The
| actual pushing of the package seems not to be the issue rather the On Demand McAfee Scan
| when booting up......How were you able to stop/disable the McAfee Scan?
|

I think yoy mean "Om Access" scanning. McAfee should NOT perform a "On Demand" scan at boot
up.

I inserted the following KiXtart script snippet to turn off the the McAfee "On Access"
scanner.

;McAfee v4.5 SP1
;-----------------------------------------------------------
if exist ("c:\Program Files\Network Associates\VirusScan\*.*")=1
shell "%comspec% /c net stop mcshield nul"
shell "%comspec% /c net stop AVSynMgr nul"
endif

;Mcafee v7.1E and v8.0i
;-----------------------------------------------------------
if exist ("C:\Program Files\Network Associates\Common Framework\*.*")=1
shell "%comspec% /c net stop McAfeeFramework nul"
shell "%comspec% /c net stop McTaskManager nul"
shell "%comspec% /c net stop McShield nul"
endif

At the end of the script the PC would be rebooted.

Note that in the script not only was SP2 installed but the c:\i386 folder was slip-streamed
to SP2 level as well.



--
torgeir, Microsoft MVP Scripting, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scr...r/default.mspx


 




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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
large disk wierdness 2ksp4, XPsp2 [email protected] Windows Service Pack 2 2 August 26th 05 06:49 AM
XPSP2 firewall not the Windows default how do i reset? Loki-uk Windows Service Pack 2 7 June 13th 05 11:21 AM
XPsp2 firewall - bug? - disables on certain networks RJ Windows Service Pack 2 7 January 24th 05 10:55 AM
Is there any problems upgrading from xpsp1 home or xpsp2 home to xpsp2 pro? Greg R Windows Service Pack 2 12 October 22nd 04 02:15 PM
XPSP2 Near Miss!!! Rick Windows Service Pack 2 2 August 26th 04 04:48 AM






All times are GMT +1. The time now is 07:03 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.