|
|
|||||||
hye..wondering if someone can help me with this..i have installed the wu_check.kix script on my pc..i'm using vmware to test this server..basically i have 3 pc all running win 2000 server. one pc(pc A) is set to aotomatically download the patch and the other 2 will exract the patch from this..like the proxy server. well i have installed the kixtart file successfully on all the servers. the probleh is when i run the wu_check.kix script on pc A it will give the output like this: 2 pending updates for server 1: , 2 pending updates for server 2: , 2 pending updates for server 3: , according to the original script, i should have the patch id number displayed besides the server name.this is the path to check the update in the original script.. $wu_folder="U:\program files\WindowsUpdate\wuaudnld.tmp\cabs\" and this is the ONLY changes that i made.. $wu_folder="c:\winnt\softwaredistrubution\download\" i need to display the patch is number..can anyone help me? |
||||||||
|
|
|||||||
Hello and welcome to the board. Well maybe you could start off by telling us where you got wu_check.kix from. I just did a search on the board and that name did not come up. The only one I'm aware of that was coding anything and public about it was Glenn and maybe Richard. Please provide more details on the script and what version of KiXtart you're using. @KiX will tell you the version. |
||||||||
|
|
|||||||
thanks NTDOC..i'm quite new in this..well i d/load the script from techrepublic.. http://techrepublic.com.com/5138-10879-5800070.html..the author is rick liang..i'm using the latest version of KiXtart..just d/load it last week. i'm going to paste the script here..and the part that i modified.. Code:
the output should be something like this: 2 pending updates for server 1: 89430,892859 2 pending updates for server 2: 842773,589662 2 pending updates for server 3: 254879,365128 my problem is i cannot get the number to be displayed besides the server name.. hope you can help me.. |
||||||||
|
|
|||||||
Hi byetzhourha! first, when posting code, please encapsulate it with the code-tags (much easier to read and standard praxis =). Second, your modification doesn't seem to work as you wish. there should be no reason for you to alter it. the $wu_folder="U:\program files\WindowsUpdate\wuaudnld.tmp\cabs\" should point you to the right directory, perhaps a alter if you have program\ instead of program files\. Did you try to run it without altering that variable? (edit:(now, how does it even list the number of updates *_* ?)) |
||||||||
|
|
|||||||
sorry about the script guys..my bad..well ewook i did try to run the script witout any modification and it didn't work..only after i modified it..it displays the number of pending updates..but i didn't get to display the id patch number.. |
||||||||
|
|
|||||||
Quote: ...then go back and edit it, putting in the code tags. If you want people to analyze the code, the least you can do is make it readable. |