How to Create a Windows Service Using An EXE File

Поділитися
Вставка
  • Опубліковано 27 сер 2024
  • In this video, we'll show you how to create a Windows Service using an exe file. This is a very simple way to create a program that runs in the background on your computer.
    If you're looking for a way to create a program that runs in the background on your computer, then this is the video for you! We'll show you how to create a Windows Service using an exe file, and then you can use this service to run tasks in the background. This is a very simple way to create a program that does something for you!
    This is a guide video, how to create a windows service using file. As we don't have any create option in our Services console.
    The objective of RootCause is to answer technical queries and solve technical issues faced by a common man in daily life.
    Hope you enjoyed this video!
    -----------------------------------------------
    Please like and share the video with your friends, colleagues and relatives as well if you really had a wonderful experience.
    --------------------------------------------------------------
    Subscribe our channel for more videos and do not forget to press the bell icon to get early notification.
    ------------------------------
    Like us on Facebook :-
    -------------------------------------------
    / rootcause.in
    Visit our website :-
    --------------------------------
    rootcause.in/
    Reach out to us :-
    --------------------------------
    support@rootcause.in

КОМЕНТАРІ • 55

  • @RootCauseIndia
    @RootCauseIndia  Рік тому +1

    Subscribe to our channel for more videos, and don't forget to click the bell icon to receive notifications as soon as they become available. ua-cam.com/users/rootcausein

  • @rcasturi55
    @rcasturi55 2 місяці тому +1

    that works Man. You are good. I ran cmd as Admin then only.

  • @David-qi2nx
    @David-qi2nx 4 роки тому +2

    And without additional software! Excelent.. thanks!

  • @rentalasrikanth
    @rentalasrikanth 6 років тому +2

    Good video...to the point..."leave a space after binpath= " was a good tip that most videos did not specify...this tip saved my time...Thanks much :)

  • @MitaliBorkar13
    @MitaliBorkar13 День тому

    Thanx 😊

  • @ReneKubicka
    @ReneKubicka Рік тому

    Well done.. Thanks for taking time to do this video!

  • @vladislavkaras491
    @vladislavkaras491 8 місяців тому

    Thanks for the video!

  • @gsravan7
    @gsravan7 6 років тому

    Very Useful. Many videos didn't explain that we have to leave a space after binpath= , but this did. I was able to create a service

  • @andilerodney7215
    @andilerodney7215 2 роки тому +1

    Thank you, this helped me a lot.

    • @RootCauseIndia
      @RootCauseIndia  2 роки тому

      Andile Rodney Thank you for watching the video. Please share this video with your colleagues and friends. Also, don’t forget to subscribe and support our channel.

  • @MalakCBA-ARG
    @MalakCBA-ARG 4 роки тому +2

    Excelent vídeo! 👏👏👏

  • @bx7956
    @bx7956 3 роки тому +3

    and me trying to donwload the srvstart.exe... Ty so much for this amazing tutorial :) CHEERS!!

  • @juniornascimento8104
    @juniornascimento8104 Рік тому +2

    It creates the service, but it can't run...
    SC CREATE "SetWallpaper" binpath= "C:\Users\%USERNAME%\AppData\Wallpapers\SetWallpaper.cmd" start= auto

  • @durgamurugan680
    @durgamurugan680 Рік тому +2

    is your service running, are u able to start it ? facing this error file start run the service "windows could not start the service on local computer error 1053......"

    • @RootCauseIndia
      @RootCauseIndia  Рік тому

      Yes, it is. Please ensure that the exe was generated in Release mode only. Also, try to run exe manually before creating a service.

  • @davidcorreia727
    @davidcorreia727 4 роки тому +1

    thanks

  • @hongthien15
    @hongthien15 6 років тому +1

    thanks you , you save me

  • @abhinavlohani416
    @abhinavlohani416 5 років тому +1

    Very nice video..

  • @hongthien15
    @hongthien15 6 років тому +1

    awesome!

  • @SingleMalt-OnePuffOneSip
    @SingleMalt-OnePuffOneSip 4 роки тому +4

    running the service is not shown. always try to cover end to end scenarios.

  • @ironsm4sh
    @ironsm4sh 6 років тому +1

    Nice disc labels

  • @sandrinemerryaklozo7381
    @sandrinemerryaklozo7381 Рік тому +1

    Please what is the syntax of windows system 64 or is it the same?? is it the same thing also for a program ???

  • @khrishoman7149
    @khrishoman7149 7 місяців тому

    It might be my phone but I can't hear a word he/ she is saying. What is showing on my screen looks pretty amazing 😂.

  • @kaiviti2013
    @kaiviti2013 Рік тому +1

    How can you assign a specific username and password to the service other a local account

    • @RootCauseIndia
      @RootCauseIndia  Рік тому +1

      Please use this command and replace [SERVICE_NAME], [SERVICE_PATH], [USERNAME], [PASSWORD] with actuals and please make sure there is a space after = sign. *_sc create "[SERVICE_NAME]" binPath= "[SERVICE_PATH]" obj= "[USERNAME]" password= "[PASSWORD]"._*

  • @ghanmikais5232
    @ghanmikais5232 2 роки тому

    When I launch service, an error message appear : Error 1053

  • @maiconluiz6739
    @maiconluiz6739 Рік тому

    why in this videos you dont start the service to proove that its work???

  • @biswajit19tridentian
    @biswajit19tridentian 6 років тому +1

    But how to start that service. Can create a service but unable to start....

    • @harishkumar8705
      @harishkumar8705 5 років тому

      It's v easy , select the service which you have created , go to properties ...and u find a option automatic,manual ...based on your opinion select. So that the service wll run automatically or manually// Hope it's helpful

  • @arhnarhan1123
    @arhnarhan1123 6 років тому +2

    How to create a service with parameters?

    • @sandeepi9519
      @sandeepi9519 6 років тому +2

      Take a look at this article. support.microsoft.com/en-us/help/251192/how-to-create-a-windows-service-by-using-sc-exe

  • @azartheen428
    @azartheen428 5 років тому

    why people are using visual studio to create a windows service.... what is difference???

  • @rameshyateem3684
    @rameshyateem3684 4 роки тому

    The service creation sucess, but it need permision, because it says: denied access when triing to to start.

    • @mohansivadhas
      @mohansivadhas 4 роки тому +1

      try opening cmd with run as administrator

  • @teja6124
    @teja6124 2 роки тому +1

    How to delete the service ?

  • @jesusrosales5912
    @jesusrosales5912 5 років тому

    how can i create a service of my program ?, but my program has a tray icon

  • @khalidalanazi3677
    @khalidalanazi3677 2 роки тому

    can I use it on jar file not exe??? please help

  • @mohandass.j1376
    @mohandass.j1376 2 роки тому

    Bro it's not starting the application automatically after restart

  • @Labyrnthdom
    @Labyrnthdom 6 років тому

    Will this work on windows 10?

    • @RootCauseIndia
      @RootCauseIndia  6 років тому

      Laby 70 Yes, this should work on win 10 also. If it doesn't work.. please share the error or the problem u faced.

  • @fortunecineplex2565
    @fortunecineplex2565 4 роки тому

    how get installer setup ".exe" file?

  • @NotThatEpic7492
    @NotThatEpic7492 Рік тому

    sc.exe create “GET_NOOBED” binPath= “C:\Program Files\Google\Chrome\Application\chrome.exe” type= own start= boot