Results 1 to 4 of 4

Thread: Create new service - instsrv.exe srvany.exe

  1. #1
    Join Date
    Dec 2010
    Posts
    106

    Create new service - instsrv.exe srvany.exe

    Hello I want to create an application for a service I can build on already Windows2008 instsrv.exe same service. But on to the Windows7 operating system it is not and in this I got the following error message-You are not authorized to do this - please contact your system administrator although I already have admin rights, this does not work You know any solution for this issue.

  2. #2
    Join Date
    May 2009
    Posts
    210

    Re: Create new service - instsrv.exe srvany.exe

    Here I just want some information from your side. Actually I want to know here that which way do you have the previously unsuccessful attempts. Keyboard input in the command line? Start a batch file? Start an application? Installation Script? Moreover, you have not written anything yet, unfortunately. So just try to give the information as soon as it is possible.

  3. #3
    Join Date
    Oct 2010
    Posts
    111

    Re: Create new service - instsrv.exe srvany.exe

    In Windows 7, not a separate service with instsrv.exe srvany.exe and are created by the Windows 2003 Resource Kit. First, I copy the files to the system32 directory instsrv.exe and srvany.exe. Then I enter the following into the command line: instsrv srvany.exe "Windows Packager" "% SystemRoot% \ System32 \" Then, the error message: "Unable to find the file at the given path" It is interesting that when I create the following script a different error message appears:
    echo adding Windows Packager service
    echo off
    Add an echo service
    Code:
    copy "% ~ DP0 \ srvany.exe"% SystemRoot% \ System32 
    copy "% ~ DP0 \ instsrv.exe"% SystemRoot% \ System32 
    instsrv srvany.exe "Windows Packager" "% SystemRoot% \ System32 \"
    After the third line, the error message that the service name is invalid. You can twist and turn the whole and how you want but it does not create a service. Hope this will work in your case.

  4. #4
    Join Date
    Aug 2010
    Posts
    35

    Re: Create new service - instsrv.exe srvany.exe

    I'm also interested in this. How do I get installed srvany.exe. And it is only in "Windows Server 2003 Resource Kit Tools" and one that's not officially supported for Windows 7. So it might not be optimal simply the executable is to download and execute under 7. Installed it in XP and copied srvany.exe of hand? And regarding this if you get any solution so please try to share it over here.

Similar Threads

  1. Replies: 5
    Last Post: 04-02-2012, 04:08 PM
  2. Replies: 3
    Last Post: 07-02-2011, 08:12 AM
  3. Replies: 10
    Last Post: 30-08-2010, 07:46 PM
  4. How to create user-defined service on Windows XP
    By killerboy in forum Operating Systems
    Replies: 2
    Last Post: 31-07-2009, 11:37 PM
  5. Replies: 3
    Last Post: 29-05-2006, 02:36 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,509,032.90241 seconds with 17 queries