computergroove Posted September 28, 2016 Share Posted September 28, 2016 I am trying to start my script on Windows startup and it doesn't run. I have disabled defender and smartscreen with no luck. There is no antivirus on this machine. I have added the script to shell:startup, shell:common startup and HKLM\Software\Microsoft\Windows\Current Version\Run all with no luck. Im at a loss. Please help. Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html Link to comment Share on other sites More sharing options...
orbs Posted September 28, 2016 Share Posted September 28, 2016 (edited) anything in the event log? also, how do you know your script does not start? perhaps it starts, and as far as the OS is concerned, everything is OK, but the script crashes because some dependency is not available yet? EDIT: if its just your machine, then just swallow the Win10 frog. Edited September 28, 2016 by orbs Signature - my forum contributions: Spoiler UDF: LFN - support for long file names (over 260 characters) InputImpose - impose valid characters in an input control TimeConvert - convert UTC to/from local time and/or reformat the string representation AMF - accept multiple files from Windows Explorer context menu DateDuration - literal description of the difference between given dates Apps: Touch - set the "modified" timestamp of a file to current time Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes SPDiff - Single-Pane Text Diff Link to comment Share on other sites More sharing options...
computergroove Posted September 28, 2016 Author Share Posted September 28, 2016 I can start my script's compiled exe by double clicking it. I can see the autoit's default tray icon opening in the taskbar next to the time. When I restart the computer the icon does not show up nor does the actions the script is supposed to do occur. Are you saying it is not possible to do this in windows 8? Just upgrade to windows 10 and this will work? Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html Link to comment Share on other sites More sharing options...
orbs Posted September 28, 2016 Share Posted September 28, 2016 (edited) 6 hours ago, computergroove said: Are you saying it is not possible to do this in windows 8? Just upgrade to windows 10 and this will work? no. i'm saying that if you already made the switch from Windows 7, then complete it to Windows 10. Windows 8 has no future, and if you need peer support, the odds are people are running 10 and not 8. i know i have a VM of 10, used to have a VM of 8, not gonna rebuild it anytime soon. now back to the issue. let's start simple: anything in the event log? also, the Autoruns utility may be helpful here. it does not provide troubleshooting info, but it can tell you if your entry is configured properly. EDIT: some interesting links: http://superuser.com/questions/834135/why-some-startup-programs-not-starting-at-windows-startup http://www.eightforums.com/performance-maintenance/11216-startup-programs-wont-start-post408148.html?s=f79034567982e147b1cd0b030c7de627#post408148 so perhaps it is actually solved by upgrading to Windows 10... Edited September 28, 2016 by orbs Signature - my forum contributions: Spoiler UDF: LFN - support for long file names (over 260 characters) InputImpose - impose valid characters in an input control TimeConvert - convert UTC to/from local time and/or reformat the string representation AMF - accept multiple files from Windows Explorer context menu DateDuration - literal description of the difference between given dates Apps: Touch - set the "modified" timestamp of a file to current time Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes SPDiff - Single-Pane Text Diff Link to comment Share on other sites More sharing options...
computergroove Posted October 2, 2016 Author Share Posted October 2, 2016 I got this to work by making a .bat file and adding it to the shell:startup folder. It works now. No idea why this is necessary. Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now