Odd Issue when adding a Portable App to Startup in Windows 8.1

Discussion in 'Windows 8' started by Mr.X, May 25, 2017.

  1. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    On Windows 8.1 Enterprise x86.

    Already tried the following:

    - The portable app (simplewall.exe) has an option for startup already.
    - I tried running from system drive and from another partition.
    - Tried the shortcut in Startup folder too.
     
  2. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,799
    19,385
    180
    You could try this:

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
    "SimpleWall"="C:\\Pathtofolder\\Simplewall.exe"
    Note the two \\ as separators when using a reg entry file.

    or via batch:
    Code:
    Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "SimpleWall" /t REG_SZ /d "C:\Pathtofolder\Simplewall.exe" /f >NUL 
    Change the C: and pathtofolder bits to where your exe is located.

    This will RUN on startup for all users, change HKLM (HKEY_LOCAL_MACHINE) to HKCU (HKEY_CURRENT_USER) for just the currently logged in user.

    Should work on any WIndows OS.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    Didn't work bro, grrr.

    I've never faced this kind of issue. First-timer :p
     
  4. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,799
    19,385
    180
    hmm strange, usually most programs that have a startup entry puts it in that area.

    Does it work ok if ran manually?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Full inu

    Full inu MDL Addicted

    Jun 9, 2015
    512
    130
    30
    Maybe it should run with special arguments a-la "simplewall.exe --start" ?
    Check any available manuals.
     
  6. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    Yes it does.
     
  7. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,799
    19,385
    180
    i gather it asks UAC. I'm sure the RUN registry part is executed as system or above admin rights so should of ran the program. I know runonce does but that no use here as it will be ran just once lol.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    It has an option to skip UAC, checked.

    This the reg key it creates when enabling autorun:

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
    "simplewall"="P:\\simplewall\\simplewall.exe /minimized"
     
  9. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    Alright time to call the dev... lol
     
  10. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,799
    19,385
    180
    is P: the drive you have it running / stored on ?
    Usually its the systemdrive C: i gather it depends what letter is for the system drive when dual+ booting.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    No. C:\ is the system drive. No dual boot. P:\ is a partition for dropping portable apps there.
     
  12. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,799
    19,385
    180
    ah ok, i guess you have put the exe on the c: drive and set the reg entry to "simplewall"="C:\\simplewall\\simplewall.exe /minimized" and still no go?

    That is if the file is in a folder called simplewall.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    Did that already, no go.
     
  14. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,799
    19,385
    180
    hmm im about out of ideas bro! it one of those stubborn glitches seems easy to do yet gets more and more complex, i have that problem with the mrp lol. Find file size, easy - then it went a bit t's up on me :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,799
    19,385
    180
    Think another way would be to setup a task thing, i'm not familiar on how, but i'm sure someone will know how to create a task to run at logon (ie the simplewall.exe).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    Ah yes!
    I recall saw a tutorial on how to use scheduled tasks... Gonna try.

    thanks
     
  17. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,799
    19,385
    180
    if i remember you can set highest rights etc if needed, been a long time since i messed about with task scheduler lol.

    Worth a try. If still no go then a msg to the dev of simplewall to see if there is some other switch or way to make it run.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    No luck either with task scheduler.
    Waiting for dev reply but I believe it got something to do it's on Windows 8.1. Windows 7 is just fine, no issues with simplewall.

    Guess I'm going to try any other executable, perhaps it fails with any.
     
  19. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    5,799
    19,385
    180
    odd that it runs manually ok on w8.x, yet when wanting to run it automatically at logon it fails. :(
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...