Windows 10: Windows 10 Startup Batch Script stopped working

Discus and support Windows 10 Startup Batch Script stopped working in Windows 10 Support to solve the problem; Hi all, Quite a while ago I have created a startup script that does some basic file copying. It's nothing fancy: it runs after I log on to Windows and... Discussion in 'Windows 10 Support' started by MMZWHAT, Mar 21, 2021.

  1. MMZWHAT Win User

    Windows 10 Startup Batch Script stopped working


    Hi all,

    Quite a while ago I have created a startup script that does some basic file copying. It's nothing fancy: it runs after I log on to Windows and copies a few files. The batch file is in my "Documents" folder, I placed a shortcut to it in the "Startup" folder using "shell:startup". The shortcut is still there and I can run the script manually at will, both from the shortcut or the file itself.

    But it no longer runs at startup, whether I shut down or restart. Any clues for me? TIA!

    Windows 10.0.19042.868

    :)
     
    MMZWHAT, Mar 21, 2021
    #1
  2. sachind1 Win User

    script running on Startup and Shutdown of System is not working

    Steps

    • Open a run box
    • type in "gpedit.msc"
    • Expand Computer Configuration
    • Expand Windows Settings
    • Select Scripts (Startup/Shutdown)
    • Double click Startup
    • Click Show Files and copy/paste your file in to this folder
    • Click the Add button on the startup properties
    • Click Browse and double click on your script to choose it.
    • "OK" out of all windows to apply the new settings.
    I am generally Giving Path of My python to the startup and shutdown as steps given above
     
    sachind1, Mar 21, 2021
    #2
  3. yegorsw Win User
    Run the audio troubleshooter from a batch script

    I have an automated home theatre setup - a batch script that enables my TV as a display, and changes the TV to be my primary display (so games and apps open on my TV instead of my monitor).

    The same script also changes my default audio device to be the TV.

    The problem is every time I turn off my TV, it disappears from the list of audio output devices in Windows 10, and even when I turn it back on, it does not appear in the list. However, if I RIGHT CLICK on the audio icon and select "troubleshoot sound problems"
    and immediately cancel/close the troubleshooter, the TV is automagically added to my list of output devices.

    My question is - is there any way to have this troubleshooter be launched from a batch script and instantly closed? Alternatively, is there a way to force a refresh of the audio devices through a batch script?
     
    yegorsw, Mar 21, 2021
    #3
  4. 20machinm Win User

    Windows 10 Startup Batch Script stopped working

    startup scripts

    I want to put this command in a startup script:

    xset m 0 0

    I believe it disables mouse pointer acceleration and sets a common sensitivity. I can input this through the console but I want it to be permanent and so I think it needs to go in a startup script. How can I do this? I use Ubuntu (Hardy Heron).

    Cheers.
     
    20machinm, Mar 21, 2021
    #4
Thema:

Windows 10 Startup Batch Script stopped working

Loading...
  1. Windows 10 Startup Batch Script stopped working - Similar Threads - Startup Batch Script

  2. PageFile.sys batch script

    in Windows 10 Virtualization
    PageFile.sys batch script: Hello, I need help writing a batch script that would configure Windows Virtual Memory based on the amount of RAM installed If you have 4 GB of RAM, set virtual memory to 8 GB (Custom size: set both initial and maximum size to 8192) If you have 8 GB of RAM, set virtual memory...
  3. Batch script does not work propperly

    in Windows 10 Ask Insider
    Batch script does not work propperly: Hello everybody, I've recently created a script which adds compatibility mode via CMD but I have problems getting it to work: REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%CD%\mha2.exe" /t REG_SZ /d "WINXPSP3 256COLOR 640X480" /f...
  4. How to undo a batch script

    in Windows 10 Network and Sharing
    How to undo a batch script: I decided it would be a good idea to download and run a random batch script from the internet to get the ability to move files around freely, rather than sticking to the presets. Microsoft, if you see this, please allow us to move and organize files as we wish and not have to...
  5. Batch Rename Script Help!

    in Windows 10 Support
    Batch Rename Script Help!: Hello! I am very new to this and need a little help. I am trying to create a batch file that will rename files that are called png_X.png (the X being the number page it is). The code I have is below. It works fine with out the pipe sort command but it sorts the by the ones...
  6. Batch Scripts / Programs.

    in Windows 10 Performance & Maintenance
    Batch Scripts / Programs.: The members and quests who use this forum know how professional, informative and helpful it is! In order to help members solve their problems/issues we often ask them to run certain programs and perform certain tasks and then upload [ post ] the results to the forum for us...
  7. Powershell GPO Startup Script not working

    in AntiVirus, Firewalls and System Security
    Powershell GPO Startup Script not working: Hello, I wrote a Powershell Script to delete Microsoft Store Apps which works fine when run manually. However I want to run it as a Startup script via GPO on all computers Windows 10 Pro in our domain. For that, I created a group policy and added the script under Computer...
  8. Batch scripting problems

    in Windows 10 Ask Insider
    Batch scripting problems: So i found a bug. In batch scripting, I can only store 3 variables. I don't know the cause for this. Here's the code, if you need it. @ echo off title Elevator OS by Lackmey on YouTube and Reddit set gdata=No data found (this one works) set 1data=No data found (this one...
  9. Automatically Run Batch Script

    in Windows 10 Installation and Upgrade
    Automatically Run Batch Script: Hi everyone When the windows installation is finished, automatically run batch script. How can I do that? Thanks *Wink 122531
  10. Batch script question

    in Windows 10 Support
    Batch script question: Hello, I want make a batch script to delete a spefic folder on the C disk, but how can I get only that spefic folder? I got this: Code: FOR /D %%p IN ("C:\USERS\%USERNAME%\Downloads\*.*") DO rmdir "%%p" /s /q cd C:\USERS\%USERNAME%\Downloads\ del *.* /q /s timeout /t 5...