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. https://online-learning.harvard.edu/ (Harvard)

2. https://www.open.edu/openlearn/

3. https://www.futurelearn.com/courses/categories/tech-and-coding-courses

4. https://online.stanford.edu/

5. https://www.coursera.org/

6. http://oli.cmu.edu/independent-learner-courses/

7. https://ocw.mit.edu/index.htm

8. https://www.edx.org/

GUI Web & Mobile Development - "Low Code"

https://www.outsystems.com/

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). So...it'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): https://ope.ed.gov/dapip/#/home

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. https://www.berea.edu/give/no-tuition/ (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: https://med.nyu.edu/education/md-degree/md-affordability-financial-aid/cost-attendance)

3. Alice Loyd College (KY): As long as you are from their service area (https://www.alc.edu/about-us/our-service-area/)

4. https://www.cofo.edu/ (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. https://www.usafa.af.mil/ (CO): Requires military service after graduation

6. https://www.usna.edu/Admissions/index.php US Naval Academy (MD): Requires military service after graduation. Requires a congressional letter for entrance and physical requirements for matriculation: https://www.usna.edu/Admissions/Candidate-Fitness-Assessment.php

7. https://www.usmma.edu/ US Merchant Marine Academy (NY)

8. https://westpoint.edu US Army Academy (WestPoint) (NY)

9. https://www.uscga.edu/ US Coast Guard Academy (CT)

11.

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

1. https://www.uopeople.edu/tuition-free/what-is-tuition-free/

2. The Apprentice School (VA): https://www.as.edu/index.html (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): https://www.cia.gov/careers/student-opportunities/undergraduate-scholarship-program.html

2. https://www.webb.edu/ (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. https://www.williamson.edu/admissions/financial-aid/cost-of-attendance/
Share:

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)...

Anyway...you will see this a reference to Hyper-V:

"Hyper-V IC Software Shadow Copy Provider"

Open up regedit and delete the key:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS\Providers\{74600e39-7dc5-4567-a03b-f091d6c7b092}]
@="Hyper-V IC Software Shadow Copy Provider"
"Type"=dword:00000002
"Version"="1.0.0.0"
"VersionId"="{c797fff9-2c3e-453c-a3e9-cc7673a6c732}"


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: https://www.veeam.com/kb1785
Share:

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])}};
$res

Reference:

https://www.codetwo.com/admins-blog/how-to-check-event-logs-with-powershell-get-eventlog/
Share:

Thursday, November 14, 2019

How to Install the Veeam Agent for Linux on Ubuntu Linux

1. You can run a test on an Ubuntu server VM on VMware Workstation or via Virtualbox.

2. Download the free edition for Veeam for Linux agent (Note: The agent relies on Veeam Snap, so you need to install both).
https://www.veeam.com/linux-backup-download.html

Public Repository: http://repository.veeam.com/.private/deb/ (RPM or Deb Package managers)

*Instructions: https://helpcenter.veeam.com/docs/agentforlinux/userguide/installation_offline.html?ver=30#deb

There is a depedency on dkms. Run which dkms on your server CLI to verify that it is installed. You will get a response /usr/sbin/dkms if it is installed.

If it is not installed run sudo apt-get install dkms - y

3. Create a folder for veeam under /opt

4. sudo wget http://repository.veeam.com/.private/deb/veeamsnap/veeamsnap_3.0.2.1185_all.deb
5. sudo wget http://repository.veeam.com/.private/deb/veeam/veeam_3.0.2.1185_i386.deb

FYI. If you use the links here https://www.veeam.com/linux-backup-free-download.html it will give you version 1.0 etc of the application. Grab the latest version directly from the repositories instead so you have the latest release.

6. sudo dpkg -i ./veeamsnap* && sudo dpkg -i ./veeam*

7. After installation run sudo veeam and then it will open the prompt for the location you want to store you backup.

8. Hit "C" on your keyboard to configure the backups.


9. After you click "C". Name your backup job and finish the configurations. FYI for you Windows dudes...there is no mouse. You have to use the keyboard tab key.


10. Finish the configurations. Identify your Veeam Repository or you can backup to a location of your choice.


11. After you finish identifying your location (AWS S3, Google Cloud Bucket, etc). Run your backup.

12. Recover your backup into AWS and Bam! Done.

13. Veeam CLI commands:

sudo veeam
sudo veeamconfig (shows a list of commands)

command reference on the man page. Run 'man veeamconfig'

check previous sessions: sudo veeamconfig session list

https://www.veeam.com/blog/operating-backup-restore-linux-with-command-line.html

Linux Agent Errors:
https://www.veeam.com/kb3024


Share:

Wednesday, November 13, 2019

Web URL Spaces

The following character set is for spaces in URL addresses since website URL addresses cannot have spaces by protocol.

%20 this is used in the case of a space of a web URL
Share:

Thursday, October 24, 2019

How to Cleanup the WinSXS (Windows Update Folder)

1. Open Command prompt as an administrator

2. run the following commands in command prompt or powershell.

3. Run the analyzer: dism.exe /online /Cleanup-Image /AnalyzeComponentStore

4. Enter the command: Dism.exe /online /Cleanup-Image /StartComponentCleanup

5.  Dism.exe /online /Cleanup-Image /StartComponentCleanup

If you need to manually clean that sucker up. Then go to the following folder and delete all files older than 1 year.

C:\windows\WinSXS

Caution: Be careful not to delete the "Backup" Folder: C:\windows\WinSXS\Backup

Absolute Kill Option. Seriously. Be careful if it's running a critical application. This is a RGE (Resume Generating Event)

6. Stop all running services

7. Remove-Item -path c:\Windows\WinSXS\* -Force

If you didn't kill the server. Rejoice. If you did (and your on VMware), roll back the snapshot
Share:

Monday, July 29, 2019

How to Configure System Logging on VMware ESXi 6.7

Go to Configure - > Advanced System Settings

Click on "Edit.."

Search syslog.global

Enter your LUN: [LUN NAME]/ folder name

Click Ok.

Quick and Easy folks...



Reference Articles:
https://kb.vmware.com/s/article/2007658
https://www.virtubytes.com/2017/10/18/configure-esxi-syslog-location/
https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.esxi.upgrade.doc/GUID-9F67DB52-F469-451F-B6C8-DAE8D95976E7.html
Share:

Wednesday, April 17, 2019

Thursday, March 21, 2019

How to Add a USB to Hyper-V (Pre-VMware Data Migration)

You need to copy the data off of the Hyper-V Server and it's driving you nuts over the LAN.

1. Connect your USB to the physical server.

2. RDP into Hyper-V.

3. Open Hyper-V Manager. Click on the host and then select "Hyper-V Settings".

4. Enable/Check Use Enhanced Session Mode (2 Places)



5. Now click the VM itself and click settings and click "Integration Services" and select "Guest services". (NOTE: If the VM is online. Reboot it to pick up the change).


6. When you first connect to the VM. It will pop up and ask you to select an option. Integration Service is the last icon on the top left of the VM Toolbar.

7. Click on Local Resources ==> More


8. Click on Drives and select the USB you connected E:\ etc. Select Drive's that I Plug in Later if you will add more USB's later.



9. Now it will show the mounted USB. Copy your data!





Credits: YouTube University! =)

https://youtu.be/ckiZA8DC5n4 (Easy w/ No English)
https://youtu.be/klzhkzJMW0I (Detailed w/ English)








Share:

Tuesday, March 19, 2019

I'm Unable to Uninstall any Programs or Install Software on Windows Server 2012 R2

1. You try to uninstall a program on Windows Server and your unable to proceed after getting an error that the their is a pending operation.

2. Troubleshooting Tip #1: Open up Task Manager and then find any msiexec services and right click and then "End Task" to all of them.

3. Try again. If everything works fine. Your done.

4. Troubleshooting Tip #2: Scan for Malware (MalwareBytes) or download and run CCleaner (I do not recommend this on production servers...that's your own risk.

5. Clean up the registry errors and then uninstall any unnecessary, unused and "makes no sense that it's installed" software.

6. Try again. If everything then works ok. Your done.

FYI. Doing things manually without a backup in the registry can wreak havoc. Be careful. If it's a VM. Take a snapshot. 5 minutes of patience and preparation can save you hours of anger, stress and fear of getting your head chomped off by _____________________!
Share:

Tuesday, March 5, 2019

How to Convert an OVA Image to an AWS EC2 Instance

1. Create an S3 Bucket to import the OVA Image.

2. Upload the OVA Image via the browser. (Pro Tip: If the OVA has a long and complicated name, rename it. Your going to be using the command line.)

3. Install the AWS CLI and Python onto your Laptop

https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html

4. Verify via CMS that python --version and pip --version is working and you get a response.

Example:
C:\Users\ubuntu.power>pip --version
pip 19.0.1 from c:\users\ubuntu.power\appdata\local\programs\python\python37-32\lib\site-packages\pip (python 3.7)

C:\Users\ubuntu.power>python --version
Python 3.7.2

FYI. You can also use PowerShell
https://docs.aws.amazon.com/powershell/latest/userguide/pstools-getting-set-up-windows.html

5. You will need your AWS Secret ID and Key from IAM. Generate a new one if you forgot it or haven't use it or just plain don't know it.

https://blog.migrationking.com/2019/03/how-to-quickly-setup-aws-cli-on-windows.html

Note: Make sure you can run an aws command like the following with output:

aws s3 ls

6. AWS Import/Export Guide:
https://docs.aws.amazon.com/vm-import/latest/userguide/vm-import-ug.pdf

7. Convert from an OVA File:

http://www.daniloaz.com/en/how-to-create-a-sentilo-aws-ec2-instance-from-an-ova-file/

8. In order to import the OVA file, you have to save it to a location on your local machine where you can point to the path from PowerShell (If you're on Linux, the location from your shell). Note: If your on Windows, use the C:\ Drive Path. 

Professional Note: Use Notepad++ on Windows to create the file
https://notepad-plus-plus.org/

9. trust-policy.json file

{
   "Version":"2012-10-17",
   "Statement":[
      {
         "Sid":"",
         "Effect":"Allow",
         "Principal":{
            "Service":"vmie.amazonaws.com"
         },
         "Action":"sts:AssumeRole",
         "Condition":{
            "StringEquals":{
               "sts:ExternalId":"vmimport"
            }
         }
      }
   ]

}

10. role-policy.json file

{
 "Version":"2012-10-17",
 "Statement":[
 {
 "Effect":"Allow",
 "Action":[
 "s3:GetBucketLocation",
 "s3:GetObject",
 "s3:ListBucket"
 ],
 "Resource":[
 "arn:aws:s3:::disk-image-file-bucket",
 "arn:aws:s3:::disk-image-file-bucket/*"
 ]
 },
 {
 "Effect":"Allow",
 "Action":[
 "ec2:ModifySnapshotAttribute",
 "ec2:CopySnapshot",
 "ec2:RegisterImage",
 "ec2:Describe*"
 ],
 "Resource":"*"
 }
 ]
}

11. You import the policies from your machine using a local path. Drive Shares (e.g. Google Drive, etc seem to complain).

PS C:\Users\username> aws iam create-role --role-name vmimport --assume-role-policy-document file://C:\Users\username\Documents\AWS\s3\trust-policy.json

PS C:\Users\usernamet> aws iam put-role-policy --role-name vmimport --policy-name vmimport --policy-document file://C:\Users\username\Documents\AWS\s3\role-policy.json

Page 14-15 of https://docs.aws.amazon.com/vm-import/latest/userguide/vm-import-ug.pdf

12. Create "containers.json" file.

[
  {
    "Description": "Bubba Lovey",
    "Format": "ova",
    "UserBucket": {
        "S3Bucket": "bubba-lab-lovey",
        "S3Key": "anykindofvm.ova"
    }
}]

13. aws ec2 import-image --description "FireEye CMS" --license-type BYOL --disk-containers file://C:\Users\username\Documents\AWS\s3\containers.json

NOTE: This is a Linux Image

You can check the status of the running job by using the "ImportTaskID" that was provided when you kicked off the job:





This blog saved the day. Credit has to go to Daniel Lopez Azana!

http://www.daniloaz.com/en/how-to-create-a-sentilo-aws-ec2-instance-from-an-ova-file/

https://rzn.id.au/tech/converting-an-ova-to-an-amazon-ami/ (Helpful)







Share:

How to Quickly Setup the AWS CLI on Windows

Download the AWS CLI App.

https://aws.amazon.com/cli/

1. Open Powershell after you install the software.

2. type aws configure

3. Note: If you don't know or have your Access Key Id and Secret Key, create a new one and delete the other one.

4. Check your region here:

https://docs.aws.amazon.com/general/latest/gr/rande.html
Share:

Monday, January 28, 2019

How to Configure AWS Active Directory Conditional Forwarders for a Trust between Your AWS Managed Microsoft AD and On-Premises Domain

As you get started. Make sure your VPC configurations for Inbound and Outbound traffic are correct.

If you are using a VPN. Make sure the AWS CIDR and your Local CIDR's are there. The local CIDR range is also your local AWS CIDR, not just your on-premise CIDR block range.

1. In order to establish a connection between your on-premises Active Directory and the AWS Cloud AWS Managed Microsoft Active Directory you must setup both the on-premise server (LOCALDOMAIN.COM) and your AWS Domain (AWSDOMAIN.LOCAL).

2. Create an AWS EC2 VM that will be joined to your awsdomain.local domain. After you have created the VM. Login to the VM and add the DNS addresses that are listed for AWSDOMAIN.LOCAL in the AWS Directory Service. Do an ipconfig /all to make sure that the DNS IP addresses are correct or nslookup will fail.



3. FYI. You cannot RDP into the AWS DC's for the AWS Managed Microsoft AD. You have to use the Server Manager Tools on the server that is joined to the the AWSDomain.Local.



4. Join the machine to your AWS Domain. The default username is "admin" and not "administrator". Then reboot the computer.

Right-click on Conditional Forwarder and then select New Conditional Forwarder



5. Configure your domain that will be used for the trust so that it can talk from your domain.


6. Run PowerShell or CMD Prompt as an administrator and run ipconfig /flushdns

7. Now ping the domain (FYI. It takes a few minutes. Relax). ping the domain name (e.g. ping awsisyourfriend.local) and you should get the ip address back that you put as the IP addresses of the master servers (domain IP's). DNS Settings are here with the arrow.

Image sanitized.


8. After you are able to ping the DNS IP addresses. Do an nslookup awsisyourfriend.local. Now you will get a response something like

C:\Windows\system32>nslookup awsisyourfriend.local
Server:  dc.onpremisedomain.com
Address:  172.55.8.8

Non-authoritative answer:
Name:    awsisyourfriend.local
Addresses:  8.8.8.8
          8.8.4.4

9. Next. Open your Active Directory Domains and Trusts and start the setup of the trust.

Note: URL if you have time. https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ms_ad_tutorial_setup_trust_create.html

Pics below for us that need to Get it Done!


10. Type the domain

11. Click Forest Trust


12. Two-Way


13. This Domain Only


14. Forest-wide authentication


15. Trust Password (NOTE: This is the password that you set up with the creation of the AWS Managed Microsoft AD).


16. Do not confirm the Outgoing or Incoming Trust (select No)


11. Now the on-premises side of the AD Domain Trust (Two-Way) is done.



12. Do the AWS Side now.


13. Note: You cannot create the trust from within the Windows OS on AWS. You must do it through the AWS Console. If you attempt to do it from the OS. You will get an error that says Access Denied!

14. If you have done everything correctly. You will get rewarded with a "Verified" green check mark!




AWS Articles:



Share:

Thursday, January 24, 2019

How to Enable Windows Server 2016 Remote Shell

1. Open PowerShell

2. Get-Item WSMan:\localhost\shell\allowremoteshellaccess



3. Open GPEdit and Turn it off. Restart the installation for the File Server and then you can turn it back on.

Computer Configuration > Administrative Templates > Windows Components > Windows Remote Shell > Allow Remote Shell Access


4. gpupdate

5. Now run the app again.




Thank you XIA!!

https://www.centrel-solutions.com/media/xiaconfiguration/adminguideweb/RemoteShellRequests.html

Share:

How to Recover a Deleted Office 365 Mailbox

1. Launch Powershell as an Administrator

2. Connect to Office365 via the CLI (You can't do this from the GUI/Browser)

https://blog.migrationking.com/2018/12/how-to-connect-powershell-to-office365.html

3. You will need both GUID's to move the old mailbox data that was soft deleted to the new mailbox that was created.

NOTE: Background on how this would be applicable. The reason you would have to do this is if you had a local hybrid Active Directory and you did not migrate one mailbox to Office365 or whatever other reason you had a local mailbox stuck on the local exchange DB. You deleted the mailbox in OWA and Microsoft Active Directory Sync wiped out your Office365 account because the local AD account was wiped/deleted when you were fixing the OWA on-premise. You created a new account and when it was replicated to Azure Active Directory and you enabled the Mail license, you now need to copy the data from the old mailbox to the new Mailbox. Either way, you have a new mailbox and the soft deleted data needs to be migrated/copied to the new mailbox.

4. Informational. Your ExchangeGuid is not the same as the account Guid. Don't mix them up.

5. Get-Mailbox -SoftDeletedMailbox


6. Get the GUID's of the Old and New Mailboxes

Get-Mailbox -SoftDeletedMailbox -Identity cchicken | fl *guid*

Get-Mailbox -Identity curry.chicken | fl *guid*


7. Merge the old data into the new mailbox

New-MailboxRestoreRequest -SourceMailbox aef196y7-9036-4bec-b63b-f34re8rv6705 -TargetMailbox 0a897d6d-67a9-4ff8-a79d-k64rsvb678a3 -AllowLegacyDNMismatch




Share:

Wednesday, January 16, 2019

VMware Tools ISO Does Not Exist

1. You attempt to Install VMware Tools and you get the following error:

The required VMware Tools ISO image does not exist or is inaccessible. vix error code = 21001 Unable to install VMware Tools. An error occurred while trayin got access image file "/user'/lib/vmware/isoimages/windows.iso" needed to install VMware Tools: 2 (no such file or directory). Please refer the product documentation or KB article 2129825 for details....blah blah blah you get the point.

First...that KB article is wrong. It's 1036810: https://kb.vmware.com/s/article/1036810

2. Go to the latest VMware Tools of your OS (You don't need to be logged in):


3. Download the ISO and then WinSCP the file or whatever method you want to use to copy the file to /usr/lib/vmware/isoimages/

The quick and easy way is to just mount it and then install the VMware Tools. If you want to get gritty! Follow on!

4. If you don't know how to copy files to Linux. Use Linux Academy. It's way too much to try to type here: 


5. Access the VCSA UI from the browser with port: 5480 (e.g. https://bubba.domain.com:5480/login)

6. Enable SSH Login and Bash Shell under Access on the Appliance.

7. VCSA 6.7U1 doesn't not have "isoimages" under the /usr/lib/vmware/ path so you need to create it. 

8. mkdir isoimages && cd isoimages

9. If you have external internet connectivity. Grap the file with wget

wget https://packages.vmware.com/tools/esx/latest/windows/VMware-tools-windows-10.3.5-10430147.iso

mv VMware-tools-windows-10.3.5-10430147.iso (space and then type) windows.iso








Share:

Tuesday, January 15, 2019

How to Rename a Windows 2019 Server from the Command Line

1. From VMware (CTRL+ALT+Insert)

2. Check hostname post installation

3. hostname

4. netdom renamecomputer WIN-BLAHBLAH /newname:WS2016-BLAH /reboot 0

6. Y


7. Reboot


8. Login (CTRL+ALT+Insert)


9. Don't be scared little buddy. It's just the command line. =) The Windows Server CLI experience is not for newbies. Use the Desktop Experience if you find it extremely difficult and PowerShell very hard. It's not like Linux.

10. typing the command sconfig will take you into the base configurations of the server. Remember. Windows Server 2016 does not allow you to just turn on Desktop Experience. You have to clean install a new OS.

11. You need to run sconfig in order to enable RDP, etc.



Share: