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

    Joined:
    Jul 14, 2013
    Messages:
    7,625
    Likes Received:
    14,952
    Trophy Points:
    240
    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

    Joined:
    Jun 20, 2007
    Messages:
    3,714
    Likes Received:
    10,633
    Trophy Points:
    120
    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.
     
  3. Mr.X

    Mr.X MDL Guru

    Joined:
    Jul 14, 2013
    Messages:
    7,625
    Likes Received:
    14,952
    Trophy Points:
    240
    Didn't work bro, grrr.

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

    mxman2k MDL Developer

    Joined:
    Jun 20, 2007
    Messages:
    3,714
    Likes Received:
    10,633
    Trophy Points:
    120
    hmm strange, usually most programs that have a startup entry puts it in that area.

    Does it work ok if ran manually?
     
  5. Full inu

    Full inu MDL Addicted

    Joined:
    Jun 9, 2015
    Messages:
    509
    Likes Received:
    129
    Trophy Points:
    30
    Maybe it should run with special arguments a-la "simplewall.exe --start" ?
    Check any available manuals.
     
  6. Mr.X

    Mr.X MDL Guru

    Joined:
    Jul 14, 2013
    Messages:
    7,625
    Likes Received:
    14,952
    Trophy Points:
    240
    Yes it does.
     
  7. mxman2k

    mxman2k MDL Developer

    Joined:
    Jun 20, 2007
    Messages:
    3,714
    Likes Received:
    10,633
    Trophy Points:
    120
    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.
     
  8. Mr.X

    Mr.X MDL Guru

    Joined:
    Jul 14, 2013
    Messages:
    7,625
    Likes Received:
    14,952
    Trophy Points:
    240
  9. Mr.X

    Mr.X MDL Guru

    Joined:
    Jul 14, 2013
    Messages:
    7,625
    Likes Received:
    14,952
    Trophy Points:
    240
    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"
     
  10. Mr.X

    Mr.X MDL Guru

    Joined:
    Jul 14, 2013
    Messages:
    7,625
    Likes Received:
    14,952
    Trophy Points:
    240
    Alright time to call the dev... lol
     
  11. mxman2k

    mxman2k MDL Developer

    Joined:
    Jun 20, 2007
    Messages:
    3,714
    Likes Received:
    10,633
    Trophy Points:
    120
    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.
     
  12. Mr.X

    Mr.X MDL Guru

    Joined:
    Jul 14, 2013
    Messages:
    7,625
    Likes Received:
    14,952
    Trophy Points:
    240
    No. C:\ is the system drive. No dual boot. P:\ is a partition for dropping portable apps there.
     
  13. mxman2k

    mxman2k MDL Developer

    Joined:
    Jun 20, 2007
    Messages:
    3,714
    Likes Received:
    10,633
    Trophy Points:
    120
    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.
     
  14. Mr.X

    Mr.X MDL Guru

    Joined:
    Jul 14, 2013
    Messages:
    7,625
    Likes Received:
    14,952
    Trophy Points:
    240
    Did that already, no go.
     
  15. mxman2k

    mxman2k MDL Developer

    Joined:
    Jun 20, 2007
    Messages:
    3,714
    Likes Received:
    10,633
    Trophy Points:
    120
    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
     
  16. mxman2k

    mxman2k MDL Developer

    Joined:
    Jun 20, 2007
    Messages:
    3,714
    Likes Received:
    10,633
    Trophy Points:
    120
    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).
     
  17. Mr.X

    Mr.X MDL Guru

    Joined:
    Jul 14, 2013
    Messages:
    7,625
    Likes Received:
    14,952
    Trophy Points:
    240
    Ah yes!
    I recall saw a tutorial on how to use scheduled tasks... Gonna try.

    thanks
     
  18. mxman2k

    mxman2k MDL Developer

    Joined:
    Jun 20, 2007
    Messages:
    3,714
    Likes Received:
    10,633
    Trophy Points:
    120
    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.
     
  19. Mr.X

    Mr.X MDL Guru

    Joined:
    Jul 14, 2013
    Messages:
    7,625
    Likes Received:
    14,952
    Trophy Points:
    240
    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.
     
  20. mxman2k

    mxman2k MDL Developer

    Joined:
    Jun 20, 2007
    Messages:
    3,714
    Likes Received:
    10,633
    Trophy Points:
    120
    odd that it runs manually ok on w8.x, yet when wanting to run it automatically at logon it fails. :(