Need to add a task of compmgmt.msc to trigger it on remote computer in SCSM 2012 R2

Hi All,

While creating custom task in SCSM 2012 R2. I am facing below error:

1. Below is the task created in Task Pane:

2. Getting error while running the task:

Please help on the above

June 22nd, 2015 5:38am

Call a remote computer in compmgmt.msc should look like this:

compmgmt.msc /computer:computername

It seems you are missing the "/computer" in your custom task.

Hope this helps.

Free Windows Admin Tool Kit Click here and download it now
June 23rd, 2015 2:56am

Hi,

I added /computer:computername, but still it popped up with same error.

Below are the format's that used:

1. C:\Windows\System32\compmgmt.msc /computer:PrincipalName$

2. C:\Windows\System32\compmgmt.msc /computer:computer

June 23rd, 2015 5:10am

If you run "C:\Windows\System32\compmgmt.msc" from a command prompt it opens the Computer Management console?
Free Windows Admin Tool Kit Click here and download it now
June 23rd, 2015 5:59am

Yes, it will open up computer management console.

Feeling some gap here. I need to remotely connect computer management with tagged asset in incident ticket. 

June 23rd, 2015 7:25am

I've tried it as well. Weird behavior of SCSM.

The only workaround so far I found:

Create a batch file with the following content and name it "StartCompmgmt.bat":

compmgmt.msc /computer:%1

I stored the bat-file in "C:\Windows\System32\"

Create your task and configure like this:

It doesn't "look" nice. But it's working at least.

Free Windows Admin Tool Kit Click here and download it now
June 23rd, 2015 7:31am

Yup !!

Now that's work's .. Thanks for Help .... Really appreicated

The only thing I have to do, keep a copy of that batch file @system32 folder where console installed. :-)

June 23rd, 2015 8:03am

Or you can put the batch file on a share where everyone can access the script.
Free Windows Admin Tool Kit Click here and download it now
June 23rd, 2015 8:27am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics