Windows 10: How to automatically run a file - at Windows 11 login

Discus and support How to automatically run a file - at Windows 11 login in Windows 10 Software and Apps to solve the problem; We have a Windows 11 kiosk that is going to run a PPT show file .ppsx. Trick is, I need it to automatically execute the file when the user logs in. I... Discussion in 'Windows 10 Software and Apps' started by Jay Lightfoot, Dec 10, 2024.

  1. How to automatically run a file - at Windows 11 login


    We have a Windows 11 kiosk that is going to run a PPT show file .ppsx. Trick is, I need it to automatically execute the file when the user logs in. I have read all about adding something into the "Startup" folder, although that will not work since, I need PPT to start running with this specific file. Also, I know that a "run" command with the file path and file name will work.In the past, I would simply try to put it into a login script... although, it appears that, in Windows 11, using login scripts is not encouraged. So... what is the best way to do this. Again... If I could just auto

    :)
     
    Jay Lightfoot, Dec 10, 2024
    #1
  2. newtekie1 Win User

    [Tip] Automatic Login to Windows and Instantly lock the computer.

    Problem: You like to leave XYZ program running 24/7, but XYZ program only starts when you log into the computer(XYZ can be whatever program you want). So when automatic updates hit and auto-restart your computer, the XYZ program doesn't start back up. You could not put a password on your user account, so the computer automatically logs onto your user account when it reboots, but that is insecure, and if you have nosy roommates/children/super intelligent monkeys, if there is no password they might get on your computer and find your huge collection of por...legally obtained songs...
    How to automatically run a file - at Windows 11 login Shifty_Eyes_Emoticon_by_Canaan1.gif


    Solution: Set Windows to automatically log into a password protected user account, and then instantly lock the computer.*Rockout :rockout: Here's how:

    • I'm going to assume you already have your user account password protected. If not, setup a password for your user account now...I'll wait...ok, moving on.
    • In the Run dialog type "control userpasswords2" without quotes. Then press OK.

      How to automatically run a file - at Windows 11 login autologin1.png
    • In the User Accounts window uncheck the box for "Users must enter a password to use this computer." Press OK.

      How to automatically run a file - at Windows 11 login autologin2.png
    • In the Automatically Log On window enter your username and password. Press OK.

      How to automatically run a file - at Windows 11 login autologin3.png
    • Open Notepad and type "rundll32.exe user32.dll, LockWorkstation" without quotes.

      How to automatically run a file - at Windows 11 login autologin4.png
    • Save the text document as lock.bat. Make sure you change Save as type: from *.txt to *.*!

      How to automatically run a file - at Windows 11 login autologin5.png
    • Drag lock.bat into your Startup folder.

      How to automatically run a file - at Windows 11 login autologin6.png
    That is it. Now when the computer is rebooted it will automatically log in to your account, load any programs you want started, and lock the computer so a password is still required to use it.*Toast :toast:

    A few notes:
    • If you change the password for your user account, it will break the auto login. You will have to go back into control userpasswords2 and re-enter your login information.
    • This should work with any recent version of Windows, I've tested it back to at least XP. You shouldn't be using anything older than that anyway.
    • I've tested this with Win7 and Vista Home Premium and up. It should work on Home Basic and Starter as well, and it should work on XP Home, but I haven't tested this personally. The lower versions of Windows might not have the Control Userpasswords2 ability.
    • This works with Server versions of Windows also.
     
    newtekie1, Dec 10, 2024
    #2
  3. Vista Automatic Updating Error

    Automatic Updates isn't currently running.
     
    DistantDeath, Dec 10, 2024
    #3
  4. How to automatically run a file - at Windows 11 login

    Windows 11 Automatic login

    Open Settings → Accounts → Sign-in options. Disable "For improved security, only allow Windows Hello sign-in..." option.

    And then, open netplwiz.exe and set up automatic login. For more information, see the article How to Automatically Login to your Account in Windows 11.
     
    Ramesh Srinivasan, Dec 10, 2024
    #4
Thema:

How to automatically run a file - at Windows 11 login

Loading...
  1. How to automatically run a file - at Windows 11 login - Similar Threads - automatically run file

  2. How to automatically run a file - at Windows 11 login

    in Windows 10 Gaming
    How to automatically run a file - at Windows 11 login: We have a Windows 11 kiosk that is going to run a PPT show file .ppsx. Trick is, I need it to automatically execute the file when the user logs in. I have read all about adding something into the "Startup" folder, although that will not work since, I need PPT to start running...
  3. How To Automatically Login In Windows 10 pro?

    in Windows 10 Software and Apps
    How To Automatically Login In Windows 10 pro?: I do not want to login Windows 10 pro every time when I start up my computer. May I ask you how to enable auto log in function?Thank you. https://answers.microsoft.com/en-us/windows/forum/all/how-to-automatically-login-in-windows-10-pro/c6d3693c-20ec-436f-aa80-abdbb4d6be00
  4. How To Automatically Login In Windows 10 pro?

    in Windows 10 Customization
    How To Automatically Login In Windows 10 pro?: I do not want to login Windows 10 pro every time when I start up my computer. May I ask you how to enable auto log in function?Thank you. https://answers.microsoft.com/en-us/windows/forum/all/how-to-automatically-login-in-windows-10-pro/c6d3693c-20ec-436f-aa80-abdbb4d6be00
  5. How To Automatically Login In Windows 10 pro?

    in Windows 10 Gaming
    How To Automatically Login In Windows 10 pro?: I do not want to login Windows 10 pro every time when I start up my computer. May I ask you how to enable auto log in function?Thank you. https://answers.microsoft.com/en-us/windows/forum/all/how-to-automatically-login-in-windows-10-pro/c6d3693c-20ec-436f-aa80-abdbb4d6be00
  6. Windows 11 Automatic login

    in Windows 10 Gaming
    Windows 11 Automatic login: After upgrading to Windows 11, I am forced to select one of 2 users - both of them being myself-and then enter my PIN to login to the OS. Previously it used to login automatically...
  7. Windows 11 Automatic login

    in Windows 10 Software and Apps
    Windows 11 Automatic login: After upgrading to Windows 11, I am forced to select one of 2 users - both of them being myself-and then enter my PIN to login to the OS. Previously it used to login automatically...
  8. Bat or Cmd file not running at login

    in Windows 10 Software and Apps
    Bat or Cmd file not running at login: This should be an easy one. Created a net use map drive batch file, also as a cmd. Either one not both, just as a troubleshooting step. File is located on my desktop and if I double click on it, either one it executes as expected and maps the drives. 1st approach was a...
  9. How to Run CleanMGR to Automatically Include System Files

    in Windows 10 Customization
    How to Run CleanMGR to Automatically Include System Files: I am trying to create a shortcut that will run the CleanMGR with all options selected AND include the System Files. I have found that running: Code: C:\Windows\System32\cleanmgr.exe /LOWDISK This will provide a prompt to the user. or Code: C:\Windows\System32\cleanmgr.exe...
  10. How to block .zip files from automatically running

    in Windows 10 Customization
    How to block .zip files from automatically running: Hello Looking for a way to prevent .zip files from automatically running. I thought there was a way to do it in local security policy but I am having trouble finding it in Win 10 Pro. I remember setting it up in XP Pro. Thanks, Doug...