Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Deploy .exe at target PC and make it startup !

Hi,

I want to deploy one .exe file on target PC and make it startup service.  If i manually copy the file on target PC and execute it then it run immediately and also work when system restarts. 

But when i create the package of that exe file and deploy it on target PC through PDQ Deploy , it run successfully but do not restart at next startup. I tried different methods, one with simple INSTALL step , it was successfully executed but does not execute at next startup.

Also with 2 steps , copy it on target computer and execute it with command prompt. But still it is not starting at startup.

Please guide.

 

Update:

That's the reason , if i manually run it by double click .. it make entry in registry for startup at HKEY_CURRENT_USER\Software\Microsoft\Windows\Version\Run

but through PDQ DEPLOY  it execute the exe on target PC but don't make registry entry at HKEY_CURRENT_USER\Software\Microsoft\Windows\Version\Run

Please help .....

 

Update 2:

I tried by entering it through second step command prompt:

REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Run  /v WindowsUpdater /t REG_SZ /d c:\Log\System\start.exe /f

But it is also not entering the registry entry.

If i do manually from CMD then it works ...

 

Update 3:

 

I think its permission issue .. Logged on user is not able to execute it after startup. If i run the CMD as administrator then it works otherwise not.

Please guide.

0

Comments

4 comments
Date Votes
    1. What is the application you are trying to deploy?
    2. Why are you deploying it as Logged on User instead of Deploy User?
    0
  • I tried with all options "Logged on User" , "Deploy User "etc.

    When i push it , it starts immediately . But the application does not start at next startup.

    I have manually put the startup registry :

    REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Run  /v SymUpdater /t REG_SZ /d c:\Log\System\start.exe /f

    If i run cmd as normal user and run : app.exe  it does not run.  But if i run CMD as Run as Administrator and start app.exe .. it start working.

    So i think logged on user does not have permission ..

     

    0
  • What is the application you are trying to deploy? When I google "SymUpdater" it gives me results for "SysUpdater" instead.

    0
  • The App is this: https://github.com/tpruvot/cpuminer-multi

    the application is modified by local developer in .exe windows version.

    Work fine when we execute it locally by double clicking and also run at next startup.

    Just not working with PDQ deploy.  Install properly on target but does not run at next startup.

     

    0