Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XP SP2 issue

Status
Not open for further replies.

Mich

IS-IT--Management
Dec 26, 2000
452
US
I installed XP2 via SMS2003 to a test group. In the netfw I opened the following ports for SMS:

UDP 2701 - 2704
TCP 2701 - 2704.

Everything seemed to be going fine UNTIL...

I sent a very small package to the test group via SMS2003. Basically it was, msgbox("This is a test. Click OK."). The Admin console (System Status -> Advertisement Status) shows that all of the PCs received the advertisement and that all of them started the advertisement. The problem is that it also shows that the advertisement failed on every machine even though the users did receive the message and they did click OK.

The message log shows the machines receiving the advertisement and the machines starting it, but it never shows that it finished. Eventually my time limit caused them to fail. I'm 99.99% sure it's not an issue with how the test message was delivered.

Did I miss opening a port? Is there some other issue with XP SP2?

Thanks in advance.

-If it ain't broke, break it and make it better.
 
Sorry to ask a dumb question but...I will :)

Is there an exit to the advertisement, and did ya make a mif file for the program to show it completed?

ummm I think Ive seen this with 2.o if it said program will exit..?? and it didnt
 
I'm not sure what you mean by exit, so if that's dumb question what does that make me? [ponder]

It was set to expire and there are no actions to perform after running. No, I didn't create a mif.

This was a real simple script. I push scripts all of the time and this one was set up just like the rest. Of course, I might have overlooked something, but I don't think so.

-If it ain't broke, break it and make it better.
 
Ya know when you make a script with sms installer, at the end of it you need to put in "exit program", or sms never knows it finished thus it will sit until it times out. Same thing with a mif file. which is inserted to let sms know the program completed, and give it uninstall instructions.

So something that tells it it completed sucessfully or that it failed. If there is nothing that does that it will eventually time out...so it did what it needed to do as far as installing but as far as sms knows it never finished.

Hope I'm making sense!!
 
OK, I understand the concepts you're referring to, but I'm using VBScript not Installer and I don't normally use mifs either. I was under the impression exit codes were returned to SMS showing completion. In the past a 10008 (I believe) would be reported in SMS showing a successful program completion.

Are you referring to SMS 2003?

-If it ain't broke, break it and make it better.
 
This is what should be in adver status:

10002
Advertisement "<advert ID>" was received from site "PRI".

The client passes any supported platform requirements and the SMS will add the advertisement’s program to the list that will be displayed to users and/or run via assignment. If an advertisement is received but not displayed on a client, verify that the current time on the client is between the advertisement start and expiration times, and that the program specified in the advertisement is enabled.

10005
Program started for advertisement "<advert ID>" ("<prog ID>" - "Quiet").

Command line: "C:\WINNT\system32\CCM\Cache\<prog ID>.2.System\IE6.0sp1-KB871260-x86-ENU.exe" /q:a: /r:n:
Working directory: C:\WINNT\system32\CCM\Cache\<prog ID>.2.System\
User context: NT AUTHORITY\SYSTEM

10022
The program for advertisement "<advert ID>" ("<prog ID>" - "Quiet") returned an exit code of "0"(""), which indicates the operation was successful but a restart of the system is required for the operation to be complete. A status message indicating final success will be sent after the system has been restarted.

Systems Management Server (SMS) determines status for each program it executes. Any program dependencies will not be executed until after the restart occurs. If SMS cannot find or correlate any installation status Management Information Format (MIF) files for the program, it uses the program's exit code to determine status.

10008
The program for advertisement "<advert ID>" completed successfully ("<prog ID>" - "Quiet").
User context: NT AUTHORITY\SYSTEM

Systems Management Server (SMS) determines status for each program it executes. If SMS cannot find or correlate any installation status Management Information Format (MIF) files for the program, it uses the program's exit code to determine status. This program returned an exit code that indicates it completed successfully.


So it probably doesnt need a restart to return a "0" but that could be I guess. I have seen in the past that the "ok" not being clicked will do it but you said they clicked ok...dont know that it opening in vb should make any diff, but I guess you could see if any process is still running.

ummm *shrug* I guess what I'm getting at is I feel its something with the package/prgram more than sp2..

Does it run ok on other things that dont have xpsp2?
 
You should be able to just set the program to run and it should be returning what its supposed to...

so in the program properties command line

cscript <scriptname.vbs>
or
wscript <scriptname.vbs>

As I said sorry if I'm stating the obvious! I havent heard of an issue like this thats why I'm leaning more towards the program instead of the firewall, but perhaps it is an xpsp2 thing



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top