Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8735809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T10:09:27+00:00 2026-06-13T10:09:27+00:00

I have a executable file that I need to run when a machine starts.

  • 0

I have a executable file that I need to run when a machine starts.
The scenario is that I need to write install.ps1 and uninstall.ps1.
install.ps1 will tell the machine to run my executable everytime the computer starts.
uninstall.ps1 will tell the machine not to run that executable.
I m looking for how write install.ps1 and what to write in that so that it runs the executable. Also is there any way that I can put a timer in the .ps1 file to check if the executable is executing or not?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T10:09:28+00:00Added an answer on June 13, 2026 at 10:09 am

    Instead of writing powerscripts you can write a console app that can put your executable file to run at startup using registry?
    Similarly you can write uninstall.exe that will remove the above said entry from registry.
    Simple and easy.. isn’t it?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a .bat file in a Windows machine that starts our program by
I have a Mojolicious Lite script that gives out an executable file (user can
I have an executable jar Client.jar that requires jndi.properties file. Since the jndi properties
I have a web service that must run an executable. To run the executable
I need to make portable application, that will run on Windows, Linux, MacOS and
I have a Java code that can run correctly in eclipse. I need to
I have a php that creates a file that needs to be executable (it's
I am trying to write a simple Ruby program that I will run from
I have a CMakeLists.txt file that looks like this: add_executable(exec1 exec1.c source1.c source2.c source3.c)
I have a executable jar file and i want to see code behind it.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.