Unable to create a Service to the windows Services

Hi All,
Im trying to create a Windows service as below:
D:\VM's\TWiki-VM>sc create TWikiVM binPath="C:\Program Files\VMware\VMware Workstation\vmrun.exe" -T ws start D:\vm's\TWiki-VM\Twiki-6.0.vmx
But i dont get the service created. I get the below message again & again as below:
Creates a service entry in the registry and Service Database.
SYNTAX:
sc create [service name] [binPath= ] <option1> <option2>...
CREATE OPTIONS:
NOTE: The option name includes the equal sign.
 type= <own|share|interact|kernel|filesys|rec>
       (default = own)
 start= <boot|system|auto|demand|disabled>
       (default = demand)
 error= <normal|severe|critical|ignore>
       (default = normal)
 binPath= <BinaryPathName>
 group= <LoadOrderGroup>
 tag= <yes|no>
 depend= <Dependencies(separated by / (forward slash))>
 obj= <AccountName|ObjectName>
       (default = LocalSystem)
 DisplayName= <display name>
 password= <password>
I have also tried mentioning all the options, but still the same. Please find the snapshot below:
Kindly advice.
Regards, Alan.

Hi Alan,
I'm guessing that -T is a parameter to the vmrun.exe executable, right?
So if you type in the following instead, it should work to create the service.
#With SC
sc create TWikiVM binPath= "C:\Program Files\VMware\VMware Workstation\vmrun.exe -T ws start D:\vm's\TWiki-VM\Twiki-6.0.vmx"
#With PowerShell
New-Service -BinaryPathName "C:\Program Files\VMware\VMware Workstation\vmrun.exe -T ws start D:\vm's\TWiki-VM\Twiki-6.0.vmx" -Name TWikiVM
Notice the space between binPath= "" and the executable
However, note that depending on vmrun.exe's behaviour it might not work anyway when you try to start the service.
Hope this helps you!
MCT | MCSE: Private Cloud/Server, Desktop Infrastructure

Similar Messages

  • Unable to create database entry in the directory service. - TNS-04

    We run into this error when we tried to register an Oracle 10.2.0.4 database with OID server (10.1.4.3):
    Unable to create database entry in the directory service. - TNS-04409: Directory service error
    We use Oracle DBCA to register to the OID. Both Oracle database and OID server are all running under Sun Solaris environment.
    In the meantime, I found these errors in the oid logs:
    oidldapd01.log:
    2009/07/13:21:15:47 * DispatcherListener:2 * ERROR : gslsflAcceptConnAndSend : OS 2 : Unable to accept New TCP
    connection
    Any ideas?
    Thanks
    Naiying

    Hi,
    Thanks for update.
    No, didn't find DSCC agent logs get updated when I have the pop up.
    C:\dsee7\var\dcc\agent\logs
    In the glassfish server log, I didn't find new transaction when I hit the issue
    C:\glassfish3\glassfish\domains\domain1\logs

  • Creating the Windows Service for the Database Instance

    Hello, I am using the PeopleTools 8.52 Installation for Oracle documentation and was in Task 6A-2: Creating the Windows Service for the Database Instance.
    After I type in
    oradim -new -sid ORCL -intpwd manager -startmode auto -pfile C:\Oracle\database\initORCL.ora
    I had encountered these errors:
    OPW-00005: File with same name exists - please delete or rename
    DIM-00019: create service error
    O/S-Error: (OS 1073) The specified service already exists.
    Please advise.... Thank you in advance!

    Hi, thank you for your reply!
    After I typed oradim -delete -sid ORCL, it shows this:
    Unable to stop service, OS Error = 1062
    Instance deleted.
    Then, I:
    Set ORACLE_SID=ORCL
    oradim -new -sid ORCL -intpwd manager -startmode auto -pfile C:\Oracle\database\initORCL.ora
    Then, it shows:
    OPW-00005: Files with same name exists - please delete or rename
    Instance created.
    Does it mean no error already and I can proceed?

  • DRM-61026: Unable to create user session for the following reason: Login failed. Invalid user name or password.

    All Im very new to Oracle DRM and Im trying to get the app setup on Windows server running SQL Server 2008.  When I try to login to the Web Client I keep getting this error.
    DRM-61026: Unable to create user session for the following reason: Login failed. Invalid user name or password.
    Can you please help

    This might be due to The 'Oracle Instance' path may not have been set to a path relative to the 'CSS Bridge Host' (i.e. the Foundation Services machine) on the Configuration > Host Machines > CSS > General tab of the DRM Configuration Utility.
    if this is the case then
    1. Open the DRM Configuration Console.
    2. Go to the Configuration > Host Machines > CSS > General tab of the DRM Configuration Utility.
    3. Ensure that the path in 'Oracle Instance' has been set relative to the 'CSS Bridge Host' (i.e. the Foundation Services machine defined in 'CSS Bridge Host').
    4. If corrections are made to 'Oracle Instance' then restart the DRM services to pick up the change.
    Thanks,
    ~KKT~

  • Unable to create an instance of the Java Virtual Machine

    I hope someone can help me to encounter this problem. Well, I have read the instruction over and over on how to setup SQL Developer. 
    The version i have installed Oracle Database 11g Express Edition and downloaded sqldeveloper-4.0.0.13.80-no-jre and the jdk version 1.7.0_45. Problem is when setup oracle sql developer, pop-up screen highlight on
    Unable to create an instance of the Java Virtual Machine
    Located at path : C:\Program Files/Java/jdk1.7.0_45\jre\bin\client\jvm.dlll.
    I have select the path earlier stage and direct to the C:\Program Files/Java/jdk1.7.0_45 ONLY FOLDER. It turns out to this error.
    At the cmd screen error message as below :
    Error occurred during initialization of VM
    Could Not reserve enough space for object heap
    Anyone do give me advise on how to solve this issue. Thank's alot.

    What I did was:
    Use
    Windows Explorer to browse to C:\Users\user\AppData\Roaming\sqldeveloper\1.0.0.0.0Open
    product.conf with wordpad
    Go
    to the bottom of the file
    Uncomment
    the 32 bit entry and change it to:Add32VMOption -Xmx512m

  • Creatting RFC  Server as a windows service

    Hi,
    How to create RFC server as a windows service using sap.net connector.Please send me the sample code.

    hi, I don't know which problem do you meet.
    As I know, there is a console RFC server sample in the SAP dotnet connector install directory, you can have a reference.
    And I thinks as a dotnet developer, it is not a problem to convert a console application to a windows service.
    Especially using VS.net, it is single to develop a windows service. You can search a sample in MSDN.
    Hope it is useful

  • Unable to create an instance of the Java Virtual Machine error

    After extraction of SQLDeveloper files ran sqldeveloper.exe, received an error "Unable to create an istance of the Java Virtual Machine Located at path: C:\sqldeveloper\jdk\jre\bin\client\jvm.dll".
    CMD WARNING from bin/sqldeveloper.exe: "Uknown directive: SetSkipJ2SDKCheck
    Error occured during initialization of VM
    Could not reserve enough space for object heap"
    I'd appreciate any help.
    THANKS!!

    I have the same problem.
    But it seems that the problem occurs after windows update :
    Test case :
    1. extract SQLDeveloper.
    OK
    2. install IE7
    OK
    3. install update for IE7 + restart
    (Cumulative Security Update for Internet Explorer 7 for Windows XP (KB939653)
    and Security Update for Internet Explorer 7 for Windows XP (KB938127) )
    KO with error message
    "Unable to create an istance of the Java Virtual Machine Located at path: C:\sqldeveloper\jdk\jre\bin\client\jvm.dll".
    It seems that the problem occurs after installation of
    Cumulative Security Update for Internet Explorer 7 for Windows XP (KB939653)
    Here the détails about update :
    Cumulative Security Update for Internet Explorer 7 for Windows XP (KB939653)
    Size: 2,0 MB - 8,3 MB
    Security issues have been identified that could allow an attacker to compromise a system running Internet Explorer and gain control over it. You can help protect your system by installing this update from Microsoft. After you install this item, you may have to restart your computer.
    More information for this update can be found at http://go.microsoft.com/fwlink/?LinkId=95045
    Security Update for Internet Explorer 7 for Windows XP (KB938127)
    Size: 213 KB - 780 KB
    A security issue has been identified in the way Vector Markup Language (VML) is handled that could allow an attacker to compromise a computer running Microsoft Windows and gain control over it. You can help protect your computer by installing this update from Microsoft. After you install this item, you may have to restart your computer.
    More information for this update can be found at http://go.microsoft.com/fwlink/?LinkId=94737
    An idea to install IE7 update and continue to works with SQLDeveloper?
    Thanks
    Regards,
    Eric

  • Unable o create an instance of the java virtual machine Located at path

    I am installing oracle sql developer on Windows XP SP2
    I have downloaded sqldeveloper-3.1.07.42 and extracted it.
    when i double click sqldeveloper it shows dialog box
    Unable o create an instance of the java virtual machine Located at path
    ..\..\jdk\jre\bin\client\jvm.dll
    and OK button
    i have tried a solution posted on a site
    1- Open the ide.conf file located under <Oracle SQL Developer>jdev\bin\
    2- Edit :
    AddVMOption -Xmx1024M
    AddVMOption -Xmx256M or 512 MB change into 512 instead of 1024
    it does not work for me
    What is the cause & how to resolve it please help
    I would be thankful to you guys

    Hi,
    I've got the exact same problem when launching to JDeveloper.
    And I've searched on internet for days.
    I did try to modify the number of
    MaxPermSize in jdev.conf
    and
    Xmx and Xms in ide.conf
    I've tried several combinations, and sometimes it works.
    The disappoint fact is that even with the same combination of the settings, sometimes it works and sometimes it doesn't.
    Sometimes it just work. Sometimes it doesn't...and after rebooting it works again......Sometimes even rebooting doesn't help.......Sometimes when change MaxPermSize to a smaller number it works...and next time it may not work again....Sometimes you change the MaxPermSize to some other number, save, and then change it back,,,,and it works again...but next time you try to use it, it may not work..........
    I don't know what leads to these problems.....anyone could help? Thanks in advance....

  • JDeveloper: Unable to create an instance of the Java Virtual Machine

    Hi,
    I've got this
    Unable to create an instance of the Java Virtual Machine Located in path: C:\u01\app\Oracle\Middleware\JDev11g\jdk160_21\jre\bin\client\jvm.dll
    problem like many people else who use JDeveloper.
    The OS is Windows XP, I've got 4G memory but maybe just 3G of it works.
    But this is not the problem, because I've searched this problem on internet for days.
    I did try to modify the number of
    MaxPermSize in jdev.conf
    and
    Xmx and Xms in ide.conf
    I've tried several combinations, and sometimes it works.
    The disappoint fact is that even with the same combination of the settings, sometimes it works and sometimes it doesn't.
    Sometimes it just work....
    Sometimes it just doesn't work....
    Sometimes it doesn't...and after rebooting it works again......
    Sometimes even rebooting doesn't help.......
    Sometimes when change MaxPermSize to a smaller number it works...and next time it may not work again....
    Sometimes you change the MaxPermSize to some other number, save, and then change it back,,,,and it works again.....
    but next time you try to use it, it may not work..........again....
    I don't know what leads to these problems.....anyone could help, please?
    Thanks in advance....

    having mentioned that you have tried all possible options. can u try to change the jdk??

  • HT1339 My ipod was not recognized by itunes and not does not power on after I restarted the ipod service in the Windows admin tools. I cannot restore the ipod since it is not recognized by my PC now. Any suggestions?

    My ipod was not recognized by itunes and not does not power on after I restarted the ipod service in the Windows admin tools. I cannot restore the ipod since it is not recognized by my PC now. Any suggestions?

    Time to replace it: $49 2nd Gen shuffle at online Apple Store...

  • Essbase server is not showing in the windows services (11.1.2.1)

    Hi All,
    Essbase server is not showing in the windows services 11.1.2.1. when I checked the processes from task manager it is there.
    Regards,

    The windows service for essbase in 11.1.2.x is an OPMN service "Oracle Process Manager..."
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Unable to create an instance of the Calendar Server after installation

    After installing Calendar Server, I am unable to create an instance of the
    Calendar Server. Instead, I receive the following error:
    <P>
    Error: "Authentication Credentials could not be obtained from the
    Admin Server"
    Check the /users/unison/misc/unison.ini
    file, under the
    [LDAP] section, to
    verify that the correct LDAP host and baseDN are set. The settings
    should appear as follows:
    <P>
    [LDAP]
    basedn=<I>YourBaseDN</I>
    host = <I>YourHostname</I>
    port = <I>Port</I>

    Hi,
    I've got the exact same problem when launching to JDeveloper.
    And I've searched on internet for days.
    I did try to modify the number of
    MaxPermSize in jdev.conf
    and
    Xmx and Xms in ide.conf
    I've tried several combinations, and sometimes it works.
    The disappoint fact is that even with the same combination of the settings, sometimes it works and sometimes it doesn't.
    Sometimes it just work. Sometimes it doesn't...and after rebooting it works again......Sometimes even rebooting doesn't help.......Sometimes when change MaxPermSize to a smaller number it works...and next time it may not work again....Sometimes you change the MaxPermSize to some other number, save, and then change it back,,,,and it works again...but next time you try to use it, it may not work..........
    I don't know what leads to these problems.....anyone could help? Thanks in advance....

  • Problems with Firefox - unable to create a workset in the portal

    Problems with Firefox - unable to create a workset in the portal.

    Guys,
    I am running mozilla firefoz 5.0 and the only option that is coming to me is to create folder in CA.
    even though SAP recommands IE and allows portal from Mozilla, the later seems to have serious issues with Portal.
    I remember working with several versions of mozilla, sometimes you right click, all option will come but you will be unable to choose options coz when u bring cursor to them they will skid here and there..
    I hope no SAP note elobrates this as of now.
    Ankur

  • After installing two updates, I cannon create .pdf documents as the window says "Missing PDF Maker Files."  I've uninstalled Acrobat and re-installed twice, same problem

    After installing two updates, I cannon create .pdf documents as the window says "Missing PDF Maker Files."  I've uninstalled Acrobat and re-installed twice, same problem.  How do I correct problem?

    Thank you.   I googled my problem and got good answers involving making changes to my Office settings - which worked. 
    Sent via the Samsung GALAXY S® 5, an AT&T 4G LTE smartphone

  • Unable to create excise invoice against the Material document

    Hi experts,
    Unable to create excise invoice against the Material document in J1IEX transaction.
    Material document is generated through quality management which movement type is 105.
    error message :
    Material document cannot be processed
    Message no. M7130
    Thanks
    SAP MM

    Steps to do GR along with excise,
    1.Capture excise invoice using J1IEX.
    2. Refer excise invoice no. in MIGO(SAP not recommends to post excise invoice against 105 mvmt against blocked stock)
    3. Post excise invoice using J1IEX

Maybe you are looking for

  • Photoshop cc save corrupted psd file....

    This is new, I was working on a multi layer picture last night, and after I save it and close it, I cannot open it anymore today.. Photoshop gave me warning: "could not complete your request because the file is not compatible with this version of pho

  • XI RFC call failing

    Hello,    I am setting up a very simple scenario where I am making a sychronous RFC call to a BAPI in R/3 (Version 4.6c) from an XI Sandbox (Version 7.0).    I have the RFC Communication channel properly configured, or so I think, and have verified e

  • E72 problem with WLAN

    Dear all, is one week that I'm playing with my new E72 but I'm little bit puzzled about the usage of wlan connection. At home I have an unprotected wlan then I have configured with the wlan wizard the internet access point of my wlan and I have inclu

  • 2.3.10 "import module" XmlResolver bug

    Hello, I upgraded my application what uses Java bindings from Berkeley DB XML 2.2.13 to 2.3.10 (with patches 1, 2, 3, 4, 5) and came upon a problem with XmlResolver. When I register XmlResolver to XmlManager, dbxml crashes (on Mac OS X) with EXC_BAD_

  • Clicking in flash objects partly crashes Opera 10.60

    System: Arch Linux 64bit Opera version: 10.60 64bit Flash version: 10.1.53.64 (32bit) Hi, I have a problem with flash since upgrading to the new Opera version. Flash stuff works fine, until I click on a flash applet for the first time (like hitting '