How To Find The Product Key Windows 10

0 views
Skip to first unread message

Jacinto Man

unread,
Aug 4, 2024, 11:55:42 AM8/4/24
to layfolgdershi
Hell'oI've just installed Visual Studio 2017 (enterprise).I opened my project whom I created in Visual Studio 2015. My project uses windows.h library but VS2017 cannot find this library. How to repair this?
I solved this issue by re-running the Visual Studio Installer and selecting the "Modify" button. Once presented with the Workloads screen I clicked on the "Individual Components" tab and selected all of the latest "Windows 10 SDK" Checkboxes(version 10.0.15063.0). My guess is that the entry for "Desktop C++ x86 and x64" is the one the actually fixes it but it is only speculation because none of those options were checked when I ran the installer and as you can see I checked all of them.
This happens when you have customized include/library paths in legacy projects. If you added your own additional paths in project properties, VisualStudio 2017 can't automatically figure out base paths when switching between platforms/toolsets - normally it automatically puts correct paths there, but if you added customizations, VS won't touch them.
This is legitimate problem which I ran into myself recently when migrating old project targeted for Windows XP into VS2017. None of the answers or comments listed/linked here so far are helpful. I have all legacy SDKs in VisualStudio 2017 installer, and none of that fixed VS not finding essential includes such as . In my case the project was using v120 toolset from VS2013, which is superseded by v140_xp in newer VS.
The problem occurs when you migrate your C++ project from a more updated visual studio version to a lesser one.To solve the issue simply go to your :Project's properties-->General-->SDK Version [and here unroll to show installed SDK versions so you downgrade to an available version Since the required one seems unavailable hence the error].Once one of the Available SDKs selected, Apply, and go back to your code, and everything gonna get fixed.
I've also installed Visual Studio 2017 (community) first with the default composition settings.I opened my project whom I created in Visual Studio 2015. My project uses windows.h library but VS2017 cannot find this library and other problems. At first I install the missing (SDK 10 ... etc.) components. Part of problems is gone, but windows.h still not found. The problem was solved by completely uninstalling VS2017 and then installing with all the options at once.
In computing, find is a command in the command-line interpreters (shells) of a number of operating systems. It is used to search for a specific text string in a file or files. The command sends the specified lines to the standard output device.[1][2]
The find command is a filter to find lines in the input data stream that contain or don't contain a specified string and send these to the output data stream. It does not support wildcard characters.[3]
The command is available in DOS,[4] Digital Research FlexOS,[5] IBM/Toshiba 4690 OS,[6] IBM OS/2,[7] Microsoft Windows,[8] and ReactOS.[9] On MS-DOS, the command is available in versions 2 and later.[10] DR DOS 6.0[11] and Datalight ROM-DOS[12] include an implementation of the find command. The FreeDOS version was developed by Jim Hall and is licensed under the GPL.[13]
If anyone wants a nice easy to use tool for querying AD you might want to take a look at my AD reporting tool AD Info It already has a predefined report for all computers running Windows 7. If you want to try it out you can find more info here: -my-active-directory-reporting-tool
"Windows cannot find the Microsoft Software License Terms. Make sure the installation sources are valid and restart the installation" while I install windows server 2016 on HPE Proliant ML110 Gen9 with Intelligent Provisioning
Issue was once the iso would actually read (you can't do assisted install or it will fail) it would not read the drives. Having this driver allowed it to see the drives and install on them. Hope this helps!
I need to find out what Windows and Service Pack system is currently running. All I have is ftp access, it means I cannot run any the software.
Is there a way to determine what version of Windows, Service Pack, and what Language is installed on a system?
Based on -do-i-tell-what-version-and-edition-of-windows-is-on-the-filesystem you can find the Windows Version and Service pack in C:\Windows\System32\license.rtf for Windows 7. For Windows XP the information is in C:\Windows\System32\eula.txt. For Windows 10 licenses.rtf does not contain the version. Instead it contains the EULA code, which you can use to find the version online.
The current language pack is a little more tricky. You can find what appears to be the currently available languages in C:\Windows\System32. The folders are in the format of xx-XX (xx = language, XX = country). For example en-US is English-United States, es-MX is Spanish-Mexico.
To test this I switched my Windows 7 SP1 and Windows 10 Pro machines over to es-MX and, once I rebooted the computer, found that the es-MX folder was created in C:\Windows. Unfortunately the en-US was still there making the current language ambiguous. However you should be able to use the combination of active packs and the names of Documents, Photos, Music ect. to get the current language.
One thing that annoys me no end about Windows is the old sharing violation error. Often you can't identify what's holding it open. Usually it's just an editor or explorer just pointing to a relevant directory but sometimes I've had to resort to rebooting my machine.
I've had success with Sysinternals Process Explorer. With this, you can search to find what process(es) have a file open, and you can use it to close the handle(s) if you want. Of course, it is safer to close the whole process. Exercise caution and judgement.
Just be very careful with closing handles; it's even more dangerous than you'd think, because of handle recycling - if you close the file handle, and the program opens something else, that original file handle you closed may be reused for that "something else." And now guess what happens if the program continues, thinking it is working on the file (whose handle you closed), when in fact that file handle is now pointing to something else.
Suppose a search index service has a file open for indexing but hasgotten stuck temporarily and you want to delete the file, so you(unwisely) force the handle closed. The search index service opens itslog file in order to record some information, and the handle to thedeleted file is recycled as the handle to the log file. The stuckoperation finally completes, and the search index service finally getsaround to closing that handle it had open, but it ends up unwittinglyclosing the log file handle.
The search index service opens anotherfile, say a configuration file for writing so it can update somepersistent state. The handle for the log file gets recycled as thehandle for the configuration file. The search index service wants tolog some information, so it writes to its log file. Unfortunately, thelog file handle was closed and the handle reused for its configurationfile. The logged information goes into the configuration file,corrupting it.
Meanwhile, another handle you forced closed was reusedas a mutex handle, which is used to help prevent data from beingcorrupted. When the original file handle is closed, the mutex handleis closed and the protections against data corruption are lost. Thelonger the service runs, the more corrupted its indexes become.Eventually, somebody notices the index is returning incorrect results.And when you try to restart the service, it fails because itsconfiguration files have been corrupted.
You report the problem to thecompany that makes the search index service and they determine thatthe index has been corrupted, the log file has mysteriously stoppedlogging, and the configuration file was overwritten with garbage. Somepoor technician is assigned the hopeless task of figuring out why theservice corrupts its indexes and configuration files, unaware that thesource of the corruption is that you forced a handle closed.
Just to clarify, this is more likely to be a result of misbehaving 3rd party apps not using the CreateFile API call correctly than it is to be anything in Windows itself. Perhaps it's a consequence of the design of CreateFile, but done is done and we can't go back.
Now, if Explorer seems to be the culprit here, it may be the case that that's just on the surface, and that the true culprit is something that installs a shell extension that opens all files in a folder for it's own purposes but is either too gung-ho in doing so, or that doesn't clean up properly after itself. Symantec AV is something I've seen doing this before, and I wouldn't be surprised if other AV programs were also to blame. Source control plug-ins may also be at fault.
So not really an answer, but just some advice to not always blame Windows for what may be a badly written 3rd party program (something that can also happen on any other OS which has implicit file locking, but any unix based OS has shared access by default).
Otherwise, kill the desktop Explorer process and do what you want while it's gone. First start a copy of cmd.exe (you need a UI to do your intended cleanup). Make sure there are no non-desktop Explorers running. Then kill the last Explorer with, e.g., Task Manager. Do what you want in the command prompt. Finally, run Explorer from the command prompt, and it will become the desktop.
The above upvoted answers cover situations where a program process is holding the file handle open, which (fortunately) is most of the time - however in some cases (as is occurring on this system at the moment), the system itself holds a file handle open.
You can identify this situation by following the instructions to find the file handle holding process with process explorer above, and noting that the process name is listed as 'system', or by following the the instructions using resource monitor and noting that no image is shown having a filehandle open on your file of interest (Although obviously something does as you can't edit/delete etc the file).
3a8082e126
Reply all
Reply to author
Forward
0 new messages