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:


  


Batch Files - "Program Started"

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

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> System Center Products >> System Center Configuration Manager >> Batch Files - "Program Started" Page: [1]
Login
Message << Older Topic   Newer Topic >>
Batch Files - "Program Started" - 11/18/2008 6:27:52 AM   
faulknerp

 

Posts: 13
Score: 0
Joined: 9/18/2007
Status: offline
Hi,

I am having problems deploying batch files with SCCM. When I set them to run as logged on user it runs fine, when I set it to use the administrative account it hangs and nothing happens. In the advertisment status the last line is "Program started" but nothing happens at all.

I have trimmed the batch file to just have a pause entry so I can see when it runs, the program is set to not be hidden so I can see if it runs - nothing. I just don't understand why it would run as locally logged in user but not as admin.

I have tried running from DP, with a drive letter and downloading into client cache, nothing seems to work. Has anyone got any ideas please before I lose my mind!

Cheers,

Paul Faulkner
Post #: 1
RE: Batch Files - "Program Started" - 11/18/2008 9:41:54 AM   
lnesta431


Posts: 923
Score: 59
Joined: 1/26/2006
From: Brussels, Belgium
Status: offline
Try to put cmd.exe /c in front of your command line

example:

cmd.exe /c test.bat

Don't forget to update your DP's


_____________________________

----------
Please rate if this has helped you! Tnx!

Check out my NEW blog: http://nicosienaert.blogspot.com/
----------

(in reply to faulknerp)
Post #: 2
Page:   [1]
All Forums >> [Management Products] >> System Center Products >> System Center Configuration Manager >> Batch Files - "Program Started" 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.266