Windows 10: How to stop batch file automatically opening as administrator

Discus and support How to stop batch file automatically opening as administrator in Windows 10 Gaming to solve the problem; Hello,As the title says, I'm creating a batch file, everything worked correctly, but suddenly the batch file started opening with administrator... Discussion in 'Windows 10 Gaming' started by Oskar Szymik, Dec 2, 2022.

  1. How to stop batch file automatically opening as administrator


    Hello,As the title says, I'm creating a batch file, everything worked correctly, but suddenly the batch file started opening with administrator privileges.I got no idea how to stop the file from doing it, why does it do that and how do I turn it off?I need it turned off, because with administrator privileges it changes the path of the batch file.Best regards

    :)
     
    Oskar Szymik, Dec 2, 2022
    #1
  2. jimbobs Win User

    Administrator level User

    Got the laptop. It's a Lenovo G500 so possibly has Lenovo stuff in the way? Anyway, booted it normally and it opens into a regular account without admin privileges. Rebooted it into Recovery mode (per Option 5) and get Lenovo logo and Preparing Automatic Repair message; then Select Account + "You need to sign in as an administrator to continue but there aren't any administrator accounts on this PC". There is an option "Forgot your password or don't see your account?" but selecting that brings up a screen which should list admin accounts but there aren't any. Pressing the only option on that page Restart leads eventually to a BSOD with Stop code: 0xc00002e3 (which I know is misconfigured o/s or missing or damaged system files).

    Can anybody suggest next steps in resolving this?
     
    jimbobs, Dec 2, 2022
    #2
  3. Batch file

    thank you for your reply. how to merge the codes so that the batch file does this

    the batch file displays the options below

    1. open the *.spl file in notepad
    2. delete the *.shd and *.spl files
    3.exit

    commands execute as options are selected
     
    Sandeep Bhugoo, Dec 2, 2022
    #3
  4. oily_17 Win User

    How to stop batch file automatically opening as administrator

    Batch Files Knowledge Base

    Don't use batch files very much but one I find useful is for creating a list of files in a directory.
    Just copy the text below into Notepad and save as Filelist.bat

    dir /a /-p /o:gen >filelist.txt

    When you run it from a folder it will create a Filelist.txt file,in the same folder, that lists all the files in that folder.Useful when you are too lazy to type all the files out yourself.
     
    oily_17, Dec 2, 2022
    #4
Thema:

How to stop batch file automatically opening as administrator

Loading...
  1. How to stop batch file automatically opening as administrator - Similar Threads - stop batch file

  2. HOW TO STOP BROWSERS TO OPEN AUTOMATICALLY?

    in Windows 10 Software and Apps
    HOW TO STOP BROWSERS TO OPEN AUTOMATICALLY?: Hello, good day! Could you please help me resolve this issue? I've already tried several solutions, but the problem persists. Here's what's happening: every time I turn on my laptop and connect to Wi-Fi, all browsers—Edge, Google Chrome, and Brave—open automatically. How can...
  3. HOW TO STOP BROWSERS TO OPEN AUTOMATICALLY?

    in Windows 10 Gaming
    HOW TO STOP BROWSERS TO OPEN AUTOMATICALLY?: Hello, good day! Could you please help me resolve this issue? I've already tried several solutions, but the problem persists. Here's what's happening: every time I turn on my laptop and connect to Wi-Fi, all browsers—Edge, Google Chrome, and Brave—open automatically. How can...
  4. Starting batch file only opens command prompt versus running the batch file?

    in Windows 10 Gaming
    Starting batch file only opens command prompt versus running the batch file?: I'm trying to run one batch file, then another. Instead of running the 2nd batch file, it just opens another black screened command prompt with the name of the batch file as the first line in the command prompt? Any ideas why?...
  5. Starting batch file only opens command prompt versus running the batch file?

    in Windows 10 Software and Apps
    Starting batch file only opens command prompt versus running the batch file?: I'm trying to run one batch file, then another. Instead of running the 2nd batch file, it just opens another black screened command prompt with the name of the batch file as the first line in the command prompt? Any ideas why?...
  6. How to stop batch file automatically opening as administrator

    in Windows 10 Software and Apps
    How to stop batch file automatically opening as administrator: Hello,As the title says, I'm creating a batch file, everything worked correctly, but suddenly the batch file started opening with administrator privileges.I got no idea how to stop the file from doing it, why does it do that and how do I turn it off?I need it turned off,...
  7. Stop two cantankerous services with a batch file

    in Windows 10 Support
    Stop two cantankerous services with a batch file: I have two stubborn services that slow down my shutdowns and reboots: the Macrium service, which I can stop and change to manual startup if I'm in the Services panel, but not from a command prompt or with a batch (and the service resets to automatic start every time the...
  8. Batch File doesn't open

    in Windows 10 BSOD Crashes and Debugging
    Batch File doesn't open: The title is pretty self explanatory. When I double click the batch file, a program tries to open in the taskbar and it quickly disappears as well. When I run it as an administrator, it asks me, "Allow command processor to change blah blah blah". I click yes, and then the...
  9. How to run Batch file as Administrator without prompt in Windows 10

    in Windows 10 News
    How to run Batch file as Administrator without prompt in Windows 10: [ATTACH] [ATTACH]You can execute a number of tasks on your Windows computer by running commands. These commands work great. Some people also try to execute a number of these commands one by one. This bulk execution of commands helps them get [...] This post How to run Batch...
  10. How to Batch Rename files ?

    in Windows 10 Software and Apps
    How to Batch Rename files ?: I have a lot of files i want to give names to. I already found a way to get names into a text I need. So all these names i have in text, i want to give to other files. How do i do this in a batch process ? Currently trying to learn FastStone Image viewer. Seems to be...