myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


  


Command Line to force an Advertisement?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2.0 >> Command Line to force an Advertisement? Page: [1]
Login
Message << Older Topic   Newer Topic >>
Command Line to force an Advertisement? - 6/9/2004 12:07:39 PM   
csondgeroth471

 

Posts: 5
Score: 0
Joined: 1/15/2003
Status: offline
Does anyone know is there a command line that you can use to force a client to run an advertisement?

Thanks,
Chris
Post #: 1
RE: Command Line to force an Advertisement? - 6/10/2004 4:39:04 PM   
rmacdonald

 

Posts: 30
Score: 2
Joined: 2/20/2003
Status: offline
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



(in reply to csondgeroth471)
Post #: 2
RE: Command Line to force an Advertisement? - 6/10/2004 5:07:38 PM   
mkennedy


Posts: 139
Score: 4
Joined: 6/12/2001
Status: offline
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.


< Message edited by mkennedy -- 6/10/2004 5:14:28 PM >

(in reply to csondgeroth471)
Post #: 3
RE: Command Line to force an Advertisement? - 6/11/2004 11:12:11 AM   
tbrady475


Posts: 37
Score: 0
Joined: 10/9/2003
Status: offline
Where can I find this ForceApm.exe file? Is this a script that someone came up with?

Thank you.
Tom

(in reply to csondgeroth471)
Post #: 4
RE: Command Line to force an Advertisement? - 6/11/2004 12:27:57 PM   
sswacus

 

Posts: 103
Score: 0
Joined: 6/14/2002
From: Chicago IL
Status: offline
I think you can use Dudeworks to manipulate the APM for a collection or a text file of clients.

(in reply to csondgeroth471)
Post #: 5
RE: Command Line to force an Advertisement? - 9/11/2008 7:16:39 AM   
kingskawn

 

Posts: 61
Score: -2
Joined: 4/25/2007
Status: offline
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



(in reply to sswacus)
Post #: 6
Page:   [1]
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2.0 >> Command Line to force an Advertisement? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



  
Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.221