A Wikibookian suggests that Windows: An Overview be merged into this book or chapter. Discuss whether or not this merger should happen on the discussion page.
Introduction [ edit | edit source ]
Contents
This book is intended for intermediate readers.
This book aims to be a comprehensive source for any developer who is interested in programming for the Windows platform. It starts at the lowest level, with the Win32 API (C and VB Classic) and then goes over to MFC (C++). Beyond these basic sections, it will cover COM, and the creation of ActiveX modules from a variety of languages. Next, it delves into the Windows DDK, and talk about programming device drivers for Windows platform. Finally, it moves on to the highest-level programming tasks, including shell extensions, shell scripting, and finally ASP and WSH.
Other topics that will be discussed here are: Writing screen-savers, creating HTML help modules, and compiling DLL files.
This book will focus on topics that are specific to Windows, and avoids general programming topics. For related material the reader is encouraged to look into Wikibooks other works, they will cover general programming, ASM, C, C++, Visual Basic and Visual Basic.NET and other languages and concepts in greater detail. Appropriate links to these books are provided.
The reader is assumed to have a previous knowledge of the programming languages involved. Specifically, prior knowledge in C, C++, and Visual Basic is required for certain sections of this book.
Developer software category page Microsoft Download Center
Get Visual Studio 2019
Download Visual Studio 2019, the productive, modern and innovative IDE
Surface Pro 6
Stand out from the ordinary
Popular Developer software Downloads
Microsoft .NET Framework 3.5 Service pack 1 (Full Package) Microsoft .NET Framework 3.5 Service pack 1 (Full Package) —>
Microsoft .NET Framework 3.5 service pack 1 is a cumulative update that contains many new features building incrementally upon .NET Framework 2.0, 3.0, 3.5, and includes .NET Framework 2.0 service pack 2 and .NET Framework 3.0 service pack 2 cumulative updates.
Update for Microsoft Silverlight (KB4481252) Update for Microsoft Silverlight (KB4481252) —>
This update to Silverlight includes fixes outlined in update KB4481252.
Visual C++ Redistributable for Visual Studio 2015 Visual C++ Redistributable for Visual Studio 2015 —>
The Visual C++ Redistributable Packages install run-time components that are required to run C++ applications built using Visual Studio 2015.
Microsoft .NET Framework 4.5.2 (Offline Installer) for Windows Vista SP2, Windows 7 SP1, Windows 8, Windows 8.1, Windows Server 2008 SP2, Windows Server 2008 R2 SP1, Windows Server 2012 and Windows Server 2012 R2 Microsoft .NET Framework 4.5.2 (Offline Installer) for Windows Vista SP2, Windows 7 SP1, Windows 8, Windows 8.1, Windows Server 2008 SP2, Windows Server 2008 R2 SP1, Windows Server 2012 and Windows Server 2012 R2 —>
The Microsoft .NET Framework 4.5.2 is a highly compatible, in-place update to the Microsoft .NET Framework 4, Microsoft .NET Framework 4.5 and Microsoft .NET Framework 4.5.1. The offline package can be used in situations where the web installer cannot be used due to lack of internet connectivity.
Visual C++ Redistributable for Visual Studio 2012 Update 4 Visual C++ Redistributable for Visual Studio 2012 Update 4 —>
The Visual C++ Redistributable Packages install runtime components that are required to run C++ applications built with Visual Studio 2012.
Visual C++ Redistributable Packages for Visual Studio 2013 Visual C++ Redistributable Packages for Visual Studio 2013 —>
The Visual C++ Redistributable Packages install run-time components that are required to run C++ applications that are built by using Visual Studio 2013. For an updated version of these redistributable packages, see KB 3138367.
Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package MFC Security Update Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package MFC Security Update —>
A security issue has been identified leading to a vulnerability in MFC applications that are built with Visual Studio 2010 and ship the Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package.
Microsoft .NET Framework 4.5 Microsoft .NET Framework 4.5 —>
.NET Framework 4.5 is a highly compatible, in-place update to .NET Framework 4.
Microsoft .NET Framework 4 (Standalone Installer) Microsoft .NET Framework 4 (Standalone Installer) —>
The Microsoft .NET Framework 4 redistributable package installs the .NET Framework runtime and associated files that are required to run and develop applications to target the .NET Framework 4.
Microsoft Visual Studio and .NET Framework Log Collection Tool Microsoft Visual Studio and .NET Framework Log Collection Tool —>
Collect information from Microsoft Visual Studio and .NET Framework installations.
PsTools
By Mark Russinovich
Published: March 23, 2021
Download PsTools Suite(3.5 MB)
Introduction
The Windows NT and Windows 2000 Resource Kits come with a number of command-line tools that help you administer your Windows NT/2K systems. Over time, I’ve grown a collection of similar tools, including some not included in the Resource Kits. What sets these tools apart is that they all allow you to manage remote systems as well as the local one. The first tool in the suite was PsList, a tool that lets you view detailed information about processes, and the suite is continually growing. The «Ps» prefix in PsList relates to the fact that the standard UNIX process listing command-line tool is named «ps», so I’ve adopted this prefix for all the tools in order to tie them together into a suite of tools named PsTools.
Some anti-virus scanners report that one or more of the tools are infected with a «remote admin» virus. None of the PsTools contain viruses, but they have been used by viruses, which is why they trigger virus notifications.
The tools included in the PsTools suite, which are downloadable as a package, are:
PsExec — execute processes remotely
PsFile — shows files opened remotely
PsGetSid — display the SID of a computer or a user
PsInfo — list information about a system
PsPing — measure network performance
PsKill — kill processes by name or process ID
PsList — list detailed information about processes
PsLoggedOn — see who’s logged on locally and via resource sharing (full source is included)
PsLogList — dump event log records
PsPasswd — changes account passwords
PsService — view and control services
PsShutdown — shuts down and optionally reboots a computer
PsSuspend — suspends processes
PsUptime — shows you how long a system has been running since its last reboot (PsUptime’s functionality has been incorporated into PsInfo
The PsTools download package includes an HTML help file with complete usage information for all the tools.
Download PsTools Suite(3.5 MB)
Runs on:
Client: Windows Vista and higher
Server: Windows Server 2008 and higher
Nano Server: 2016 and higher
Installation
None of the tools requires any special installation. You don’t even need to install any client software on the remote computers at which you target them. Run them by typing their name and any command-line options you want. To show complete usage information, specify the «-? » command-line option. If you have questions or problems, please visit the Sysinternals PsTools Forum.
Related Links
Introduction to the PsTools: Wes Miller gives a high-level overview of the Sysinternals PsTools in the March column of his TechNet Magazine column.
Windows Programming
A Wikibookian suggests that Windows: An Overview be merged into this book or chapter. Discuss whether or not this merger should happen on the discussion page.
Introduction [ edit | edit source ]
Contents
This book is intended for intermediate readers.
This book aims to be a comprehensive source for any developer who is interested in programming for the Windows platform. It starts at the lowest level, with the Win32 API (C and VB Classic) and then goes over to MFC (C++). Beyond these basic sections, it will cover COM, and the creation of ActiveX modules from a variety of languages. Next, it delves into the Windows DDK, and talk about programming device drivers for Windows platform. Finally, it moves on to the highest-level programming tasks, including shell extensions, shell scripting, and finally ASP and WSH.
Other topics that will be discussed here are: Writing screen-savers, creating HTML help modules, and compiling DLL files.
This book will focus on topics that are specific to Windows, and avoids general programming topics. For related material the reader is encouraged to look into Wikibooks other works, they will cover general programming, ASM, C, C++, Visual Basic and Visual Basic.NET and other languages and concepts in greater detail. Appropriate links to these books are provided.
The reader is assumed to have a previous knowledge of the programming languages involved. Specifically, prior knowledge in C, C++, and Visual Basic is required for certain sections of this book.
Tools Included in Debugging Tools for Windows
Debugging Tools for Windows includes several tools in addition to the debugging engine and the Debugging Environments. The tools are in the installation directory of Debugging Tools for Windows.
DumpChk Validate a memory dump file.
GFlags Control registry keys and other settings.
Kill Terminate a process.
Logger and LogViewer Record and display function calls and other actions of a program.
PLMDebug Use the Windows debugger to debug Windows app, which run under Process Lifecycle Management (PLM). With PLMDebug, you can take manual control of suspending, resuming, and terminating a Windows app.
Remote Tool Remotely control any console program, including KD, CDB, and NTSD. See Remote Debugging Through Remote.exe.
TList List all running processes.
UMDH Analyze heap allocations.
USBView Display USB host controllers and connected devices.
DbgRpc (Dbgrpc.exe) Display Microsoft Remote Procedure Call (RPC) state information. See RPC Debugging and Using the DbgRpc Tool.
KDbgCtrl (Kernel Debugging Control, Kdbgctrl.exe) Control and configure the kernel debugging connection. See Using KDbgCtrl.
SrcSrv A source server that can be used to deliver source files while debugging.
SymSrv A symbol server that the debugger can use to connect to a symbol store.
SymProxy Create a single HTTP symbol server on your network that all your debuggers can point to. This has the benefit of pointing to multiple symbol servers (both internal and external) with a single symbol path, handling all authentication, and increasing performance via symbol caching. Symproxy.dll is in the SymProxy folder in the installation directory.
SymChk Compare executable files to symbol files to verify that the correct symbols are available.
AgeStore Removes old entries in the downstream store of a symbol server or a source server.
DBH Display information about the contents of a symbol file.
PDBCopy Remove private symbol information from a symbol file, and control which public symbols are included in the file.
DbgSrv A process server used for remote debugging. See Process Servers (User Mode).
KdSrv A KD connection server used for remote debugging.See KD Connection Servers (Kernel Mode).
DbEngPrx A repeater (small proxy server) used for remote debugging. See Repeaters.
Breakin (Breakin.exe) Causes a user-mode break to occur in a process. For help, open a Command Prompt window, navigate to the installation directory, and enter breakin /?.
List (File List Utility) (List.exe) For help, open a Command Prompt window, navigate to the installation directory, and enter list /?.
RTList (Remote Task List Viewer) (Rtlist.exe) List running processes via a DbgSrv process server. For help, open a Command Prompt window, navigate to the installation directory, and enter rtlist /?.
Installation Directory
The default installation directory for 64 bit OS installs for the debugging tools is C:\Program Files (x86)\Windows Kits\10\Debuggers\. If you have a 32-bit OS, you can find the Windows Kits folder under C:\Program Files. To determine if you should use the 32 bit or 64 bit tools, see Choosing the 32-Bit or 64-Bit Debugging Tools.