Select Page

Check DRM Application Status – vbscript

Datavail | | October 3, 2014

Here is a small vbscript that can be used to check if DRM Application is up and running, this will come handy if for any reason you want to check if application is up and may be kick off exports form batch utility. Or may be use this to notify support team whenever the application is down.

1. Create a text file with extension vbs. e.g. Check_Application_Status.vbs

Note: In the example i’m only checking for Engines,Services, Process Manager and netjnibridge. If you want you can include DRM-api-Adapter and event-host.

— Here is the vbscript code —
set service = GetObject(“winmgmts:”)
for each Process in Service.InstancesOf(“Win32_Process”)
If Process.Name=”drm-engine.exe” Then
if i=2 then
end if
ElseIf Process.Name=”drm-process-manager.exe” Then
ElseIf Process.Name=”drm-service.exe” Then
ElseIf Process.Name=”drm-netjnibridge-host.exe” Then
End If
If cnt >=4 Then
End If
— end of the vbscript code — — Batch File to call the vbscript —
cscript Check_Application_Status.vbs
echo Drm Services are up and running.
goto End
echo DRM services are down. Please Restart.
goto End
— End of Batch File —

Oracle EPM Cloud Vs. On-Premises: What’s the Difference?

EPM applications help measure the business performance. This post will help you choose the best EPM solutions for your organization’s needs and objectives.

Bobby Ellis | April 10, 2018

12c Upgrade Bug with SQL Tuning Advisor

This blog post outlines steps to take on Oracle upgrade 11.2 to 12.1 if you’re having performance problems. Oracle offers a patch and work around to BUG 20540751.

Megan Elphingstone | March 22, 2017

Scripting Out the Logins, Server Role Assignments, and Server Permissions

Imagine there are over one hundred logins in the source server and you need to migrate them all over to the destination server. Wouldn’t it be awesome if we could automate the process by generating the scripts for the required tasks?

JP Chen | October 1, 2015

Work with Us

Let’s have a conversation about what you need to succeed and how we can help get you there.


Work for Us

Where do you want to take your career? Explore exciting opportunities to join our team.