From 00c4c8475021590ec78bb08ebbcc58cdc6421439 Mon Sep 17 00:00:00 2001 From: Keith Casko Date: Fri, 23 Oct 2026 05:20:17 -0400 Subject: [PATCH] Carry industrial portfolio styling through Windows Server lab --- css/lab-pages.css | 33 ++++ homelab.html | 430 +++++++++++++++++++++------------------------- 2 files changed, 232 insertions(+), 231 deletions(-) create mode 100644 css/lab-pages.css diff --git a/css/lab-pages.css b/css/lab-pages.css new file mode 100644 index 0000000..cfe8012 --- /dev/null +++ b/css/lab-pages.css @@ -0,0 +1,33 @@ +/* Detail pages share the approved homepage materials and typography. */ +.homelab-page{--navy-2:#eaf4ff;--steel:#0096ff;--steel-dark:#47adff;--rule:#304c66;--rule-soft:#17334b;--muted-2:#aac4d9;background:#02070d;color:#eaf4ff} +.homelab-page .container{width:100%;max-width:none;margin:0;padding:0} +.homelab-page main>section{padding:32px;margin:0 0 10px} +.homelab-page .lab-hero{padding:10px 0;background:none;border:0;box-shadow:none;gap:30px} +.homelab-page .lab-hero h1{font-family:var(--display);font-size:clamp(26px,3.4vw,45px);line-height:1.3;color:var(--text);max-width:1000px;text-shadow:0 0 18px #0096ff40} +.homelab-page .lab-hero-text p{font-size:20px;line-height:1.5;max-width:1100px} +.homelab-page .lab-hero .eyebrow{font:13px var(--mono);margin-bottom:20px} +.homelab-page .section-head{border-bottom:1px solid var(--edge);padding:0 0 16px;gap:20px;align-items:center;margin-bottom:24px} +.homelab-page .section-head:after{display:none} +.homelab-page .section-head h2{font-size:27px;color:var(--bright);text-transform:uppercase} +.homelab-page .section-head .subtitle{color:var(--muted);font:12px/1.5 var(--mono)} +.homelab-page .lab-panel{background:linear-gradient(135deg,#092237,#04121c 65%);border:1px solid var(--edge);border-top:2px solid var(--blue);box-shadow:inset 0 1px 0 #adcde520;padding:24px} +.homelab-page .lab-panel h3{font-size:24px;color:var(--bright)} +.homelab-page .lab-panel h4{font:14px var(--mono);color:var(--bright)} +.homelab-page .lab-panel p,.homelab-page .lab-panel li{font-size:18px;line-height:1.5;color:var(--muted)} +.homelab-page .lab-tags span{font:12px var(--mono);background:#05243b;color:var(--bright);border-color:#216898;padding:8px 12px} +.homelab-page .lab-hero-figure img{background:#06111c;border-color:var(--edge)} +.homelab-page .lab-hero-figure figcaption{font:12px/1.6 var(--mono);color:var(--muted)} +.homelab-page .lab-code,.homelab-page .lab-tree{background:#020b13;border:1px solid #214864;color:#c4e4ff;font:13px/1.7 var(--mono);padding:20px;margin:16px 0;white-space:pre-wrap;overflow-wrap:anywhere} +.homelab-page .lab-table{font-size:17px;line-height:1.5;background:#04121c;color:var(--muted)} +.homelab-page .lab-table thead th{background:linear-gradient(#294252,#101e29);color:var(--bright);font:13px/1.4 var(--mono);padding:14px} +.homelab-page .lab-table td{padding:14px;border-color:var(--rule-soft)} +.homelab-page .kv{font-size:17px;line-height:1.5}.homelab-page .kv li span{font:13px/1.6 var(--mono);color:var(--muted)} +.homelab-page .status-ok{background:#07291c;color:#a2efb5;border-left-color:#65ef88;font-size:16px;line-height:1.5;padding:14px} +.homelab-page .status-ok code{color:#b7ffd1}.homelab-page code{color:#b8dfff;background:#072038;font-family:var(--mono)} +.homelab-page .lab-skill-list{padding:24px 24px 24px 44px;background:#061b2b;border-color:var(--edge);font-size:18px;line-height:1.7;color:var(--muted)} +.homelab-page .lab-skill-list strong{color:var(--bright)} +.homelab-page .contact-cta{background:none;border:0;padding:10px;gap:24px}.homelab-page .contact-cta h2{color:var(--bright);font-size:28px}.homelab-page .contact-cta p{font-size:18px;color:var(--muted)} +.homelab-page .btn{border-radius:3px;border:1px solid #2674a7;background:linear-gradient(#12344b,#04121c);color:#65bfff;min-height:46px;font-size:18px;padding:12px 20px}.homelab-page .btn-primary{background:linear-gradient(#339eff,#0064ad);color:white;box-shadow:0 0 16px #0096ff35} +.homelab-page .lab-footer{display:block;padding:28px 32px;color:var(--muted);font:12px/1.5 var(--mono)}.homelab-page .lab-footer .container{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}.homelab-page .lab-footer a{color:var(--bright)} +@media(max-width:640px){.homelab-page main>section{padding:25px 17px}.homelab-page .section-head{align-items:flex-start;flex-direction:column;gap:10px}.homelab-page .lab-panel{padding:18px 14px}.homelab-page .lab-hero h1{font-size:25px}.homelab-page .lab-hero-text p{font-size:18px}.homelab-page .lab-table{min-width:600px}.homelab-page .lab-table-wrap{overflow-x:auto}.homelab-page .kv li{grid-template-columns:110px minmax(0,1fr);overflow-wrap:anywhere}.homelab-page .contact-cta{flex-direction:column;align-items:flex-start}.homelab-page .contact-actions{width:100%}.homelab-page .lab-footer{padding:25px}.homelab-page .lab-tree,.homelab-page .lab-code{font-size:12px;padding:14px}} +.homelab-page .lab-grid-2,.homelab-page .lab-grid-2>*{min-width:0}.homelab-page .lab-table-wrap{max-width:100%;overflow-x:auto}.homelab-page main>section{min-width:0} diff --git a/homelab.html b/homelab.html index 8935755..195a79d 100644 --- a/homelab.html +++ b/homelab.html @@ -1,122 +1,97 @@ + - - - ByteGeist Windows Server / AD Homelab — Keith Casko - - + + +ByteGeist Windows Server / AD Homelab — Keith Casko + + + + - - - - -
- -
-
-
-
-

← Projects

-

ByteGeist Windows Server / AD Homelab

-

+ +

+ +
+
+
+
+
+

← Projects

+

ByteGeist Windows Server / AD Homelab

+

A multi-VM Windows Server 2022 Active Directory environment I run on VMware Workstation Pro to practice day-to-day Help Desk and Junior SysAdmin work: domain services, DNS, OU and group design, SMB file sharing with role-based access, PowerShell troubleshooting, and the kind of break/fix that shows up in interview questions.

-

+

The topology, command output, and configuration details on this page reflect the lab state verified on 2026-10-03.

-
- Windows Server 2022 - Active Directory DS - DNS - SMB & NTFS - PowerShell / WinRM - VMware Workstation - OPNsense -
-
-
- Topology diagram: DC01 (192.168.31.10) and FILE01 (192.168.31.20) on VMnet8/NAT, OPNsense between VMnet8 and VMnet2, WIN11-01 domain-joined client -
Verified topology — generated from ipconfig, Get-ADDomain, Get-SmbShare, and VMware vmnetdhcp.conf.
-
-
-
-
- -
-
-
-

Systems

- Four VMs, verified from vmrun and in-guest audits -
-
- - - - - - - - - - -
SystemOperating SystemRoleAddressPurpose
DC01Windows Server 2022 StandardDomain Controller192.168.31.10AD DS, DNS, PDC Emulator, Schema & Domain Naming Master, Global Catalog
FILE01Windows Server 2022 StandardMember server192.168.31.20SMB file services; IT departmental share
WIN11-01Windows 11 EducationDomain client192.168.31.x (NAT)Domain-joined workstation
OPNSENSEOPNsense (FreeBSD)Firewall / routerVMnet8 ↔ VMnet2Segmentation lab; VMnet2 client placement is planned, while current systems remain on VMnet8
-
-
-
- - +
+
+
+

Systems

+Four VMs, verified from vmrun and in-guest audits +
+
+ + + + + + + + + + +
SystemOperating SystemRoleAddressPurpose
DC01Windows Server 2022 StandardDomain Controller192.168.31.10AD DS, DNS, PDC Emulator, Schema & Domain Naming Master, Global Catalog
FILE01Windows Server 2022 StandardMember server192.168.31.20SMB file services; IT departmental share
WIN11-01Windows 11 EducationDomain client192.168.31.x (NAT)Domain-joined workstation
OPNSENSEOPNsense (FreeBSD)Firewall / routerVMnet8 ↔ VMnet2Segmentation lab; VMnet2 client placement is planned, while current systems remain on VMnet8
+
+
+
+ - -
-
-
-

File services & permissions

- FILE01 — Get-SmbShareAccess and Get-Acl -
-

+

+
+
+
+
+
+
+

File services & permissions

+FILE01 — Get-SmbShareAccess and Get-Acl +
+

FILE01 publishes one departmental share and uses the IT Employees - security group to grant access — accounts never get rights directly on + security group to grant access — accounts never get rights directly on resources, groups do. The share-level cap is Change; NTFS - grants Modify explicitly to BGLAB\IT Employees. + grants Modify explicitly to BGLAB\IT Employees.

- -
-
-

Share IT at C:\Shares\IT

-

Share-level ACL

- - - - - - -
AccountTypeRight
BGLAB\Domain AdminsAllowFull
BGLAB\IT EmployeesAllowChange
-

NTFS ACL

- - - - - - - - - -
IdentityRightsInherited
BGLAB\IT EmployeesModify, SynchronizeNo (explicit)
NT AUTHORITY\SYSTEMFullControlYes
BUILTIN\AdministratorsFullControlYes
BUILTIN\UsersReadAndExecute + CreateFiles + AppendDataYes
CREATOR OWNERFull on child objectsYes
-

Hardening note: the inherited BUILTIN\Users entry is broader than the intended IT-only access model. The next ACL change is to disable inheritance and retain only the required administrative and IT group permissions.

-
-
-

How it was verified

+
+
+

Share IT at C:\Shares\IT

+

Share-level ACL

+
+ + + + + +
AccountTypeRight
BGLAB\Domain AdminsAllowFull
BGLAB\IT EmployeesAllowChange
+

NTFS ACL

+
+ + + + + + + + +
IdentityRightsInherited
BGLAB\IT EmployeesModify, SynchronizeNo (explicit)
NT AUTHORITY\SYSTEMFullControlYes
BUILTIN\AdministratorsFullControlYes
BUILTIN\UsersReadAndExecute + CreateFiles + AppendDataYes
CREATOR OWNERFull on child objectsYes
+

Hardening note: the inherited BUILTIN\Users entry is broader than the intended IT-only access model. The next ACL change is to disable inheritance and retain only the required administrative and IT group permissions.

+
+
+

How it was verified

PS> Invoke-Command FILE01 {
       Get-SmbShare |
         Where-Object Name -NotIn 'ADMIN$','C$','IPC$' |
         Get-SmbShareAccess
       (Get-Acl C:\Shares\IT).Access
     }
-

+

Run from DC01 as a Domain Admin via WinRM, output captured to a transcript on the host (not inside the VM) so no sensitive data lives on a shared share.

-
-
-
-
- -
-
-
-

Validation & fixes applied

- Real problems found & resolved during the audit -
-
-
-

Problem: PDC was using the local CMOS clock

-

+

+
+
+
+
+
+
+

Validation & fixes applied

+Real problems found & resolved during the audit +
+
+
+

Problem: PDC was using the local CMOS clock

+

The PDC Emulator is the authoritative time source for a Windows forest. - If it drifts, Kerberos tickets outside the 5-minute skew window fail — + If it drifts, Kerberos tickets outside the 5-minute skew window fail — a classic "I can't log in" root cause. w32tm /query /source returned Local CMOS Clock.

@@ -212,11 +184,11 @@ /syncfromflags:manual /reliable:yes /update Restart-Service W32Time w32tm /resync /rediscover -

Verified: Source: time.windows.com,0x9, Stratum 5.

-
-
-

Problem: stale dcdiag SystemLog failure

-

+

Verified: Source: time.windows.com,0x9, Stratum 5.

+
+
+

Problem: stale dcdiag SystemLog failure

+

A past unexpected shutdown left an entry that dcdiag flagged on every run. I confirmed the stale shutdown event was the source, cleared the lab System log, and re-ran dcdiag /q. In a production workflow, @@ -226,9 +198,9 @@ w32tm /resync /rediscover wevtutil epl System C:\Temp\System-before-clear.evtx wevtutil cl System dcdiag /q -

Verified: dcdiag /q now silent (clean).

-

Client domain restoration (completed)

-

+

Verified: dcdiag /q now silent (clean).

+

Client domain restoration (completed)

+

WIN11-01's NIC was moved from a bridged physical-LAN adapter to the lab NAT network, DNS was pointed at DC01, and the machine account trust was repaired. Verified domain authentication and DC discovery: @@ -243,63 +215,59 @@ Flags: PDC GC DS LDAP KDC TIMESERV ... DNS_DC DNS_DOMAIN DNS_FOREST The command completed successfully PS> whoami bglab\administrator -

Verified: secure channel healthy, DC01 reachable as PDC / GC / KDC / DNS.

-

Security note: this repair transcript was captured from a built-in +

Verified: secure channel healthy, DC01 reachable as PDC / GC / KDC / DNS.

+

Security note: this repair transcript was captured from a built-in Administrator maintenance session. A separate named administrative account and non-privileged daily workstation sign-in are the preferred next hardening step.

-
-
-
-
- -
-
-
-

Skills demonstrated

- Why this project matters for IT roles -
-
    -
  • Windows Server 2022 — installed, promoted to a DC, operate day-to-day.
  • -
  • Active Directory — domain / forest design, OUs, users and groups, FSMO awareness, Global Catalog.
  • -
  • DNS — AD-integrated primary zones, reverse zones, understanding why the client's DNS must point at the DC.
  • -
  • SMB & NTFS — share creation, share-level vs. NTFS permissions, and role-based access through groups. The current IT folder still inherits BUILTIN\Users permissions; disabling inheritance and applying explicit ACLs is a documented hardening task.
  • -
  • PowerShell — Get-AD*, Invoke-Command, Get-SmbShareAccess, Get-Acl, w32tm, Test-ComputerSecureChannel.
  • -
  • Troubleshooting — recognizing Local CMOS Clock as a future Kerberos failure; diagnosing a broken secure channel as a bridged-NIC / wrong-DNS fault and restoring it with Test-ComputerSecureChannel -Repair.
  • -
  • Virtualization & networking — VMware Workstation Pro, VMnet subnetting, OPNsense placement, bridged vs. NAT NIC implications.
  • -
  • Honest audit documentation — problems (PDC time source, bridged client NIC) recorded with the exact fix applied, not hidden.
  • -
-
-
- -
-
-
-
-

Want to see the full audit log?

-

Phases, verified command output, problem-and-fix table, security notes.

-
- -
-
-
- -
- - - - + + + + +
+
+
+

Skills demonstrated

+Why this project matters for IT roles +
+
    +
  • Windows Server 2022 — installed, promoted to a DC, operate day-to-day.
  • +
  • Active Directory — domain / forest design, OUs, users and groups, FSMO awareness, Global Catalog.
  • +
  • DNS — AD-integrated primary zones, reverse zones, understanding why the client's DNS must point at the DC.
  • +
  • SMB & NTFS — share creation, share-level vs. NTFS permissions, and role-based access through groups. The current IT folder still inherits BUILTIN\Users permissions; disabling inheritance and applying explicit ACLs is a documented hardening task.
  • +
  • PowerShell — Get-AD*, Invoke-Command, Get-SmbShareAccess, Get-Acl, w32tm, Test-ComputerSecureChannel.
  • +
  • Troubleshooting — recognizing Local CMOS Clock as a future Kerberos failure; diagnosing a broken secure channel as a bridged-NIC / wrong-DNS fault and restoring it with Test-ComputerSecureChannel -Repair.
  • +
  • Virtualization & networking — VMware Workstation Pro, VMnet subnetting, OPNsense placement, bridged vs. NAT NIC implications.
  • +
  • Honest audit documentation — problems (PDC time source, bridged client NIC) recorded with the exact fix applied, not hidden.
  • +
+
+
+
+
+
+
+

Want to see the full audit log?

+

Phases, verified command output, problem-and-fix table, security notes.

+
+ +
+
+
+ + + +