#StackBounty: #windows-10 #audio #gaming #directx No audio in newer games on Windows 10

Bounty: 100

I’m on the latest Windows 10 1803 17134.48, running on a ASUS ROG Maximus X Hero Intel Z370 motherboard with Realtek audio. Speakers are plugged into the headphone (green) jack in the back.

The hardware (and the Windows install) is 7 months old, and sound has worked great everywhere for most of that time.

Recently I do not get audio in most games. Audio still works fine in non-games (e.g. VLC, Chrome/Youtube etc) and in some games (older games?).

This makes me suspect that the problem is with Direct X / DirectSound, but since there is no way to install / reset that in Windows 10, it’s hard to tell.

“Speakers (Realtek High Definition Audio)” is always set as the current audio device. When in e.g. VLC I can see the audio meter move in the volume mixer, but in games there’s no output there.

I’ve searched for clues, here’s a non-exhaustive list of things I’ve already tried:

  • Deinstalled all other audio output devices that I am not using, such that there is no chance it can be switching to another. There was Nvidia audio or output to my monitor that is now gone, and there’s only 1 audio device left (speakers).
  • Checked DxDiag.exe to see if there were any errors. none.
  • Checked Device Manager for any problems.
  • Tried reinstalling Realtek drivers.
  • Tried unplugging any devices that are not keyboard/mouse/monitor/speakers.
  • Tried re-installing Steam (some Steam games have audio, but wanted to try anyway).
  • Disabled all sound effects in audio settings.
  • Tried low bit rate (16 bit 44khz) and high (24 bit 48 khz) settings.
  • Deselected allowing applications to take exclusive control.
  • Spatial sound off.
  • Quit as many concurrently running application, especially Skype.
  • Run Windows Trouble-shooter.
  • Checked per-app volume settings (all default).
  • Checked in-game audio settings 🙂 But yeah, no audio in games I am running for the first time.
  • Checked Steam settings (nothing applicable).
  • Checked Sonic Studio (sofware installed by the asus drivers) and made sure all settings are default / no effects).
  • Installed older versions of Direct X.
  • Make sure I’m up to date on Windows update.
  • Reboot a bunch of times.

None of this appeared to make any difference.

What I did not try yet:

  • Reinstall Windows. Was hoping to avoid that, and seeing as how “fresh” this install is, I was hoping it is not necessary.


Get this bounty!!!

#StackBounty: #windows-10 #touchpad #asus-laptop #windows-10-v1803 Touchpad not working after Windows 10 1803 update

Bounty: 100

I am using an Asus ROG G502VY with Windows 10 Family version 1803.

After updating to Windows 10 version 1803 from a previous version of Windows 10, and after rebooting my computer, the touchpad randomly stops working, in 5 minutes or 1 hour, it depends. I can use my mouse without any issue.

The touchpad doesn’t appear in the Device Manager even when it’s working. I tried to uninstall and re-install ATKPackage and Asus Smart Gestures but nothing changed.

Do you have any solutions?


Get this bounty!!!

#StackBounty: #windows-10 #sysprep Cannot SysPrep Windows 10 Enterprise (spring creators update): "A fatal error occurred…"

Bounty: 100

I have been creating our Windows 10 “golden image” from a VM, but since I installed the “Spring Creators update” I now cannot SysPrep it. Typically, this is the process I would follow, using PowerShell to find and remove all APPX packages:

#Audit APPX packages
Import-Module Appx
Import-Module Dism
Get-AppxPackage -AllUser | Format-List -Property PackageFullName | Out-File C:TempAppxJunkToRemove.txt

I then edit the “AppxJunkToRemove.txt” file to create my “RemoveAppXPackages.PS1” script:

Remove-AppxPackage -Package <packagefullname1>
Remove-AppxPackage -Package <packagefullname2>

Lastly, I would do two other things:
– Disable the NIC in the VM
– Disable the “Tile Data Model” service – tiledatamodelsvc (which is now gone in the SC update, apparently)

SysPrep is Windows 10 is painful, but following these steps worked 100% of the time for me before the Spring Creators Update. However, now the error I get is:

“System Preparation Tool 3.14
A fatal error occured while tyring to sysprep the machine.”

This happens during the “Sysprep is working… processing generalize phase Sysprep plugins…” step. Then this error immediately follows:
Sysprep quit Error code 0

I have verified that C:WindowsSystem32SysPrepPanther folder does not exist before I try the SysPrep. Setuperr.log shows:
Error 0x0f00a8 SYSPRP WinMain:Hit Failure while processing sysprep generalize internal providers

What I am missing here?


Get this bounty!!!

#StackBounty: #windows-10 #google-chrome #audio In Windows 10, Google Chrome keeps muting itself in volume mixer

Bounty: 100

I’m on Windows 10 and just recently I’ve noticed that Google Chrome starts off muted in the volume mixer and needs to be manually un-mute. When left alone for a while, Chrome automatically mutes itself again.

Here is how it looks in the Volume Mixer:

https://i1.wp.com/i.stack.imgur.com/ipyBY.png?w=525&ssl=1

I have uninstalled and re-installed Google Chrome and it did not fix this issue. All solutions of this issue on the internet say that I need to do something with Google Toolbox, which I don’t even have installed.

How can I fix this?


Get this bounty!!!

#StackBounty: #windows-10 #graphics-card #multiple-monitors #vga #dvi Windows 10 not recognizing second monitor plugged in Onboard Grap…

Bounty: 50

My motherboard is a M5A78L-M PLUS USB3, from ASUS. It have a port for a VGA monitor, and I have a monitor connected to it (this is the secondary monitor).

I also have a Nvidia Geforce GTX 960 video card, and it has a monitor connected to the DVI port onto it (this is the primary monitor). This video card doesn’t have a VGA port, and the secondary monitor can’t be plugged in this card.

When I boot Windows, everything is displayed on the Primary Monitor, and I’m not able to use the secondary monitor for anything. It’s not recognized when trying to select my displays.

On Device Manager, the monitor isn’t recognized at Monitors, and at Display Adapters, there’s only NVIDIA Geforce GTX 960.

This doesn’t work in Linux also. If it could work in both OS, it would be great, but focus here is Windows.

What can I do to use my secondary monitor along my primary monitor?


Get this bounty!!!

#StackBounty: #windows-10 #git Why does Git for Windows create repositories that I can't delete from a command line?

Bounty: 50

I have freshly “Reset” installation of Windows 10. I installed the “Git for Windows” distribution of Git from https://git-scm.org/.

If I create a git repository in any way (whether init or clone), that repository can’t be deleted from my file system with a command line prompt. I have to use Windows Explorer to do it.

Here’s a sample session:

PS C:Usersradix> mkdir foo


    Directory: C:Usersradix


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----        5/10/2018   5:46 PM                foo


PS C:Usersradix> cd foo
PS C:Usersradixfoo> git init .
Initialized empty Git repository in C:/Users/radix/foo/.git/
PS C:Usersradixfoo> cd ..
PS C:Usersradix> rm foo -Recurse
rm : Cannot remove item C:Usersradixfoo.git: You do not have sufficient access rights to perform this operation.
At line:1 char:1
+ rm foo -Recurse
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (.git:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
rm : Directory C:Usersradixfoo cannot be removed because it is not empty.
At line:1 char:1
+ rm foo -Recurse
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (C:Usersradixfoo:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

This is PowerShell running as my normal user. Even if I run Powershell as an administrator, the rm -Recurse command still fails in the exact same way. The only way I know of to delete this new foo directory is to do it via Windows Explorer, which doesn’t even complain or prompt about permissions – it just silently deletes it with no problem.

I don’t believe this is a PowerShell-specific issue, because a similar behavior happens in CMD:

C:Usersradix>dir foo
 Volume in drive C is Blade
 Volume Serial Number is B83C-EF1B

 Directory of C:Usersradix

File Not Found

C:Usersradix>git init foo
Initialized empty Git repository in C:/Users/radix/foo/.git/

C:Usersradix>del foo
C:Usersradixfoo*, Are you sure (Y/N)? y

C:Usersradix>dir foo
 Volume in drive C is Blade
 Volume Serial Number is B83C-EF1B

 Directory of C:Usersradixfoo

05/17/2018  08:46 PM    <DIR>          .
05/17/2018  08:46 PM    <DIR>          ..
               0 File(s)              0 bytes
               2 Dir(s)  275,911,991,296 bytes free

C:Usersradix>dir /a foo
 Volume in drive C is Blade
 Volume Serial Number is B83C-EF1B

 Directory of C:Usersradixfoo

05/17/2018  08:46 PM    <DIR>          .
05/17/2018  08:46 PM    <DIR>          ..
05/17/2018  08:46 PM    <DIR>          .git
               0 File(s)              0 bytes
               3 Dir(s)  275,866,763,264 bytes free

The DEL command does not display any errors, but it fails to actually delete the repository.

It’s important to note that the rm command does delete the files from the repository, including the files inside the .git directory. But it leaves the .git directory there.

It has been posited that the “hidden” nature of the .git subdirectory is causing a problem. Here is a transcript of my experimentation regarding that:

PS C:Usersradix> git init foo
Initialized empty Git repository in C:/Users/radix/foo/.git/

At this point, I open Windows Explorer and navigate to the C:/Users/radix/foo directory, and rename .git to git. I also right click on the .git directory and open the Properties dialog, noting that it does not have the “hidden” flag. I also navigate into the git directory and right-click-open-properties on several subdirectories and files, noting that none of them have the “Hidden” flag set.

And then I try to delete the directory from powershell:

PS C:Usersradix> del foo

Confirm
The item at C:Usersradixfoo has children and the Recurse parameter was not specified. If you continue, all children
will be removed with the item. Are you sure you want to continue?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): a
del : Cannot remove item C:Usersradixfoogit: You do not have sufficient access rights to perform this operation.
At line:1 char:1
+ del foo
+ ~~~~~~~
    + CategoryInfo          : PermissionDenied: (git:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
del : Directory C:Usersradixfoo cannot be removed because it is not empty.
At line:1 char:1
+ del foo
+ ~~~~~~~
    + CategoryInfo          : WriteError: (C:Usersradixfoo:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

I do notice that several of the folders in this hierarchy are marked as “Read-Only”. Is that related?

So I have two questions: why can’t I delete this folder, and why is git creating it in a way that it can’t be deleted in the first place? If the problem is that the directories are read-only, why is git creating them as read-only?


Get this bounty!!!

#StackBounty: #windows #windows-10 #taskbar #icons #start-menu Missing icons for Trusted Microsoft Store Apps in Start Menu search and …

Bounty: 250

Help!

The icons for my Trusted Microsoft Store apps are missing from my start menu when I search for them. They are also missing from my tasbar. I alo notice that icons are missing for files that are associated with these apps are missing.

Any idea on how to solve this?

When Using Search

Searching in the start menu won’t show the icon for Trusted Microsoft Store apps. Other app icons are visible in the search.
Slack icon missing
Setings icon missing
Calculator icon missing, other icons showing

In start menu

The icons for the store apps are visible in the menu when not searching:
Not missing when not searching

Not visible in taskbar either

Here you can see that both the Slack and Store app icons aren’t visible on the taskbar:
Slack Icon missing on taskbar

No file icons for associated apps

My images are associated with Windows Photos (also a Microsoft Trusted Store App). The aren’t showing their icons.
PNG icons not visible

What I’ve done so far

I’ve been searching Google and the MS fora for hours now. What I’ve tried so far:

  • Running all Windows Updates
  • Upgrading to Windows 10 Fall Creators Update
  • Clearing the general icon cache by deleting C:Users[snip]AppDataLocalIconCache.db
  • Clearing Explorer icon cache by deleting C:Users[snip]AppDataLocalMicrosoftWindowsExplorerIconCache*.db
  • Re-reregistring all Windows store apps with PowerShell by running: Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)AppXManifest.xml"}
  • Running Disk Clean Up and choosing Clean Up System Files
  • Running WSReset.exe

All to no avail. I hope you guys know a solution.


Get this bounty!!!

#StackBounty: #windows-10 #multiple-monitors Switch between multiple displays configuration in Windows 10

Bounty: 50

I have looked a lot on Internet and can’t find a proper solution to this.
I have 3 screens plugged into my GPU, I will call them 1 2 and 3 for better understanding.
I want to switch between two setup without using Windows configuration display settings :

Setup one :
Screen 1 and 2 turn on, screen 1 as the main screen and screen 2 as extended to the right of screen 1.

Setup two :
Screen 3 only with screen 3 as the main display with screen 1 and 2 off.

Is there any possibilities to switch easilly between those two setup only.
For example bind a shortcut like Crtl+Alt+F1 for setup one and Crtl+Alt+F2 for setup two.
I would even prefer a way to remap options in the Project menu accessible from Win+p but so far I haven’t been able to find if it’s possible or not.

Edit 1:
I have try to dump the registry key with the screen configuration and reimport it, but it seems that I need to trigger some system call to make the change to registry effective.
If you know wich DLL or command I should invoke to refresh configuration modified in registry I could build a small script myself.


Get this bounty!!!

#StackBounty: #windows-10 #git Why does Git for Windows create repositories that I can't delete from a command line?

Bounty: 50

I have freshly “Reset” installation of Windows 10. I installed the “Git for Windows” distribution of Git from https://git-scm.org/.

If I create a git repository in any way (whether init or clone), that repository can’t be deleted from my file system with a command line prompt. I have to use Windows Explorer to do it.

Here’s a sample session:

PS C:Usersradix> mkdir foo


    Directory: C:Usersradix


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----        5/10/2018   5:46 PM                foo


PS C:Usersradix> cd foo
PS C:Usersradixfoo> git init .
Initialized empty Git repository in C:/Users/radix/foo/.git/
PS C:Usersradixfoo> cd ..
PS C:Usersradix> rm foo -Recurse
rm : Cannot remove item C:Usersradixfoo.git: You do not have sufficient access rights to perform this operation.
At line:1 char:1
+ rm foo -Recurse
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (.git:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
rm : Directory C:Usersradixfoo cannot be removed because it is not empty.
At line:1 char:1
+ rm foo -Recurse
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (C:Usersradixfoo:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

This is PowerShell running as my normal user. Even if I run Powershell as an administrator, the rm -Recurse command still fails in the exact same way. The only way I know of to delete this new foo directory is to do it via Windows Explorer, which doesn’t even complain or prompt about permissions – it just silently deletes it with no problem.

Also, the same happens with the Command Prompt instead of powershell, so this isn’t a PowerShell-specific issue.

It’s important to note that the rm command does delete the files from the repository, including the files inside the .git directory. But it leaves the .git directory there.

So I have two questions: why can’t I delete this folder, and why is git creating it in a way that it can’t be deleted in the first place?


Get this bounty!!!