Skip to main content

Posts

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

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

How to Quickly Connect to an AWS Linux EC2 Instance from SecureCRT

1. Create your AWS EC2 Instance (Linux Versions Don't Matter) 2. Click on Quick Launch (You can create a folder if you have more). Click Properties and pick your keypair (pem format is fine. You don't have to convert it with SecureCRT like you have to do with Putty). 3. Click Connect.

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/

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 _____________________!

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

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