Windows 10: Get startup batch file to work AGAIN in 64bit Win10 v1903

Discus and support Get startup batch file to work AGAIN in 64bit Win10 v1903 in Windows 10 Customization to solve the problem; For some time, a batch file in StartUp folder would cause "This PC" explorer-window to open after the PC booted. That no longer happens. How can I get... Discussion in 'Windows 10 Customization' started by JosephPHILIPPA, Oct 12, 2019.

  1. Get startup batch file to work AGAIN in 64bit Win10 v1903


    For some time, a batch file in StartUp folder would cause "This PC" explorer-window to open after the PC booted. That no longer happens. How can I get it to work again ? The batch file code said "explorer /e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}".

    :)
     
    JosephPHILIPPA, Oct 12, 2019
    #1

  2. how to list windows temp folder in batch file at startup

    Win 10 Pro

    I have a batch file called by a shortcut in startup. It creates a few drives with subst and then lists contents of temporary folders.

    There is no output from the command below unless the batch file runs as administrator

    du -q "C:\windows\Temp"

    My login has administrator rights but this only seems to let me change protections and privileges, not "run as administrator" by default.

    At one time I changed the protections on the temp folder but then I reasoned that it would be nice if the procedure would handle the situation where an update reinstates SYSTEM ownership which has just happened - hence the lack of output from the DU command.

    If a shortcut to the batch file is configured to run as administrator then the UAC gets in the way. So I tried the work-around to create a scheduled task to be run via a startup batch file. After a lot of fiddling about it will run and the subst commands
    appear to work but the drives are not actually created.

    So I am now trying to solve problems several generations of problem removed from the original.

    Can anyone suggest a complete solution please without patching windows 10...?
     
    Stephen_Ford, Oct 12, 2019
    #2
  3. oily_17 Win User
    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, Oct 12, 2019
    #3
  4. Get startup batch file to work AGAIN in 64bit Win10 v1903

    Batch Files Knowledge Base

    Very nice and usefull thanks for contributing.
     
    AphexDreamer, Oct 12, 2019
    #4
Thema:

Get startup batch file to work AGAIN in 64bit Win10 v1903

Loading...
  1. Get startup batch file to work AGAIN in 64bit Win10 v1903 - Similar Threads - startup batch file

  2. batch file is not working

    in Windows 10 Network and Sharing
    batch file is not working: Hi world,I need to get an absolute path value like this but it's not working well.batch file:==================================for /F "tokens=1" %%i in 'PowerShell -Command "& {Get-ChildItem %USERPROFILE%\Desktop\privacy\*.xlsx select -exp Name -last 1}"' do set FNAME=%%i...
  3. Creating batch file on Win10

    in Windows 10 Network and Sharing
    Creating batch file on Win10: Hey, this is someone's previous answer of creating a bat file but it only works if you dont change the file name first to "*.bat" before you open the file:Open the fileClick Save AsSelect the desired locationIn the File name field, type Whatever.batIn the Type field, select...
  4. Creating batch file on Win10

    in Windows 10 Gaming
    Creating batch file on Win10: Hey, this is someone's previous answer of creating a bat file but it only works if you dont change the file name first to "*.bat" before you open the file:Open the fileClick Save AsSelect the desired locationIn the File name field, type Whatever.batIn the Type field, select...
  5. Creating batch file on Win10

    in Windows 10 Software and Apps
    Creating batch file on Win10: Hey, this is someone's previous answer of creating a bat file but it only works if you dont change the file name first to "*.bat" before you open the file:Open the fileClick Save AsSelect the desired locationIn the File name field, type Whatever.batIn the Type field, select...
  6. Batch file not working

    in Windows 10 Network and Sharing
    Batch file not working: Hello, Iam making autorun project that if I plug Flash disc in my pc it autoruns batch file with my "assistant" what says Hi, what do you want? But here are things that just doesn´t work: 1.If I plug in the Flash disc autorun.inf dont do anything. 2.If I manage batch file...
  7. Will a 64bit Vista driver work with 64bit Win10 Pro?

    in Windows 10 Drivers and Hardware
    Will a 64bit Vista driver work with 64bit Win10 Pro?: I have an old PCI TV tuner card ATI HDTV Wonder I'm considering buying an adapter for to use on my new PC, but it's so old the last driver they made for it was for 64bit Vista which worked with 64bit Win7. I don't want to waste money on a PCI to PCIe adapter just to use the...
  8. Win10 64bit

    in Windows 10 Installation and Upgrade
    Win10 64bit: windows1064bit2004KB2693643 0x8024001d https://answers.microsoft.com/en-us/windows/forum/all/win10/f9771dca-7f2b-4c91-bae2-058493d928a3
  9. Startup batch file

    in Windows 10 Support
    Startup batch file: When Windows 10 starts, a DOS window appears, runs: C:\Users\Brian\AppData\Local\854e8f7.bat , then disappears. The .bat file contains: start "plqcknRlU67iM4TfEXQq" "%LOCALAPPDATA%\b183312\88d4f24.21b2bbd3" There are two files in C:\Users\Brian\AppData\Local\...
  10. Unable to run batch file at startup

    in Windows 10 Support
    Unable to run batch file at startup: I am trying to run a batch file with these contents: Code: ECHO OFF TIMEOUT /T 2 /NOBREAK DisplaySwitch.exe /internal TIMEOUT /T 2 /NOBREAK DisplaySwitch.exe /external[/quote] I've tried putting a shortcut to it in the startup folder, putting the bat itself in the startup...