Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
VGSources
Hetzner

How to Automatically Start an OBS YouTube Stream on a Hetzner Windows VPS

Windows startup, OBS’s --startstreaming parameter, and YouTube’s broadcast settings each matter. Here’s how to configure and test the full chain on a Hetzner Windows VPS.

By VGSources Team 6 min read
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To start an OBS stream after a Hetzner Windows VPS reboots, configure three separate things: Windows must launch OBS, OBS must launch with --startstreaming, and YouTube must allow the encoder to start the broadcast. These settings do not guarantee that every scheduled YouTube event will go live without a person: YouTube’s documented encoder workflow may still require checking the preview and clicking Go live.

What this setup does—and what it does not guarantee

This guide assumes a Hetzner Cloud VM running Windows with OBS Studio installed. Hetzner’s Windows installation instructions concern eligible licenses on its Cloud platform; Windows Server is not supported on CAX Arm64 Cloud servers. Hetzner describes Cloud servers as virtual machines, not as guaranteed streaming workstations, so confirm that your chosen server, Windows edition, license, and resources suit your OBS sources before relying on it. Hetzner’s Windows on Cloud documentation and Cloud overview describe the relevant platform context.

The startup chain has three independent links:

  1. Windows launch: a startup shortcut or scheduled task starts OBS.
  2. OBS launch: the --startstreaming parameter tells OBS to begin streaming.
  3. YouTube broadcast: the stream’s YouTube settings determine whether encoder activity starts the broadcast or whether a manual action is still needed.

A VPS reboot can also interrupt a session. If your scene captures an interactive desktop, game, or other user-session source, do not assume a task running before sign-in can capture it correctly. Test with the exact OBS profile and sources you intend to use.

Connect OBS to the right YouTube stream

  1. In YouTube Studio, open the Live Control Room and create or select the intended stream.
  2. Copy the stream URL and stream key from YouTube’s stream settings into OBS’s streaming configuration. YouTube explains that the key identifies the stream and directs the encoder feed. Treat it like a password: do not share it, include it in screenshots, or expose it in public logs. See YouTube stream settings and the encoder workflow.
  3. Review YouTube’s auto-start setting. When auto-start and auto-stop are enabled, YouTube says the encoder can start or stop the stream. These are YouTube broadcast controls; they do not start OBS or Windows. Check the selected stream’s settings rather than assuming they are enabled.

Reusing stream settings can carry over the stream’s configuration, including auto-start and auto-stop selections. Confirm those options for the stream you will actually use.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
LAPGEAR Home Office Pro Lap Desk - Black Carbon, Fits 15.6” Laptops
  • Spacious Design: Measuring 21.1" wide and 14.1" deep, our lap desk comfortably fits most laptops up to 15.6". Extra room for accessories ensures convenience.
  • Enhanced Functionality: Packed with handy features, including a 5x9" precision tracking mouse pad and a built-in phone slot for seamless work or video calls. Plus, enjoy ergonomic support with the integrated cushioned wrist rest.
  • Cool Comfort: Enjoy a stable surface with our lap desk's dual bolster cushion, designed for comfort and airflow, keeping your lap cool during extended use.
  • Durable Surface: Work with confidence on our lap desk's solid surface, featuring a sleek black carbon color, ensuring optimal air circulation to prevent your laptop from overheating.
  • On-the-Go Convenience: With an integrated handle and lightweight design (2.8 lbs), our lap desk is portable for travel or moving around the house, offering flexibility in any space.

Tell OBS to start streaming when launched

OBS documents --startstreaming as the launch parameter for automatically starting a stream. For OBS launched by a scheduled task or other automated means on Windows, OBS also says to set the working directory—the shortcut’s Start in field—to the folder containing obs64.exe. See OBS launch parameters.

  1. Find the installed obs64.exe location. Common installations place it under C:Program Filesobs-studiobin64bit, but verify the actual path on your VPS.
  2. Use that executable as the program Windows launches, and add --startstreaming as the argument.
  3. Set Start in to the directory containing obs64.exe, not to the executable filename itself.
  4. Run the shortcut or task manually once and confirm that OBS opens the expected profile and begins connecting to YouTube.

Keep the stream key in OBS’s configuration rather than placing it in the command line or a script that might be exposed. If OBS opens but does not connect, check that the correct profile and service configuration are selected and that the stream key has not changed.

Rank #2
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

Choose how Windows launches OBS

Method Best fit Important limitation
Startup shortcut A simpler setup where OBS should launch in the signed-in user’s interactive session. It depends on the relevant user signing in. Put the OBS executable in the shortcut’s target, add --startstreaming, and set the shortcut’s working directory to the folder containing obs64.exe.
Task Scheduler More control over triggers and restart behavior, if you have verified the task in the target Windows version. OBS’s documentation establishes the launch argument and working-directory requirement, but not one universally correct task configuration for every Windows Server version or source type. Configure the executable, argument, and Start in directory, then test the actual task and session behavior.

For either method, decide whether OBS needs a signed-in desktop. A task that runs before sign-in is not proof that a desktop capture, game capture, or other interactive source will be available. If the stream depends on such a source, test after a real reboot using the same sign-in sequence you plan to use in production.

Know whether YouTube will start the broadcast unattended

There is a meaningful difference between a persistent or reused stream configuration with YouTube auto-start enabled and a scheduled event. YouTube’s encoder instructions describe a scheduled-stream flow in which you wait for the preview and click Go live. Therefore, OBS starting and sending video is not by itself proof that a scheduled event will become public without human approval. Check the YouTube encoder workflow for the event flow, and validate the exact configuration you intend to run.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Yilador Webcam Cover 3 Pack, 0.03 inch Ultra Thin Laptop Camera Cover Slide
  • Note: Not suitable for MacBooks released after 2023 or devices with a protruding front camera; Not applicable to full-screen or notch-style tempered glass screen protectors; Do not use on the rear camera of the phone.
  • 💻 Why Do You Need a Webcam Cover Slide? — Safeguard your privacy by covering your webcam with our reliable webcam cover when not in use. Don't let anyone secretly watch you. Stay protected!
  • ✅ Thin & Stylish — Enhance your laptop's functionality and aesthetics with our 0.027" ultra-thin webcam covers. Seamlessly close your laptop while adding a touch of sophistication.
  • ✅ Fits Most Devices — Compatible with laptops, phones, tablets, desktops! Keep your privacy intact on Ap/ple, Mac/Book, iPh/one, iP/ad, H/P, L/novo, De/ll, Ac/er, As/us, Sa/msung devices.
  • ✅ 365 Days Protection — Our upgraded 3.0 adhesive ensures a strong hold that won't damage your equipment. Experience reliable, long-term privacy protection day in and day out.
  • If someone can approve the scheduled event, include the preview check and Go live action in the operating procedure.
  • If the stream must start without a person, test the selected stream’s auto-start behavior end to end; do not infer it from OBS launching successfully.
  • After a reboot, verify both the encoder connection in OBS and the broadcast state in YouTube Studio.

Test the whole reboot-to-broadcast chain

OBS recommends testing settings before the first real stream. YouTube advises setting up the encoder ahead of time, checking the Live Control Room preview, testing with realistic audio and video, and monitoring stream health. Use a private or unlisted test where appropriate for your channel; confirm the visibility and event settings before sending anything live. See the OBS quick start guide and YouTube live tips.

  1. Start OBS manually with the intended profile and confirm the correct video, audio, and YouTube destination.
  2. Check the YouTube Live Control Room preview and stream health before a public broadcast.
  3. Reboot the VPS, then follow the intended Windows sign-in or scheduled-task path.
  4. Confirm Windows launched OBS, OBS began sending the encoder feed, and YouTube shows the expected preview or broadcast state.
  5. For a scheduled event, verify whether a human Go live action is required in that configuration.

Troubleshooting automatic startup

  • OBS does not open after reboot: Check the startup shortcut or task trigger, the executable path, and whether the chosen method requires a user to sign in.
  • OBS opens but does not start streaming: Confirm the launch arguments include --startstreaming, OBS has the intended profile, and its stream configuration is valid.
  • OBS starts but reports a connection or authentication problem: Recheck the YouTube stream URL and key in OBS, and confirm the key still belongs to the selected stream. Keep the key private.
  • The scheduled stream has a preview but is not live: Check whether that event’s workflow requires clicking Go live. Auto-start is a YouTube stream setting, not a guarantee that every scheduled event skips approval.
  • Sources are missing or blank after an unattended launch: Check whether the task ran in the required interactive user session and repeat the test after a full reboot. A pre-sign-in task may not have access to the desktop or game source you expect.
  • The task behaves differently from a shortcut: Verify the task’s executable, --startstreaming argument, and working directory. OBS specifically calls for the directory containing obs64.exe when launched by scheduled or other automated means.
  • The server cannot run the intended Windows setup: Recheck the Hetzner product, license eligibility, Windows edition, and CPU architecture. Hetzner states that Windows Server is unsupported on its CAX Arm64 Cloud servers.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or let it run in the cloud

If the goal is to keep prerecorded video playing as a YouTube live stream, StreamNeo is a cloud alternative: upload a recording or build a playlist, add your YouTube stream key once, and go live. It loops uploaded video from the cloud, so nothing has to stay running at home. Any uploaded quality up to 4K 60fps streams as made at one flat price per slot, and StreamNeo automatically recovers if YouTube drops the stream. The first day is free with no card; the monthly plan is $9.99 per month. It streams to YouTube only and plays uploaded videos rather than broadcasting a camera feed. Start your free first day with StreamNeo.

Best Value
Sale
LAPGEAR Home Office Lap Desk – Pink, Fits 15.6” Laptops
  • Spacious Design: Measuring 21.1" wide and 12" deep, our lap desk comfortably fits most laptops up to 15.6". Extra room for accessories ensures convenience.
  • Enhanced Functionality: Packed with handy features, including a 5x9" precision tracking mouse pad and a built-in phone slot for seamless work or video calls. Plus, enjoy laptop support with the integrated device ledge.
  • Cool Comfort: Enjoy a stable surface with our lap desk's dual bolster cushion, designed for comfort and airflow, keeping your lap cool during extended use.
  • Durable Surface: Work with confidence on our lap desk's solid surface, featuring a blush pink color, ensuring optimal air circulation to prevent your laptop from overheating.
  • On-the-Go Convenience: With an integrated handle and lightweight design (2.14 lbs), our lap desk is portable for travel or moving around the house, offering flexibility in any space.
Rank #4
AboveTEK Portable Laptop Lap Desk w/Retractable Left/Right Mouse Pad Tray, Non-Slip Heat Shield Tablet Notebook Computer Stand Table w/Sturdy Stable Work Surface for Bed Sofa Couch or Travel
  • Anti-Slip Surface - Transform your laptop into a mobile workstation with the AboveTEK portable laptop lap desk. The anti-slip surface provides a strong grip for laptops up to 15.6 inches(Diagonal), while the double rubber strip on the bottom ensures a stable display or typing experience on your lap, couch, or bed.
  • Retractable Mouse Pad - Retractable laptop mouse pad extends on both directions for the left/right handed with elevation along the edges for stopping mouse from falling off. The size of laptop tray is 14" X 9.7" and the size of mouse pad is 7.4" X 6.1".
  • Effective Heat Shield - The effective heat shield made of sturdy and thick material protects your laptop from overheating. Prioritizes your comfort and safety, an ideal lap pad or board for working anywhere.
  • EASY to Carry and Store - With an ergonomic and simplistic design, the lap desk is portable to store in a backpack. Only 15" in size, 2.2 lb of weight and with slim 0.6 inch thickness, it is ready to be easily carried around.
  • Widely Applicable - The smooth platform accommodates laptops and tablets up to 15.6 inches(Diagonal), making it a versatile accessory and one of the best gifts for mom, dad, students and professionals. Perfect for use as a laptop bed tray or tablet holder anywhere at home, library, or park.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from Patch Notes

Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.