Wednesday, April 15, 2020

Understanding Hybrid, IAAS, PAAS and SAAS

Platform Model Control Types for Hybrid, IAAS, PAAS and SAAS

System Architecture Stack - What a company/user/agency controls in Cloud platforms.
This shared use stack also explains what your responsible for maintaining and managing in the Cloud.

  1. Hybrid: Datacenter/Server Room or agency controlled infrastructure
  2. IAAS: Infrastructure as a service (AWS, GCP, Azure, IBM, Rackspace, etc)
  3. PAAS: Platform as a Service (Lambda, Cloud Functions, AWS RDS)
  4. SAAS: Software as a Service (Office365, Google G-Suite, Salesforce) - Technology upgrades, enhancements, changes, etc are by the vendor only.
What do you actually control as a customer?

Platform Types


Wednesday, February 12, 2020

How To Upgrade Windows 2012/2016 to Windows 2019

1. Normally, i'm not a fan of in-place upgrades, depends on organization requirements. A clean install with scripted configurations is always better.

2. Here is the lazy way for those who have no choice...

3. Snapshot the VM (VMware, Hyper-V, KVM...whatever it is).

4. Add the iSO to the VM (Don't bother booting from the BIOS and running the ISO that way). It will just tell you to boot into the OS anyway. (thank you Microlazy)

5. Open a CMD or Powershell as an administrator.

6. Adprep is now located under "support\adrep\" on the 2019 disk. (Domain Controllers Only)


7. From the CLI run the following: adprep.exe /forestprep and then click "C"

8. Domain prep: adprep.exe /domainprep /domain

9. Next upgrade the GPO Domains: adprep.exe /domainprep /gpprep /domain

10. Now run the upgrade installer or relaunch it and "Continue where I left off"

11. If it barks about space. Don't add. Reduce. Run this command to wipe out and clean all of the logs: for /F "tokens=*" %1 in ('wevtutil.exe el') DO wevtutil.exe cl "%1"

12. Delete data in the C:\Windows\WinSxS folder over 2 years old (watch GB's drop off!) (FYI. this is the Windows Update folder. You don't need 1/2 of the crap on here) PRO NOTE: You should be doing this for your VM templates before you start using them.

13. c:\dism.exe /Online /Cleanup-Image /AnalyzeComponentStore

14. c:\dism.exe /Online /Cleanup-image /StartcomponentCleanup

15. Post upgrade. You will be prompted for the new MAK Key. Run the following from the command line first as administrator: slmgr -rearm and reboot the server with shutdown /r /t 00 (takes it down and reboots it immediately). Then activate with slmgr -ipk "XXX-The MAK Key"

16. If you get an error. Clear the registry of the key, clear the OS and then reboot the OS. After that activation should work fine via the activation GUI.

17. Commands:

slmgr -cpky && slmgr -upk && slmgr -rearm

shutdown /r /t 00 (shutdown and reboot now)
Reference for WinSxS Cleanup:

Thursday, January 9, 2020

AWS Storage Volume iSCSI CHAP Authentication for Windows Server 2016 and VMware iSCSI Datastores

1. Create the VM on your VMware Platform for the AWS Storage Volume Gateway (YouTube:

2. What is not documented anywhere in AWS Documentation is that when you're configuring the ISCSI connection. You have to use the Initiator name that you typed when you configured your CHAP Authentication. Here's how you do it.

Open Notepad or whatever program you use to save notes and paste the Initiator Name and your password so you have it.

3. Go to your Windows Server 2016 box (This is the only OS I tested this on for now) and fire up iSCSI Initiator and then click on connect for the volume your working with.

(iSCSI Initiator Setup: or just YouTube it)

4. Add the Initiator Name next to Name under Enable Chap Log On (make sure this box is checked).

5. Format your drive in Disk Management for Windows Server and that's it folks.

6. This is also the same for VMware CHAP authentication for the Storage Adapter Authentication of ISCSI.


Saturday, January 4, 2020

Install Windows Remote Server Administration Tools on Windows 10 1909 (RSAT)

Microsoft has now included the Windows Server Remote Server Administration (RSAT) tools in Windows 10 release 1909 as a FOD (Feature on Demand).

Instead of playing around with the Windows UI.

Launch Powershell as an administrator and run this command

Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online

It will run for about 5-10 minutes.

It takes forever so you can just use this script from Martin Bengtsson:

Sunday, December 8, 2019

Free College and Trade Schools in the US?

$0 No fee Courses - Certificates or Recognition of Completion Requires a Fee

1. (Harvard)








GUI Web & Mobile Development - "Low Code"

Tuition-Free US Colleges. Tuition-free does not mean $0.00 in college costs. It just means that you are not paying for tuition. You will still need money for other fees the college enrollment may charge for in providing services to students (e.g. books, meals, room and board if applicable, exams, etc).'s not a free ride. You also have to keep your academics up at all of these schools. Do not expect a free ride at these schools. You have to work and with a $0.00 tuition, you have no excuse not to succeed.

$0 Tuition Colleges (Regionally Accredited by US Department of Education)

Before attending any school in the US, make sure that they are listed here with Regional Accreditation or Accredited Distance Education (Bare Minimum):

Regional Accreditation Bodies within the USA as of 12/2019:
  1. Accrediting Commission for Community and Junior Colleges (ACCJC) Western Association of Schools and Colleges
  2. Higher Learning Commission (HLC)
  3. Middle States Commission on Higher Education (MSCHE)
  4. New England Commission of Higher Education (NECHE)
  5. Northwest Commission on Colleges and Universities (NWCCU)
  6. Southern Association of Colleges and Schools Commission on Colleges (SACSCOC)
  7. WASC Senior College and University Commission (WSCUC)
CHEA List of Accreditation Bodies (e.g. Regional and Professional): CHEA

1. (KY) Students must work up to 10 hours per week on campus.

2. NYU Medical School (NY City) (As long as the student meets academic progress requirements:

3. Alice Loyd College (KY): As long as you are from their service area (

4. (MI): Don't expect a free ride. The college requires students to participate in up to 15 hours a week, plus two 40-hour weeks of on-campus work during the academic year for full-time students. Part-time students have to pay tuition.

5. (CO): Requires military service after graduation

6. US Naval Academy (MD): Requires military service after graduation. Requires a congressional letter for entrance and physical requirements for matriculation:

7. US Merchant Marine Academy (NY)

8. US Army Academy (WestPoint) (NY)

9. US Coast Guard Academy (CT)


$0 Tuition College (Distance Education Accredited by US Department of Education)


2. The Apprentice School (VA): (Well known and respected Trade School for Ship Building. Requires US Citizenship and to be able to pass a US Government security clearance check). Paid while in training and upon completion. An apprenticeship can last 4-5 years. Certificate upon completion.

Full Ride Scholarships or 100% Tuition Scholarship

1. Any US Regionally Accredited College (CIA Scholarship):

2. (NY) Full Ride Scholarship for US Citizens and Permanent Residents + costs for room and board

3. Williamson College of the Trades (PA) Men Only. Full Tuition covered by Scholarship (Funded by Federal and State Grants.

Tuesday, December 3, 2019

Fix Veeam Backup Error VSSControl -2147212529

1. Login to the VM and run Powershell or CMD prompt from an administrator-level login.

2. Run vssadmin list providers

3. (FYI. This is for VMware or Nutanix Acropolis VM's, not Hyper-V)... will see this a reference to Hyper-V:

"Hyper-V IC Software Shadow Copy Provider"

Open up regedit and delete the key:

@="Hyper-V IC Software Shadow Copy Provider"

4. Reboot the server.

5. Kick off the backup again and it will run. Thank you Micro$oft for buying your Hyper-V components into the OS so deeply...good grief.

Reference Article:

Check Problems on Multiple Windows Servers with PowerShell

1. On Linux create a file with vi and hit "i" on the keyboard and paste the data in. On Windows create a file and save it with "All Files" and put .ps1 as the extension. Powershell on Linux does not have the get-eventlog command.

2. Don't forget to change the hostname or point to the file with the list of hostnames:

$logs = get-eventlog system -ComputerName typemyservername -source Microsoft-Windows-Winlogon -After (Get-Date).AddDays(-7);
$res = @(); ForEach ($log in $logs) {if($log.instanceid -eq 7001) {$type = "Logon"} Elseif ($log.instanceid -eq 7002){$type="Logoff"} Else {Continue} $res += New-Object PSObject -Property @{Time = $log.TimeWritten; "Event" = $type; User = (New-Object System.Security.Principal.SecurityIdentifier $Log.ReplacementStrings[1]).Translate([System.Security.Principal.NTAccount])}};