Questions tagged [windows-nt]

Windows NT is a family of modern, commercial, portable, shared-source, hybrid-kernel operating systems developed by Microsoft.

Windows NT is a family of commercial operating systems developed by Microsoft based on the Windows NT kernel.

The NT kernel is used in both client products, such as Windows 2000 Professional, Windows XP, Windows 7, and Windows 8, as well as server products, such as Windows Server 2003, Windows Server 2008 R2, and Windows Server 2012. The NT kernel is also occasionally found in embedded products as Windows Embedded, or more recently, Windows Phone 8. The initial public release of Windows NT was on Windows NT 3.1 in 1993.

Current Microsoft Windows operating system families based on Windows NT include Windows 8, Windows Phone 8, and Windows Server 2012.

The Windows NT kernel is most often associated with the x86 and x86_64 architectures but has also historically run on architectures such as MIPS, PowerPC, Itanium (last supported on Windows Server 2008), and Alpha. Modern-day versions Windows NT exist for the x86, x86_64, and ARM architectures.

While much of the Windows NT operating system family is closed-source, some of it (including much of the kernel) is available under shared-source licensing (including academic/research use, as well as technical troubleshooting use).

Windows NT is structured differently than most Unix operating systems; some of it is inspired by the architecture of OpenVMS, while many other aspects of Windows NT are inspired by the requirements of backward compatibility.

The Windows Internals series, published by Microsoft Press, is an excellent reference to the architecture of modern Windows NT.

While the most visible aspect of Windows NT is the Win32 subsystem, which exposes the Windows API, other subsystems can be deployed on the Windows NT kernel as well, including a POSIX subsystem, commonly referred to as Subsystem for Unix Applications or Services for Unix. Historically, console-based OS/2 applications were also supported as another subsystem running on the Windows NT kernel.

See also:

70 questions
52
votes
2 answers

Writing a Windows NT subsystem

I'd like to try writing my own minimal NT subsystem on Windows 7 for purely educational purposes -- something like a bare-bones equivalent of the posix.exe in Microsoft's Subsystem for Unix-based Applications. But I can't seem to find any public…
mshroyer
  • 1,928
  • 17
  • 14
21
votes
5 answers

Build for Windows NT 4.0 using Visual Studio 2005?

An MFC application that I'm trying to migrate uses afxext.h, which causes _AFXDLL to get set, which causes this error if I set /MT: Please use the /MD switch for _AFXDLL builds My research to date indicates that it is impossible to build an…
Isaac Moses
  • 1,589
  • 6
  • 26
  • 44
12
votes
1 answer

Are there any up-to-date books or websites on the Windows NT Native API?

NT has a mostly undocumented API, called the "Native API", upon which the common subsystems (i.e. the Windows API, OS/2 API, and POSIX (usually called "Interix" nowadays) subsystems) are implemented. Several books and websites exist which attempt to…
Billy ONeal
  • 104,103
  • 58
  • 317
  • 552
9
votes
9 answers

Authenticating to a SQL Server instance as a Windows User via JDBC

I'm having to support multiple database types for my tenant-enabled web application. Among others, I have successfully supported Microsoft's SQL Server, by using the net.sourceforge.jtds.jdbc.Driver class with a connection String like…
Kilian Foth
  • 13,904
  • 5
  • 39
  • 57
8
votes
1 answer

Why did Windows NT move away from the microkernel?

I'm told, that Windows NT was first designed to implement the microkernel architecture, but moved away to hybrid kernel. What caused the change? I'm having trouble trying to find any info about this.
Arek Krawczyk
  • 431
  • 5
  • 11
8
votes
4 answers

In C++/Windows how do I get the network name of the computer I'm on?

In a C++ Windows (XP and NT, if it makes a difference) application I'm working on, I need to get the network name associated with the computer the code is executing on, so that I can convert local filenames from C:\filename.ext to…
Isaac Moses
  • 1,589
  • 6
  • 26
  • 44
7
votes
1 answer

How to interpret exception codes shown in WinDbg?

I am just debugging a Windows application which is crashing. After starting the app, attaching to it with WinDbg, and then letting it crash, the following appeared in the WinDbg command window: (119c.1794): Unknown exception - code 0000071a (first…
Alex D
  • 29,755
  • 7
  • 80
  • 126
6
votes
2 answers

How do debuggers bypass Image File Execution Options when launching their debugee?

I'm doing some poking around in Windows internals for my general edification, and I'm trying to understand the mechanism behind Image File Execution Options. Specifically, I've set a Debugger entry for calc.exe, with…
Reid Rankin
  • 1,078
  • 8
  • 26
6
votes
1 answer

Does minimizing a window on a modern version of Windows still move it to coordinates (-32000, -32000)?

According to this blog entry by Raymond Chen, Windows NT "minimized" windows by moving them to the coordinates (-32000, -32000), and, I got the impression from reading it that this was the case in the early versions of Windows NT (3.x, 4...). In…
Govind Parmar
  • 20,656
  • 7
  • 53
  • 85
6
votes
0 answers

How to determine a Windows system's maximum COM port number?

I have a system which has some devices with which it communicates through virtual COM ports. With time, the COM port numbers change. I made some code that will search for the new COM port numbers for these devices and remember them. This works…
Joanis
  • 1,669
  • 3
  • 20
  • 32
5
votes
5 answers

npm ERR! Windows_NT 10.0.10586

I was trying to do environment setup for Angular2 and for that I am getting below mentioned error while using command : npm install I am having Node versions : Node version is v6.7.0, npm version is 3.10.3 Is there any solution for the same?
Nirav Shah
  • 2,064
  • 5
  • 24
  • 34
5
votes
2 answers

nt!KeWaitForSingleObject without Args

I'm currently trying to debug a system deadlock and I'm having a hard time understanding this. Child-SP RetAddr : Args to Child : Call Site fffff880`035cb760…
mitchellJ
  • 734
  • 3
  • 9
  • 32
5
votes
2 answers

Use Windows authentication as login credentials for intranet applications

I'm working on an intranet web application in PHP. Im trying to use Windows NT login credentials to logon to the application. The trouble im having here is how do i get the remote users windows username? I want to obtain the username and then check…
Naveen
  • 687
  • 3
  • 12
  • 24
5
votes
1 answer

Have I found a Windows bug?

Working with "C:\Program Files (x86)" I ran into a strange issue with a program located somewhere below that path. I reproduced the behaviour with a test program. int _tmain(int argc, _TCHAR* argv[]) { wprintf(L"%d\n", argc); for (int i…
Andrew J. Brehm
  • 4,448
  • 8
  • 45
  • 70
4
votes
3 answers

How do commands and programs communicate with the Window OS

How do programs made for windows interact with, or issue commands to, the kernel of Windows NT? And how does the kernel return any data?
Arcym
  • 500
  • 4
  • 13
1
2 3 4 5