Windows 10: Batch file with admin user name pre populated

Discus and support Batch file with admin user name pre populated in Windows 10 Gaming to solve the problem; I have a batch file that was wrote in power shell not mine it requires administrator credentials. Currently what happens is when I click on the file I... Discussion in 'Windows 10 Gaming' started by Chicken_Farmer_66, Jul 3, 2024.

  1. Batch file with admin user name pre populated


    I have a batch file that was wrote in power shell not mine it requires administrator credentials. Currently what happens is when I click on the file I get a message telling me I will need to enter credentials and to press any key. When I do that the Windows Command Processer pops up asking for the credentials. What I want to do is when clicking on the .bat file it pre-populates the user name field. I still want to manually enter the password. Is something like this possible? I cannot share the code as it contains propriety information. Thanks

    :)
     
    Chicken_Farmer_66, Jul 3, 2024
    #1

  2. pre-populated user name and password in IE

    On the sign in page, type the first letter of the name. In the drop-down list select that name by putting the pointer on it. Hit the Delete key.

    Don
     
    Don Varnau, Jul 3, 2024
    #2
  3. pre-populated user name and password in IE

    How do I get rid of pre-populated user name and password for a site in IE
     
    StevenBlack1, Jul 3, 2024
    #3
  4. Bentley12 Win User

    Batch file with admin user name pre populated

    Batch File to list files from two seperat networks

    Hello,

    I work in a factory where multiple PCs are on seperate VLANs. I need to view contents of a directory from one VLAN called "Admin" and compare it with individual directories from multiple PCs on another VLAN called "Shop" ("Shop" is not part of the Domain)

    I have created a VB script that will compare two txt files and report the diffences. So I am trying to create two text files from each VLAN using a batch file. The batch file will be ran from a PC with two network cards so it can see both VLANs.

    I can easily create the list from the "Admin" network using:
    dir /b \\Server\Share\ > Active.txt

    The "Shop" list is different. It needs a username and password. All Shop PCs have the same user name and password but I'm not sure how to structure the script to create a list from multiple PCs using a user name and password.
    If I open the folders from Windows and enter the credentials then a script like this will work:
    dir /b \\PC_Name1\Share > Programs.txt
    dir /b \\PC_Name2\Share >> Programs.txt

    Using the command above without first opening the folder and entering the credentials gives this error: Logon failure: unknown user name or bad password

    Thanks in advance for any help.
     
    Bentley12, Jul 3, 2024
    #4
Thema:

Batch file with admin user name pre populated

Loading...
  1. Batch file with admin user name pre populated - Similar Threads - Batch file admin

  2. Batch file with admin user name pre populated

    in Windows 10 Software and Apps
    Batch file with admin user name pre populated: I have a batch file that was wrote in power shell not mine it requires administrator credentials. Currently what happens is when I click on the file I get a message telling me I will need to enter credentials and to press any key. When I do that the Windows Command Processer...
  3. Batch file with admin user name pre populated

    in AntiVirus, Firewalls and System Security
    Batch file with admin user name pre populated: I have a batch file that was wrote in power shell not mine it requires administrator credentials. Currently what happens is when I click on the file I get a message telling me I will need to enter credentials and to press any key. When I do that the Windows Command Processer...
  4. How to display the name of the user when importing computers in batches using Windows Admin...

    in Windows 10 Gaming
    How to display the name of the user when importing computers in batches using Windows Admin...: If I upload PCs in batches, but the ownership of the machines cannot be guaranteed, so it is very inconvenient to findI need support from Microsoft Teams...
  5. How to display the name of the user when importing computers in batches using Windows Admin...

    in Windows 10 Customization
    How to display the name of the user when importing computers in batches using Windows Admin...: If I upload PCs in batches, but the ownership of the machines cannot be guaranteed, so it is very inconvenient to findI need support from Microsoft Teams...
  6. Batch shorten file names

    in Windows 10 Gaming
    Batch shorten file names: Hi everyone!I have a bunch of files for work, which all have a name like 'FunTimes-party2020', 'BossMan-party2020', 'GroupPhoto-party2020' just as a example.I need to shorten the names of the files in the example, remove the "party2020", but there are hundreds of files. Is...
  7. Batch shorten file names

    in Windows 10 Software and Apps
    Batch shorten file names: Hi everyone!I have a bunch of files for work, which all have a name like 'FunTimes-party2020', 'BossMan-party2020', 'GroupPhoto-party2020' just as a example.I need to shorten the names of the files in the example, remove the "party2020", but there are hundreds of files. Is...
  8. ADMIN USER NAME AND PASSWORD

    in Windows 10 Gaming
    ADMIN USER NAME AND PASSWORD: Please help Me with this, i cant access some downloads and changes. it will always direct me into this.USER ACCOUNT CONTROLDo you want to allow this app to make changes to your device ?USER ACCOUNTS CONTROL PANELVerified publisher: Microsoft WindowsCLSID:...
  9. ADMIN USER NAME AND PASSWORD

    in Windows 10 Software and Apps
    ADMIN USER NAME AND PASSWORD: Please help Me with this, i cant access some downloads and changes. it will always direct me into this.USER ACCOUNT CONTROLDo you want to allow this app to make changes to your device ?USER ACCOUNTS CONTROL PANELVerified publisher: Microsoft WindowsCLSID:...
  10. change admin user name

    in Windows 10 Customization
    change admin user name: how do i change my admin user name https://answers.microsoft.com/en-us/windows/forum/all/change-admin-user-name/885ba043-3624-4cd3-a6ce-ca4611f14424