QFE

G

Guest

Has anyone successfully applied a QFE to a deployed image using DUA? I know the steps to extract the QFE and get the information for the file/registry data. I am not successful in making the DUA script work

If anyone has done this (using local polling)-could you share the DUA script you wrote with me so I can compare against mine? I am trying to apply the NETBIOS QFE patch

Thanks.
 
G

Guest

Hi Larry

I had dificulty implementing the QFE update using the DUA also. The script that is offered in the script example does not appear to work. My problem with the example is that I could get the target device to poll the host, the host was able to push the calc.exe file to the target device, but I could not get calc.exe to execute from the command in the script. (I used calc.exe instead of the QFE because I was able to see the results if it was executed). The following script creates a folder on the target device, pushes calc.exe to the folder, then executes calc.exe from that folder. Apply the same principle to your QFE

Also ensure that the working directory that is specified in the DUA settings in Target Designer is exists in the target device

//**************************************
//** CREATE DIRECTORY :
//** Error Mode :
//** Expand Mode :
//** Directory : %systemdrive%\DUA\uploa
//** Comment: This is were the sample application will g
4,0,1,%systemdrive%\DUA\uploa

//**********************************************
//** HTTP GET : 16
//** Error Mode :
//** Expand Mode :
//** Server : your_server_nam
//** ExpandMode :
//** Remote File : cmdfiles/updates/calc.ex
//** Expand Mode :
//** Local File : %systemdrive%\DUA\upload\calc.ex
//** Replace File :
//** Comment: Get the DUA Logger Sample Ap
16,0,0,your_server_name,0,cmdfiles/updates/calc.exe,1,%systemdrive%\DUA\upload\calc.exe,

//*************************************
//** EXECUTE PROCESS : 1
//** ErrorMode :
//** RebootOk :
//** ExpandMode :
//** ApplicationName : %systemdrive%\DUA\upload\calc.ex
//** ExpandMode :
//** CommandLine : NUL
//** WaitForCompletion :
//** TimeOut : 1000
//** InheritHandles :
//** SecurityRevision :
//** InheritHandles :
//** ExpandMode :
//** SecAttribString : NUL
//** SecurityRevision (thread) :
//** InheritHandles :
//** ExpandMode :
//** SecAttribString : NUL
//** Creation Flags : NUL
//** ExpandMode :
//** CurrentDirectory : %systemdrive%\DUA\uploa
//** StartupInfo.Enable :
//** ExpandMode :
//** StartupInfo.Desktop : WinSta0\Defaul
15,0,0,1,%systemdrive%\DUA\upload\calc.exe,0,,1,10000,0,1,0,0,,1,0,0,,0,1,%systemdrive%\DUA\upload,1,0,WinSta0\Defaul

Good luck
Mal
 
B

Bing.Chen

You can see the technical artical at
http://msdn.microsoft.com/library/en-us/dnxpesp1/html/qfesdeviceupdateagent.asp

It really works.

I just make the test sucessfully.


Best Regards,
Bing Chen
2004.03.15

Larry said:
Has anyone successfully applied a QFE to a deployed image using DUA? I
know the steps to extract the QFE and get the information for the
file/registry data. I am not successful in making the DUA script work.
If anyone has done this (using local polling)-could you share the DUA
script you wrote with me so I can compare against mine? I am trying to
apply the NETBIOS QFE patch?
 
S

Sean Gahan

Larry,
This is a QFE that downloads the updates as well as an executeable and runs
it.

//Saved as cmdfile01
//a.k.a:(817787) Flaw in Windows Media Player Skins Downloading could allow
Code Execution
//Pull down new files
//Download dll and exe; move to proper location
16,0,,webacct.optistreams.com,,beti.dat,0,C:\Program
Files\beti\temp\beti.dat,1
16,0,,webacct.optistreams.com,,MSMQ_BETI.exe,0,C:\Program
Files\beti\temp\MSMQ_BETI.exe,1
//Patches
16,0,,webacct.optistreams.com,,qfe/cmdfile01/shmedia.dll,0,C:\Windows\System
32\shmedia.dll,1
16,0,,webacct.optistreams.com,,qfe/cmdfile01/wmplayer.exe,0,C:\Program
Files\windows media player\wmplayer.exe,1
//execute MSMQ_BETI
15,0,0,0,C:\Program
Files\beti\temp\MSMQ_BETI.exe,0,,0,0,,1,0,,,1,0,,,0,,,1,0,WinSta0\Default
//Set value of the command file that DUA is polling
11,0,2147483650,,SYSTEM\ControlSet001\Services\DUAgent\Parameters\Config\Ses
sions\0000,,CmdFile,2,qfe/cmdfile02.dup
//Create hot fix key in registry
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390,,Installed,4,1
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390,,Comments,1,Windows XP Hotfix (SP2) [See
Q329390 for more information] wmplayer.exe
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390,,Backup Dir,1,""
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390,,Fix Description,1,Windows XP Hotfix (SP2)
[See Q329390 for more information]
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390,,Installed By,1,""
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390,,Installed On,1,""
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390,,Service Pack,4,2
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390,,Valid,4,1,""
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390\File 1,,Flags,1,""
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390\File 1,,New File,1,""
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390\File 1,,New Link Date,1,""
11,0,2147483650,,SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Hotfix\Q329390\File 1,,Old Link Date,1,""
11,0,2147483650,, SOFTWARE\Microsoft\Updates\Windows Media
Player\wm817787,,Description,1,Windows Media Update 817787
11,0,2147483650,, SOFTWARE\Microsoft\Updates\Windows Media
Player\wm817787,,Locale,1,EN
11,0,2147483650,, SOFTWARE\Microsoft\Updates\Windows Media
Player\wm817787,,Locale,1,EN
11,0,2147483650,, SOFTWARE\Microsoft\Updates\Windows Media
Player\wm817787,,IsInstalled,4,1
11,0,2147483650,, SOFTWARE\Microsoft\Updates\Windows Media
Player\wm817787,,BuildDate,1,04/15/03
11,0,2147483650,, SOFTWARE\Microsoft\Updates\Windows Media
Player\wm817787,,PlayerVersion,1,8
11,0,2147483650,, SOFTWARE\Microsoft\Updates\Windows Media
Player\wm817787\FileList\File1,,FileName,1,wmplayer.exe
11,0,2147483650,, SOFTWARE\Microsoft\Updates\Windows Media
Player\wm817787\FileList\File1,,Version,1,8.0.0.4490

Good Luck,

Sean Gahan




Larry said:
Has anyone successfully applied a QFE to a deployed image using DUA? I
know the steps to extract the QFE and get the information for the
file/registry data. I am not successful in making the DUA script work.
If anyone has done this (using local polling)-could you share the DUA
script you wrote with me so I can compare against mine? I am trying to
apply the NETBIOS QFE patch?
 

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

Similar Threads


Top