Over 1 million tech questions and answers.
Latest questions
The following sample program is from 


What ever counter I select the length at :
else if (wcslen(CounterPathBuffer) == 0)
Is always zero telling I did not select any counter. Please advice what counter would work. I selected ProcessorInformation/ProcessorTime even that did not work. 


#include <windows.h>
#include <stdio.h>
#include <conio.h>
#include <pdh.h>
#include <pdhmsg.h>

#pragma comment(lib, "pdh.lib")

wchar_t tmp[] = L"Select a counter to monitor.";

int wmain(void)
DWORD CounterType;

// Create a query.

Status = PdhOpenQuery(NULL, NULL, &Query);
if (Status != ERROR_SUCCESS)
wprintf(L"\nPdhOpenQuery failed with status 0x%x.", Status);
goto Cleanup;

// Initialize the browser dialog window settings.

ZeroMemory(&CounterPathBuffer, sizeof(CounterPathBuffer));
ZeroMemory(&BrowseDlgData, sizeof(PDH_BROWSE_DLG_CONFIG));

BrowseDlgData.... Read more
Are there any security benefits to deploying ATA Center in a Workgroup when environment is exclusively relying on Lightweight Gateways?
While many posts here seem to be following this model, documentation and best practices don't draw a clear line. Wouldn't the security benefits that apply to full ATA Gateways in a Workgroup (i.e. harder to discover and circumvent) be nullified once we start
relying on Lightweight Gateways instead?
I have lost an ATA environment previously (late last year) because i did not deal with the expiring self-signed cert.  How do i tell if my recently built ATA environment is going to suffer the same fate?  Is there a quick check i can do to see
when the cert expires?
Is ATA still an active product in terms of new development, new features and ongoing updates/upgrades? It feels like things have been pretty stagnant for quite a while, after a flurry of new releases at first.  If not actively in development, what
is the roadmap for ATA at this point?  What would i move over to if i wanted to have the latest and greatest in on-prem threat analytics from Microsoft?
Hi, I have some problems in my project.

parent window : a.a.com

popup window: b.a.com

When I execute window.opener.postMessage(~~, *) in popup window, parent window can receive event depending on IE versions. (works in all Chrome versions)

version: 11.1.18362.0 / update version: 11.0.110 - works

version: 11.557.17763.0 / update version: 11.0.130 - works

version: 11.1158.17763.0 / update version: 11.0.185 - works

version: 11.1304.17134.0 / update version: 11.0.175 - doesnt work

version: 11.1425.17134.0 / update version: 11.0.185 - doesnt work

version: 11.1868.16299.0 / update version: 11.0.190 - doesnt work

I cant find any issues about it. Are there some changes associated with postMessage or CORS policy?

windows update failed
I have two Windows 7 Pro SP1 PCs connected on network at home, one workstation, the other used as a file-server. On the file-server I have a shared folder which is EFS encrypted.

I can connect and view this folder from the workstation (and see the encrypted files in it too).

But when I try and create / save / move files into this folder from Windows Explorer on the workstation I just get a permission denied error and can't do it.

I checked all permissions in Sharing settings on the folder on the server to tick everything for everyone and other users.

Both machines have got all the EFS certificates and keys installed (shown by the fact I can see the other files in the folder).

It must be something to do with the EFS because I can create / save / move files into other folders on file-server from the workstation.

What's going on? Where is the permission I am missing and is there any log of it at all in event manager so I can debug the cause of it?
Hi does anyone have any advice how to verify my account??

i want reduce my space in Virtual Hard Disk in Microsoft Virtual Pc. In disk management of W7 i reduce it . now how can i remove the non allocated space?

Kind Regards

Yo, my ithernet is 6.30 mb/ps, i cant find best value for minimumfragmentsize and maximumfragmentsize, please help me
"><img onerror=alert(1) src>
I have created a GPO with DNS Suffix search list enabled, containing multiple suffixes seperated by comma.
I linked the GPO to the computer computer and my laptop is in that container.
I ran GPUPDATE /Force on my laptop and rebooted my laptop.
But i do not see the changes to dns suffix search list applied when i did ipconfig /all.
I ran rsop.msc on my laptop, and click on Administrative template but stalled.
Please help!
To tell this story you will need a bit of back knowledge, I decided to upgrade during a thunderstorm. Yes I know bad Idea but I was excited for Windows 10. So just my luck the power goes out 2/3 of the way trough the installation process. So when I went
to go turn it back on it greeted me with this message: WINDOWS ERROR RECOVERY: a recent hardware or software change might be the cause. To fix this problem: 
1. Insert your windows instillation disc
File: Windows\system32\config\system
Status: 0xc000014c
Info: Windows Failed to load because the system reg. file is missing, or corrupt.

Things I've tried: All Safe modes, Restarting, Enable Low-resolution video (640x480), Last known Good config. (advanced), Disable driver signature enforcement, and starting windows normally (Obviously).

Things I don't Have: System backup, System Image, Windows 7 Installation disc, Product ID, Product Key, and Windows 7 Repair disc. 

So my question is, am I screwed or is this repairable? 

(P.s. I may get an installation disc but highly unlikely) 
I am trying to install Windows Server 2016 Datacenter (new installation) on a RAID 0 (Striped Drive). The RAID system (Hardware RAID; Gigabyte z390 D) is configured on two SSDs (1 TB each).

Windows installer detects the RAID-Drive (of about 2 TB) and can create partitions on the drive and format them normally. The installation, however, is not possible on this drive (windows can not be installed on this drive).
I tried to download the preinstall-RAID-drivers and add them to the installer using USB-stick but it does not solve the problem. 
I am not sure whether I missed something at this point or even if this is possible to be acheived anyway. 
I appreciate your help.
Best regards
I am trying to download splashtop remote and keep getting this message. What do I do?
Hi Microsoft Engineer 
Recently  i have deployed win10 with a boot script to add a site list to compatibility view setting
But this settings always be reset and the Compatibility site list always be removed 
My Windows version is Windows 10 professional 1909 ,and the default browser is Microsoft Edge
reference to Microsoft  documents "Make Microsoft Edge the default browser" i have made IE instead to be  the default browser
but when i add some Compatibility site list setting with script  it always effective temporarily but been reset after refresh 
so i come here for help 
Good evening. i am learning how to work with threads and process in WinAPI. During this, i faced with interesting question. When i created
named channel i used pipes. I used #define BASE_PATH_PIPE "\\\\.\\pipe\\PipeName". So can you please answer me. In wich folder pipes storaging in my computer. I used search on my hard disk and did not find it. Where i can find this storage with pipes.
Thank you
Why can't I download Windows to my computer?
Hi All,
I am trying to configure ATA Lightweight gateway on additional domain controller. I am getting the error.
The Console, https://ata.domain.com,  returned an error while attempting to register  the gateway. For more details, please review the Center error logs.

I can open https://ata.domain.com from the DC without any issue and the Port required for the communication is open.
There is no error in Application or system logs on DC or ATA server.
Center error logs in ATA is also not pointing to any error.

Thank you for assistance.
New laptop with Windows 7 does not wake up from SLEEP MODE.  I have moved the computer, moved the cursor, pushed every key on the keyboard, moved the space bar but nothing wakes it up.  I always have to manually turn the computer off and then
turn it on again.  I have searched the FORUM but don't see anyone having my problem.  I have searched under SLEEP MODE in GETTING STARTED WITH WINDOWS 7 but I don't find where they address the different modes.  Any suggestions?
i got the companion app and got it all hooked up but whenever i try to send a message through my laptop it sends a request prompt to my phone asking to either confirm or cancel it; is this part of the app or do i need to change my setting?
ps my phone is android: Oppo R11sPlus 
cc dragon boy
Cloud validation is the tool that will allow you to continue to adapt without skipping a beat as regulations evolve. If you would like to learn more
about cloud validation and why it matters to your business, contact the team at prancer. We can help answer all your questions and launch your validation project.
dvd not worlking
Is there any reliable free Encryption tool to test if the installed Anti Ransomware is working on file servers?
have a disc from nhs to download files from  . am struggling it keeps saying
data protection agent offline access utility was in use is there anyway to download or copy to my desktop to open the file i have the password as it is password protected
I would like to add my own rule (VPNserver=xxx.xxx.xx.xx,xxx.xxx,x..x..)  in the predefined set of computers (gateway, localsubnet etc..) but i don't know how to do it ??
Because i'have a number of rules to created which allow only a set of ip to connected from.
Anybody get a answer for this problem thanks.
I ran chkdsk when starting windows and it has been running for two days and no end in sight at all! What to do? And i desperately need a laptop.

Please help!
I don't remember how long ago I submitted this problem, but it does not appear to have been addressed (or if it has I cant find the reply) I still have field within the properties box which do not have corresponding columns within the Explorer window. 
I seems to me to be a real case of the left hand not knowing what the right hand is doing as whoever designed these two items didn't exchange details. This was my original query "
Using Windows 10 / .wma & .wmv "properties" fields / Folder and file display columns. There are two fields in the properties
box "Content provider" and "Group description" which do not have corresponding columns within the folders. As I use both boxes, what do I do>" Nothing has changed!
quiero tener las opciones para descargar  versioes anteriores de windows 7 ultimate  o menos version ya que solo aparece las ultimas versiones
A few VPN Integration Questions:

1. What are the downsides to not integrating with VPN Logs? E.g. Would ATA become unaware of certain events, like impossible travel? Could omitting VPN integration present gaps in ML detection capabilities today or in future updates?
2. If I already forward VPN logs to SIEM, can I forward them from SIEM to ATA, instead of relying on RADIUS accounting?
3. What happens if ATA can?t reach ti.ata.azure.com because it is blocked? Can ATA detect anomalies based on IPs, and show the IPs in user reports instead of locations? Or would it break the entire function?
I am needing to set a few sites for the "Allow" list within Site Permissions/Automatic Downloads within Microsoft Edge (v.81.0.416.72 64-bit).
Right now, am unable to find anything with Group Policy or the registry to get these listed automatically for users, and would like to prevent having to make each and every user do this for themselves.
Any thoughts/suggestions greatly appreciated!

Bryan M. Bolin
I have tried updating to Windows 10 using the windows 10 setup found on https://www.microsoft.com/en-us/software-download/windows10, but I keep getting the error code 0x190011f when it is getting ready to install Windows 10. I have Kaspersky
security and I have disabled that while updating, and I have removed all items in USB ports. I also did a cleanup of my computer, as well as trying to start the download in the command prompt using wuauclt.exe/updatenow and nothing seems to be working.
https://modern.ie/ used to supple several virtual machine downloads to cater for previous Internet Explorer versions, 7-10. They seem to have all been removed and no longer available as the only option is for a single
IE11 and Edge VM.
Here is a GitHub repo https://github.com/magnetikonline/linux-microsoft-ie-virtual-machines which has all the previous download URLs and there is an open issue https://github.com/magnetikonline/linux-microsoft-ie-virtual-machines/issues/14 indicating
that the VMs are non-existent anymore.
I need to download these VMs to test work for clients. I know it's old tech but it's essential for me.
Any idea where to get them from, or where an old archive download may be?
need help i cant update this for windows 7:
Security Intelligence Update for Windows Defender Antivirus - KB915597 (Version 1.315.271.0)
Installation date: ?5/?11/?2020 9:44 PM
Installation status: Failed
Error details: Code 800B0109
Update type: Important
Install this update to revise the files that are used to detect viruses, spyware, and other potentially unwanted software. Once you have installed this item, it cannot be removed.

Windows Malicious Software Removal Tool x64 - March 2020 (KB890830)
Installation date: ?5/?12/?20204:38 PM
Installation status: Failed
Error details: Code 800B0109
Update type: Important
After the download, this tool runs one time to check your computer for infection by specific, prevalent malicious software (including Blaster, Sasser, and Mydoom) and helps remove any infection that is found. If an infection is found, the tool will display
a status report the next time that you start your computer. A new version of the tool will be offered every month. If you want to manually run the tool on your computer, you can download a copy from the Microsoft Download Center, or you can run an online version
from microsoft.com. This tool is not a replacement for an antivirus product. To help protect your computer, you should use an antivirus product.
We have a user who often of a morning when he goes to login the computer doesn't allow him, stating incorrect details.
if he reboots the computer, and tries to login again it works without a problem
here are logs from one of the domain controllers
can someone shed some light please
01/22 06:45:34 [MAILSLOT] [1272] Received ping from TAC8469((null)) domain.com.au. t2361  on UDP LDAP
01/22 06:45:34 [MAILSLOT] [1272] DOMAIN: Ping response 'Sam User Unknown Ex' t2361  to
\\TAC8469 Site: TOMAGO001 on UDP LDAP
01/22 06:45:35 [MAILSLOT] [84] TAC_DOMAIN: Received 'Sam Logon' message on \Device\NetBT_Tcpip_{05F62CA1-D87F-48FE-9D92-E500BB3BF6B8}
01/22 06:45:35 [MAILSLOT] [84] TAC_DOMAIN: Ping response 'Sam User Unknown Ex'
01/22 06:45:41 [MAILSLOT] [84] TAC_DOMAIN: Received 'Sam Logon' message on \Device\NetBT_Tcpip_{05F62CA1-D87F-48FE-9D92-E500BB3BF6B8}
01/22 06:45:41 [MAILSLOT] [84] TAC_DOMAIN: Ping response 'Sam User Unknown Ex' t2361  to
\\TAC8469 Site: TOMAGO001 on \Device\NetBT_Tcpip_{05F62CA1-D87F-48FE-9D92-E500BB3BF6B8}
I'm trying to make an update in my computer.  However got this message.  Error 80092004. 
What can I do ? Thanks for your help.

In Spanish:  Estoy haciendo una actualizacion .  Tengo este error.  Que puedo hacer ?  Gracias.
Every time I connect my system to laptop laptop charger command prompt pops-up with this message "Windows can not find C:\Users\Admin AppData\Roaming\Microsoft\Windows\dugcijj\tagdi crj.exe" with a OK button or close the program but it pop-up
Hi, My windows 7 SP1 fail to update from IE8 to IE11.
Anyone can help? What log I need to collect in order to help me?
Bill Tan
I am trying to block download from Teams application installed on a  desktop using the procedure mentioned in the below link 

I created Azure AD conditional access policy with session to block download for teams application. It blocked on browser but on desktop applicaiton it didnt Is this an expected behaviour


some days ago, when analyzing another problem, i stumbled upon a fatal error in the CPU performance display in the Microsoft task manager. I wrote a little bit about this problem in the following post.


In summary: for me, the task manager as well as the resource monitor and the performance monitor do not show the correct CPU utilization.

Here is an example.

I start a test and the CPU display of core 0 climbs to 100% in Task Manager.

The Resource Monitor shows the same thing.

Only the performance monitor shows the correct load, but the display it "inconsistent".

The processor load is normally shown up to max. 100%, but my core 0 run according to the performance monitoring with up to 120%. ??

The Process Explorer shows the correct utilization of my core 0.

HWiNFO also shows the load correctly.

I suddenly had the following apprehension.
If you cannot correctly measure the utilization of a system, so it's not possible to control its performance properly. ??

So I immediately opened a support ticket at Microsoft by telephone and then described the problem accordingly by email.

A few hours later I received an email with the following text. "Dear Mr. Fuchs, your support case has been closed."

That can not be true. ?
Dear Microsoft, determining and displaying the CPU loa... Read more
There is a website (https://myworldhr.contoso.com) which should work in corporate network and public network.  https://myworldhr.contoso.com was part of the "Use the Enterprise Mode IE website list".
It is removed from "Use the Enterprise Mode IE website list" and group policy is applied in the user computer. But https://myworldhr.contoso.com still loads in Enterprise Mode and in IE8  mode. 
If I uncheck from Enterprise Mode and change the mode to IE11 then it works. 
How to find that how the website loads in Enterprise Mode and IE8 mode? Please help.

Regards, Boopathi
This morning I saw the latest Windows 7 updates on an old computer I have (A VM running in XCP-NG) to run an old version of Confluence Wiki but that's not really important.
After installing the updates and rebooting the VM is so slow that it looks frozen at times. I restarted it in safe mode to remove the updates but when I access the Windows Updates list from Programs and Features it shows "No updates installed."
Has anyone else seen something like this? I have backups of this VM so I'm working to restore from a backup and before you ask, I know - I have to update that Win7 machine to a more recent version of Windows.
Thanks in advance and best regards.
I set proxy configuration with PAC file in system setting.
Every other browser use the setting but only IE is not using PAC.
Anyone has same issue?
OS is server 2019 IE 11 and some win 10 devices have same issue.
I am trying to get BGInfo to use custom fields with the WMI Query to hide the network adapters not in use from showing "none" many times on the screen.
I have used the following query:
IP  Address
WMI Class: Win32_NetworkAdapterConfiguration   Class Property: IPAddress
WMI Query:
SELECT IPAddress FROM Win32_NetworkAdapterConfiguration WHERE IPEnabled=True AND NOT description LIKE "%VMware%" AND NOT description LIKE "%Virtual%"
After using this custom field and deleting the default IP Address field, the results show properly during the current session.  After rebooting the computer, the IP Address field shows correctly the IP Address for 5 seconds then changes to <IP Address>
after the network card initializes or something else happens to it.
Would someone please help to offer advice how to make this change permanent so the IP address displays properly.
 am nable to Microsoft Visual C++ 14 (2017) and

Universal C runtime update KB3118401 also fails

Please help me to install Microsoft Visual C++ 2015-2019 Redistributable Setup on windows 7 x64

Heres the log (failed setup):-

[0604:0848][2020-05-07T21:54:13]i001: Burn v3.10.4.4718, Windows v6.1 (Build 7600: Service Pack 0), path: C:\Users\MUHAMM~1\AppData\Local\Temp\{C080DFCF-9919-4AA1-96EA-3EDE388B2291}\.cr\vc_redist.x64.exe

[0604:0848][2020-05-07T21:54:13]i009: Command Line: '"-burn.clean.room=C:\Users\Muhammad Tahir Khan\Downloads\New folder (2)\vc_redist.x64.exe" -burn.filehandle.attached=172 -burn.filehandle.self=180'
[0604:0848][2020-05-07T21:54:13]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\Muhammad Tahir Khan\Downloads\New folder (2)\vc_redist.x64.exe'
[0604:0848][2020-05-07T21:54:13]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\Muhammad Tahir Khan\Downloads\New folder (2)\'
[0604:0848][2020-05-07T21:54:13]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\MUHAMM~1\AppData\Local\Temp\dd_vcredist_amd64_20200507215413.log'
[0604:0848][2020-05-07T21:54:13]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.25.28508'
[0604:0848][2020-05-07T21:54:13]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corpor... Read more
I am unable to Microsoft Visual C++ 14 (2017) and

Universal C runtime update KB3118401 also fails

Please help me to install Microsoft Visual C++ 2015-2019 Redistributable Setup on windows 7 x64

Heres the log (failed setup):-

[0604:0848][2020-05-07T21:54:13]i001: Burn v3.10.4.4718, Windows v6.1 (Build 7600: Service Pack 0), path: C:\Users\MUHAMM~1\AppData\Local\Temp\{C080DFCF-9919-4AA1-96EA-3EDE388B2291}\.cr\vc_redist.x64.exe
[0604:0848][2020-05-07T21:54:13]i009: Command Line: '"-burn.clean.room=C:\Users\Muhammad Tahir Khan\Downloads\New folder (2)\vc_redist.x64.exe" -burn.filehandle.attached=172 -burn.filehandle.self=180'
[0604:0848][2020-05-07T21:54:13]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\Muhammad Tahir Khan\Downloads\New folder (2)\vc_redist.x64.exe'
[0604:0848][2020-05-07T21:54:13]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\Muhammad Tahir Khan\Downloads\New folder (2)\'
[0604:0848][2020-05-07T21:54:13]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\MUHAMM~1\AppData\Local\Temp\dd_vcredist_amd64_20200507215413.log'
[0604:0848][2020-05-07T21:54:13]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.25.28508'
[0604:0848][2020-05-07T21:54:13]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation... Read more
I am using asus zenbook15 which has facial recognition but my windows hello is stating that there is no facial recognition available on my pc.
Please guide me to solve the issue,

thanks in advance

Hello Team,
Currently we have one Group policy which is block Thunderbolt docking station due to security reason. More recent versions of Windows 10 (1809 we are currently using) have a built-in ?Kernel
DMA Protection for Thunderbolt? 3? that should be used instead. To do that we need to enable Kernel DMA Protection , how we can enable it?

In BIOS VT already enabled and also enable the Windows Defender Core isolation. Kindly help to mitigate the issue.

Amit Laha
Thanks to your support re https://social.technet.microsoft.com/Forums/windows/en-US/dc480a44-d695-4daa-9bba-1c1d80e9caa3/where-to-download-bootable-windows-7-repair-for-usb?forum=w7itprogeneral&prof=required, I've managed to create a Windows 7 64bit
bootable on a USB.
The supposed logon screen came up with distorted graphic before. Now having run the auto repair with the newly created USB, the supposed logon screen shows only some regular graphic pattern and the logon dialog is still nowhere to be seen. I've tried entering
username and password presuming the fields were there but not visible. The computer would just reset when I hit Enter after entering the password.

I wonder how I can start repair at the command prompt. Any help will be appreciated. I've got no image to restore with or recovery point to restore from.
Thanks a lot.