how can i turn off grouping in all my folders

for several of times, i turn it off and put the group option on "none" but sometimes it's again on and it's bothering me.
i read somewhere that if i paste this in powershell, it will be disable for all of mu folders. is that true?
if there is other way to turn it of, i would appreciate it.

*this:
# This script will remove grouping from all possible views of the Downloads folder.

# The change is applied to the current user's profile only. 
# Warning: ALL folder views (except Downloads grouping) will revert to Windows defaults! 
# This is a minimal solution. To set ALL default folder views, use the free tool WinSetView. 
 
$RegExe = "$env:SystemRoot\System32\Reg.exe" 
$File = "$env:Temp\Temp.reg" 
$Key = 'HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}' 
& $RegExe Export $Key $File /y 
$Data = Get-Content $File 
$Data = $Data -Replace 'HKEY_LOCAL_MACHINE', 'HKEY_CURRENT_USER' 
$Data = $Data -Replace '"GroupBy"="System.DateModified"', '"GroupBy"=""' 
$Data | Out-File $File 
& $RegExe Import $File 
$Key = 'HKCU\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell' 
& $RegExe Delete "$Key\BagMRU" /f 
& $RegExe Delete "$Key\Bags" /f 
Stop-Process -Force -ErrorAction SilentlyContinue -ProcessName Explorer
|

Hello Mahdi Azimi Fard,

Thanks for reaching out here in the Microsoft Answers Community.

Based on the script, it seems thaat it only removes grouping by date modified.

Before modifying the registry, please try changing the grouping by setting a global folder view option.

To do so, please select Sort->Group by->(None). Then select the menu (...)->Options->View->Apply to folders. See whether the issue persists.

Please note that it only applies to the current folder type. Each type (General items, Photos, Music, etc.) has their own view settings, so you may need to set all of them:

  • Create a new folder at the root of C drive, and enter it.

  • Set the view options, and set it as default as mentioned above.

  • Right-click the empty space in the folder window, and select Properties->Customize. Set it to another type (Documents, Picture etc.).

  • Set the view options again for all the folder types, including "General items".

  • In the file explorer's addressbar, select the first "right arrow" beside the icon, and select your username in the list to enter your profile folder.

    Image

  • Create a new folder in the profile folder, enter it, and do the above again.

See whether the issue persists.

If the issue persists, there may be a profile corruption. Please try using a new clean profile by creating a new local administrator account.

To do so, right-click Start->Terminal/PowerShell/Command prompt (Admin), and enter the following commands:

net user user1 pass1 /add
net localgroup administrators user1 /add

(Substitute "user1" and "pass1" with the username and password of the new user.)

After creating the user, reboot the computer, select the new user, and log in. See whether the issue persists.

We look forward to your response.

Best Regards,

Sheng G. - MSFT | Microsoft Community Support Specialist

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi Sheng
thanks a lot for sharing all of this information. i really appreciate it.
it seems like based on your solution it has been solved.
recently i have a new problem and sometimes just suddenly my laptop stop playing music and videos. sometimes i've got to restart it and sometimes i have to Plugge out my headphone and plugge it in again to be solved.
if you could help me, i would appreciate it.
BTW, i'm using hp victus 15 fb2082wm and windows 11.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hello,

Thanks for getting back to us and letting us know.

Regarding the playback issue, are you using a USB headset, or one connected via 3.5 mm jacks? USB headsets contain their own sound cards, and if there is an issue with the embedded sound card, the system detects it and pauses the media as the card is gone. If that is the case, try using a regular headset connected via 3.5 mm jacks, and see whether the issue persists.

Best Regards,

Sheng G. - MSFT | Microsoft Community Support Specialist

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

That script, which I wrote, is one of several ways to deal with the issue. The complete answer is posted here:

I don't work for Microsoft. I'm just another user and a developer of some free Windows tools.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hello,

Recently, a Windows 11 update was released that disrupted sound cards and Bluetooth devices, and another update fixed the problem.

Please update the system to the latest version (26100.3037), and see whether the issue persists.

Best Regards,

Sheng G. - MSFT | Microsoft Community Support Specialist

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hello,

I have not received the message from you yet. If there is anything more that I can do for you or if anything is unclear, please do not hesitate to let me know.

Best Regards,

Sheng G. - MSFT | Microsoft Community Support Specialist

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hello,

I have not heard back from you in 96 hours. If you need further help at this point, please create a new thread to discuss those concerns.

Best Regards,

Sheng G. - MSFT | Microsoft Community Support Specialist

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi

forgive me, i didn't want to be disrespectful but i just forgot to reply.

actually, it was related to my headphone driver. For such long time, i've been dealing with freezing during unplugging. Also, my graphic drivers are at latest version, but it's still freezing and if i listen to a music or watch a movie during that, it will be freeze and the voice become noisy for few seconds.

let me know, if you could help.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated April 17, 2025 Views 168 Applies to: