Question : Create a Generic Service using Cluster.exe

I am trying to create a cluster resource using Cluster.exe
The resource type is "Generic Service" and I can get the resource created however, I can't seem to get the actual "service name" and "start parameters" to populate.
When I bring the resource online, it does not launch the service on the resource owner.

Thanks in advance

Answer : Create a Generic Service using Cluster.exe

Creating a cluster resource involves several steps; you first have to create the resource, then configure the resource dependencies, its properties, and its private properties.
Below is a generic batch that should help:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
@echo off
setlocal
set SvcRes=My Generic Service Resource Name
set Cluster=MYCLUSTER

REM Create the (still empty) service resource:
cluster.exe "%Cluster%" resource "%SvcRes%" /create /group:"The Resource Group" /type:"Generic Service"

REM *** Configure the resource dependencies, if necessary:
cluster.exe "%Cluster%" resource "%SvcRes%" /AddDependency:"Drive R:" 

REM *** Configure the resource properties:
cluster.exe "%Cluster%" resource "%SvcRes%" /prop Description="Command-line created cluster service resource"

REM *** Configure the private properties of the service itself:
cluster.exe "%Cluster%" resource "%SvcRes%" /priv ServiceName="My Generic Service"
cluster.exe "%Cluster%" resource "%SvcRes%" /priv StartupParameters="-s tartup -p arameters"

REM *** Bring the resource online:
cluster.exe "%Cluster%" resource "%SvcRes%" /online
Random Solutions  
 
programming4us programming4us