Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save sjain882/3dddf90024aa4f919c6e4e0aa015885b to your computer and use it in GitHub Desktop.

Select an option

Save sjain882/3dddf90024aa4f919c6e4e0aa015885b to your computer and use it in GitHub Desktop.

Auto-start OBS with Windows and disable shutdown check

References:

For Windows users looking to workaround this change, here's my setup consisting of two Task Scheduler tasks.

I have setup this guide so it:

  1. Does not require creation of any scripts/files
  2. Works for users without admin rights
  3. Allows you to directly copy-paste values.

Note

The --disable-shutdown-check flag was removed to encourage reporting of cases where OBS does not shutdown cleanly.

Please consider investigating the cause behind your case and reporting relevant details via the appropriate channels.

Warning

Working around the shutdown check is considered bad practice and could result in data loss.

Use it at your own risk.

To setup OBS Autostart without bypassing the shutdown check, simply skip Task 1.

Before you begin

First, open Task Scheduler.

  1. Open Start Menu
  2. Type Task Scheduler
  3. If you wish to use OBS' hotkeys in games you run as administrator (not recommended), right click on the first result and click Run As Administrator. Otherwise, just click on the result normally.

Task 1 - Disable Shutdown Check

πŸ“œ Click to expand instructions β€Ž
  1. Click Create Basic Task on the right
  2. Name: OBS Disable Shutdown Check then Next
  3. Click When I log on then Next
  4. Click Start a program then Next
  5. Program/script: cmd.exe
  6. Add arguments: /c "rd /s /q %APPDATA%\obs-studio\.sentinel"
  7. Check Open the Properties dialog...
  8. Click Finish
  9. Click Conditions tab
  10. Uncheck the two checked options

The following steps are optional.

Only proceed if you are setting up OBS to auto-start on a non-administrator account,

with the ability to use OBS' hotkeys in games you run as administrator (not recommended).

Otherwise, click OK on every open dialog, keep Task Scheduler open, and skip to Task 2.

  1. Click General tab
  2. Click Change User or Group...
  3. Type the username of the account you want to start OBS on when it logs in
  4. Click Check Names, then double-check the result
  5. Click OK
  6. Click Triggers tab
  7. Double click the only entry
  8. Click Specific user
  9. Click Change User...
  10. Repeat Steps 13-14 here
  11. Click OK on every open dialog, but keep Task Scheduler open

Task 2 - OBS Autostart

πŸ“œ Click to expand instructions β€Ž
  1. Click Create Basic Task on the right
  2. Name: OBS Autostart then click Next
  3. Click When I log on then click Next
  4. Click Start a program then click Next
  5. Program/script: "C:\Program Files\obs-studio\bin\64bit\obs64.exe"
  6. [Optional] Add arguments: --startreplaybuffer --minimize-to-tray (delete as per your preferences)
  7. Start in: C:\Program Files\obs-studio\bin\64bit\ (do NOT add quotes or remove the final backslash)
  8. Click Next
  9. Check Open the Properties dialog...
  10. Click Finish
  11. [Optional] Tick Run with highest privileges if you wish to use OBS' hotkeys in games you run as administrator (not recommended)
  12. Click Conditions tab
  13. Uncheck the two checked options
  14. Click Settings tab
  15. Uncheck Stop the task if it runs longer than
  16. Click Triggers tab
  17. Double click the only entry
  18. Check Delay task for and paste 15 seconds into the dropdown text-box

The following steps are optional.

Only proceed if you are setting up OBS to auto-start on a non-administrator account,

with the ability to use OBS' hotkeys in games you run as administrator (not recommended).

Otherwise, click OK on every open dialog then close Task Scheduler.

  1. Click Specific user
  2. Click Change User...
  3. Type the username of the account you want to start OBS on when it logs in
  4. Click Check Names, then double-check the result
  5. Click OK
  6. Click General tab
  7. Click Change User or Group...
  8. Repeat Steps 21-22 here
  9. Click OK
  10. Click OK on every open dialog then close Task Scheduler
@VideoFX
Copy link

VideoFX commented Nov 9, 2025

It's nutty how OBS devs refuse to fix this. Its like they are so thirsty for bug reports, they disable the ability to remove the annoying and debilitating popup. Huge fail on their attitude and understanding of how people use OBS. One excuse for refusing to fix it is that OBS is meant to be used as a UI for direct user interaction. Indeed, so make a UI OPTION TO DISABLE THIS. Also, it's not like the community is requesting a new feature here, its that devs accidently removed the (--disable-shutdown-check) feature and are now pretending like it happened for good purpose, even though the community is negatively affected by the change. They also gaslighted the community in the comments for not shutting down their PC correctly, and tried to blame the affected users for improper usage. Yuck. This project is here because of us, not them, the naughty devs need reminding in this case. The correct and professional behavior would be for them to commit to fixing the issue they caused, and not deny and deflect (or whatever this is). Rant over.

Thank you for this. I did a .bat file to delete the garbage .sentinel directory and launch OBS. Worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment