Command Line to force an Advertisement? (Full Version)

All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2.0



Message


csondgeroth471 -> Command Line to force an Advertisement? (6/9/2004 12:07:39 PM)

Does anyone know is there a command line that you can use to force a client to run an advertisement?

Thanks,
Chris




rmacdonald -> RE: Command Line to force an Advertisement? (6/10/2004 4:39:04 PM)

I believe the command line below will force the client to perform its CCIM cycle and check for new advertisements. Not sure if this is what you want


RUNDLL32.exe C:\WinNT\MS\SMS\Core\Bin\Smsclreg.dll RegisterODPRunInterval 0,1






mkennedy -> RE: Command Line to force an Advertisement? (6/10/2004 5:07:38 PM)

Chris -
I like to use PSEXEC.EXE to remotely and silently execute ForceAPM.EXE on the target machine. I believe there are also utilities available on this site that will force an entire collection to check for ads, but I' m not familiar with them.

ForceAPM - SMSInstaller package created by some brilliant individual. The link below will download the ipf. http://myitforum.techtarget.com/inc/upload/4196StartAPM.ipf

PSEXEC - Sysinternals utility that allows you to execute code on a remote PC. Handy dandy.
http://www.sysinternals.com/ntw2k/freeware/psexec.shtml

Both utilities are nice to have in your SMS toolbox.
Good luck.
Mark

Just re-read your post. If you' re wanting a command-line only, create a command line for psexec that will run forceapm with the appropriate switches. Something like: psexec.exe \\PCNAME -c c:\forceapm.exe. This will execute forceapm on the target pc from its C drive. If forceapm is not present on the target PC, the " -c" switch copies it there first.




tbrady475 -> RE: Command Line to force an Advertisement? (6/11/2004 11:12:11 AM)

Where can I find this ForceApm.exe file? Is this a script that someone came up with?

Thank you.
Tom




sswacus -> RE: Command Line to force an Advertisement? (6/11/2004 12:27:57 PM)

I think you can use Dudeworks to manipulate the APM for a collection or a text file of clients.




kingskawn -> RE: Command Line to force an Advertisement? (9/11/2008 7:16:39 AM)

I've got an antivirus that we install from a shared server

\\win2003av.domain.com\ofcscan\autopcc.exe and I would like to execute this on a pc through sms. Can this be done?

I tried with the following command but it didn't worked:

C:\>psexec.exe computer /accepteula -u domain\admin -p mypassword \\antivirusserver.domain.com\ofcscan\Autopcc.exe






Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.2659912