Windows 10: dir command from Task Manager returns entire registry

Discus and support dir command from Task Manager returns entire registry in Windows 10 Network and Sharing to solve the problem; A batch file contains the line:dir c:\ /s /a-h-s >listing.txtas part of an indexing routine. This line of the batch takes about two minutes and returns... Discussion in 'Windows 10 Network and Sharing' started by 88m88, Aug 30, 2021.

  1. 88m88 Win User

    dir command from Task Manager returns entire registry


    A batch file contains the line:dir c:\ /s /a-h-s >listing.txtas part of an indexing routine. This line of the batch takes about two minutes and returns a textfile of about 150 mb. After I was satisfied that the routine was ready to go, I created a task in Task Scheduler to run the batch file, only to find the next morning that the output text file was about 2.7 gb, most of which were registry entries, not normal files, and it had taken about three and a half hours to run.The dir command is not complicated, what am I doing wrong?

    :)
     
    88m88, Aug 30, 2021
    #1

  2. Issues while accessing Task Manager and Registry Error: Disabled by Administrator

    Hi,



    Thank you for writing to Microsoft Community Forums.



    I understand that you are facing issues while accessing Task Manager and Registry on your PC. For further clarity on the issue, please respond to the questions below:



    1. Which build version of Windows 10 are you using currently?
    2. Are you aware of any changes made to the PC prior to which you weren’t facing this issue?
    3. Are you connected to Domain/organization network?
    4. What is the exact error message that you receive?


    Refer the article Which version of Windows operating system am I running?



    Meanwhile, I would suggest you to try enabling built-in administrator account and see if you are able to access Task Manager and Registry. Kindly follow the steps mentioned below:



    1. Now press Windows +
      S key together to open Search.
    2. Now type CMD and select Run as administrator.
    3. Accept the UAC prompts.
    4. Type in the following command and hit Enter:

      net user administrator /active:yes


    If you are able to access Task Manager and Registry in built-in administrator, then create a new user account using built-in administrator and check if you are still able to access Task Manager and Registry. Refer the article
    Create a local user or administrator account in Windows 10



    Let us know how it goes.



    Regards,

    Prakhar Khare

    Microsoft Community – Moderator
     
    Prakhar_Khare, Aug 30, 2021
    #2
  3. VBahirji Win User
    Windows 10 dir search using wild char "?" is not returning expected output

    Hi,

    I noticed some strange behavior when I did directory search (using command line) with wild char "?". Wild char "?" is supposed to match any single character so e.g. if you use "??" it should match two single chars and "???" should match exactly 3 single
    chars. However, "???" matches 1, 2 and 3 chars instead. I did the same dir search on Mac and Linux and they provide the correct out. here is an example :

    • I have three files in a dir (1.sav, 12.sav and 123.sav).
    • command "dir ?.sav" returns only 1.sav as expected.
    • command "dir ??.sav" returns 1.sav and 12.sav.. this is not expected. It should only return 12.sav
    • command "dir ???.sav" returns all three 1.sav, 12.sav, 123.sav.... this is not expected. It should only return 123.sav
    • Tested this on mac/linux and all the three commands return exactly one results (with matching single char for each "?" wild char).

    Take a look at the screen shot below for the experiment I ran.

    Can you provide feedback on this observation ? if this expected result, then I would like to understand how "?" is treated as wild char for dir search in Windows. If not, is this a bug ?


    dir command from Task Manager returns entire registry c1c2546e-3113-4a06-b369-a1d88d09e5d1?upload=true.png
     
    VBahirji, Aug 30, 2021
    #3
  4. imanalien Win User

    dir command from Task Manager returns entire registry

    No restart button in task manager

    another easy way to kill tasks, download and install Winaero Tweaker(free) and theres a setting to add a Kill non responding tasks using the desktop right click menu. When you place your cursor on the desktop anywhere and right click the option is at the top of the list, Very handy and you dont have to go through all those steps and well Winaero Tweaker has alot of cool Windows tweaks. Just posting a different suggestion, Im sure your ok with what was suggested here.
     
    imanalien, Aug 30, 2021
    #4
Thema:

dir command from Task Manager returns entire registry

Loading...
  1. dir command from Task Manager returns entire registry - Similar Threads - dir command Task

  2. Extracting informations from a DIR /S command via DOS commands?

    in Windows 10 Network and Sharing
    Extracting informations from a DIR /S command via DOS commands?: Hi, I need to make a list of a folder's content on a server put this result in a Data filtered Excel file. I only have access to this folder via a mapped drive. This list will be used to identify which files can be migrated to another place, mainly document types of files. I...
  3. Command prompt diffrent from task manager.

    in Windows 10 Gaming
    Command prompt diffrent from task manager.: In command prompt, if I use the command wmic cpu get loadpercentage i get a cpu usage of around 1-10&. in task manager, its about 50% usage. Why are these diffrent, and how can i sync/fix them. In command prompt it also says I have a diffrent processor than task manager, the...
  4. Command prompt diffrent from task manager.

    in Windows 10 Software and Apps
    Command prompt diffrent from task manager.: In command prompt, if I use the command wmic cpu get loadpercentage i get a cpu usage of around 1-10&. in task manager, its about 50% usage. Why are these diffrent, and how can i sync/fix them. In command prompt it also says I have a diffrent processor than task manager, the...
  5. DIR Command

    in Windows 10 Gaming
    DIR Command: dir /A:D /B /S > FolderList.txt produces a list of all directories and subdirectories of a directory. I would like to modify this line to have the date included for all directories and subdirectories of a directory too....
  6. DIR Command

    in Windows 10 Software and Apps
    DIR Command: dir /A:D /B /S > FolderList.txt produces a list of all directories and subdirectories of a directory. I would like to modify this line to have the date included for all directories and subdirectories of a directory too....
  7. dir command from Task Scheduler returns entire registry

    in Windows 10 Network and Sharing
    dir command from Task Scheduler returns entire registry: A batch file contains the line:dir c:\ /s /a-h-s >listing.txtas part of an indexing routine. This line of the batch takes about two minutes and returns a textfile of about 150 mb. After I was satisfied that the routine was ready to go, I created a task in Task Scheduler to...
  8. Bug in the DIR command?

    in Windows 10 Network and Sharing
    Bug in the DIR command?: Hi all. I'm running Version 10.0.17134.1365 and recently I've been testing long file names and how they're handled in an application that I work on. Strangely I noticed that when I try to see what the short name is for one of these files, they're not displaying correctly....
  9. DIR commands

    in Windows 10 Ask Insider
    DIR commands: So recently I used the DIR commands to be able to see hidden and Invisible files, is there any way to revert this? submitted by /u/Creeper_King_558 [link] [comments] https://www.reddit.com/r/Windows10/comments/inyfq2/dir_commands/
  10. "Mode" info returned by Windows 10 dir command

    in Windows 10 Support
    "Mode" info returned by Windows 10 dir command: Windows 10 seems to have a new set of info returned by the "dir" Powershell command. This appears under the "Mode" heading, e.g. -a---- or d----- , but nowhere have I found what these entries mean or how to interpret the individual characters. I get that they have to do with...