MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Starting MagicMirror with Windows

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 1.5k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      CliffordW
      last edited by

      My MagicMirror running on Windows 10 works great. I start a bash command window, type in ‘npm start’ and it’s running.

      How do I create a batch/cmd file to start MagicMirror automatically each time Windows starts?

      1 Reply Last reply Reply Quote 0
      • B Offline
        Babene1 Project Sponsor
        last edited by

        you can try this maybe this works for you but debends on your system/ environment

        set internet explorer default page to “http://localhost:8080”

        use windows key + r (run command)
        type “shell:startup” (open a windows explorer)
        create here a file with filetype *.bat (e.g. StartMagicMirror.bat)
        type:

        @echo off
        START /max iexplore.exe
        
        cd C:\Users\MyUser\MagicMirror\
        node serveronly
        

        save an close and doubble click on the file, Internet Explorer should open and magic mirror should start.
        Now you can restart an test

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy