Interview Questions

Get ready for your next interview with our comprehensive question library

Windows Administration Interview Questions

Filter by Difficulty

1.

What is the difference between a workgroup and a domain?

beginner

A workgroup is a peer-to-peer network where each computer manages its own security and user accounts locally. There's no centralized authentication, and each machine maintains its own user database. Workgroups are suitable for small networks (typically under 20 computers).

A domain is a centralized network where a domain controller manages authentication, security policies, and user accounts. All computers in the domain trust the domain controller for authentication. Domains provide centralized management, better security, and scalability for larger organizations.

Key differences:

  • Authentication: Workgroup uses local accounts; Domain uses centralized authentication
  • Management: Workgroup requires individual computer management; Domain allows centralized management
  • Security: Domain provides better security through centralized policies
  • Scalability: Workgroups are limited to small networks; Domains can scale to thousands of computers
2.

What are the different Windows Server roles and their purposes?

beginner

Common Windows Server roles include:

  • Active Directory Domain Services (AD DS): Provides directory services and domain authentication
  • DNS Server: Resolves domain names to IP addresses
  • DHCP Server: Automatically assigns IP addresses to network clients
  • File and Storage Services: Manages file shares and storage
  • IIS (Web Server): Hosts websites and web applications
  • Print and Document Services: Manages network printers
  • Remote Desktop Services: Provides remote access to applications and desktops
  • Hyper-V: Provides virtualization platform
  • Windows Deployment Services (WDS): Deploys Windows operating systems over the network

Each role can be installed and configured based on organizational needs.

3.

What is the difference between NTFS and FAT32 file systems?

beginner

NTFS (New Technology File System):

  • Supports large files (up to 16 TB) and volumes (up to 256 TB)
  • Provides file-level security and permissions
  • Supports compression, encryption, and disk quotas
  • Has journaling capabilities for better reliability
  • Supports symbolic links and hard links

FAT32 (File Allocation Table 32):

  • Limited to 4 GB maximum file size
  • Maximum volume size of 32 GB (Windows formatting limitation)
  • No built-in security features
  • Compatible with multiple operating systems
  • Simpler structure, faster for small files

NTFS is preferred for Windows systems due to its advanced features and security capabilities.

4.

What is Active Directory and what are its main components?

beginner

Active Directory (AD) is Microsoft's directory service that stores information about network resources and enables administrators to manage them. It provides authentication and authorization services in Windows domains.

Main components:

  • Domain: A logical group of network objects (users, computers, groups)
  • Domain Controller (DC): A server that authenticates users and manages domain objects
  • Organizational Units (OUs): Containers used to organize objects within a domain
  • Forest: A collection of one or more domains that share a common schema
  • Tree: A collection of domains in a contiguous namespace
  • Global Catalog: A partial replica of all objects in the forest
  • Schema: Defines the structure and attributes of objects in AD
5.

What is PowerShell and how does it differ from Command Prompt?

beginner

PowerShell is a task automation and configuration management framework from Microsoft, consisting of a command-line shell and scripting language built on .NET Framework.

Key differences from Command Prompt:

PowerShell:

  • Object-oriented (works with .NET objects)
  • Extensive cmdlet library with consistent syntax
  • Advanced scripting capabilities
  • Built-in help system and tab completion
  • Can access .NET Framework and WMI
  • Supports aliases for common commands

Command Prompt:

  • Text-based input/output
  • Limited built-in commands
  • Basic scripting with batch files
  • Legacy tool dating back to DOS

Example: In PowerShell, Get-Process returns process objects with properties and methods. In CMD, tasklist returns text output that requires parsing.

6.

Explain PowerShell cmdlets and their syntax structure.

beginner

PowerShell cmdlets follow a consistent Verb-Noun syntax structure, making them intuitive and predictable.

Common verbs:

  • Get (retrieve information)
  • Set (modify properties)
  • New (create objects)
  • Remove (delete objects)
  • Start/Stop (control services/processes)

Syntax structure:

Verb-Noun -Parameter Value -Switch

Examples:

Get-Service -Name "Spooler"
Set-Location -Path "C:\Windows"
New-Item -ItemType Directory -Name "TestFolder"
Stop-Process -Name "notepad" -Force

Parameters: Modify cmdlet behavior
Switches: Boolean parameters (present or not)
Pipeline: Cmdlets can be chained using the pipe operator (|)

7.

What is User Account Control (UAC) and how does it work?

beginner

User Account Control (UAC) is a Windows security feature that helps prevent unauthorized changes to the system by requiring administrative approval for actions that could affect system security.

How UAC works:

  1. Standard user context: Users run with standard user privileges by default
  2. Elevation prompt: Administrative actions trigger an elevation prompt
  3. Admin approval mode: Even administrators run with standard privileges until elevation
  4. Secure desktop: Elevation prompts run on a secure desktop to prevent spoofing

UAC levels:

  • Always notify: Prompt for all administrative actions
  • Notify when apps try to make changes: Default setting, prompts for unknown applications
  • Notify when apps try to make changes (no dimming): Same as above but without secure desktop
  • Never notify: UAC disabled (not recommended)

Benefits: Reduces impact of malware, prevents accidental system changes, promotes principle of least privilege.

8.

Explain Windows Defender and its components.

beginner

Upgrade to Premium to see the answer

Upgrade to Premium
9.

What is DNS and how does it work in a Windows environment?

beginner

Upgrade to Premium to see the answer

Upgrade to Premium
10.

Explain DHCP and its key components.

beginner

Upgrade to Premium to see the answer

Upgrade to Premium
11.

What are Windows services and how do you manage them?

beginner

Upgrade to Premium to see the answer

Upgrade to Premium
12.

What is the Windows Registry and what are its main hives?

beginner

Upgrade to Premium to see the answer

Upgrade to Premium
13.

What are Windows Event Logs and how do you use them for troubleshooting?

beginner

Upgrade to Premium to see the answer

Upgrade to Premium
14.

What are the different backup types and when would you use each?

beginner

Upgrade to Premium to see the answer

Upgrade to Premium
15.

Explain the Windows boot process.

intermediate

Upgrade to Premium to see the answer

Upgrade to Premium
16.

Explain the difference between authentication and authorization in Active Directory.

intermediate

Upgrade to Premium to see the answer

Upgrade to Premium
17.

What are Group Policy Objects (GPOs) and how do they work?

intermediate

Upgrade to Premium to see the answer

Upgrade to Premium
18.

What is the Global Catalog and why is it important?

intermediate

Upgrade to Premium to see the answer

Upgrade to Premium
19.

Explain the different types of groups in Active Directory.

intermediate

Upgrade to Premium to see the answer

Upgrade to Premium
20.

How does Group Policy inheritance work?

intermediate

Upgrade to Premium to see the answer

Upgrade to Premium
Showing 1 to 20 of 50 results

Premium Plan

$10.00 /monthly
  • Access all premium content - interview questions, and other learning resources

  • We regularly update our features and content, to ensure you get the most relevant and updated premium content.

  • 1000 monthly credits

  • Cancel anytime