virtualcenter


Our IT journal

Connecting to AWS CLI using MFA Authentication

Sometimes you may need to connect to AWS environments with MFA enforced using AWS CLI. If you don´t authenticate with MFA, you got high probabilities to obtain a denied access. With this process, you will be able to authenticate with MFA over CLI. 1-Connect to AWS CLI. >$ aws configure >AWS Access Key ID: Your access key >AWS Secret Access … Read More


Configuring NTP on Windows

This will work for most Windows releases, it will force the OS to update its time sync against an NTP server. Run the following commands on a Powershell window:   w32tm /config /manualpeerlist:time.nist.gov /syncfromflags:MANUAL Stop-Service w32time Start-Service w32time After running those commands, force the sync:   w32tm /resync Check w32tm status: w32tm /query /status  


Dell iDRAC Network connection has dropped

After the latest Java updates you may have seen this message “Network connection has dropped” whenever trying to use viewer.jnlp Go to your Java release lib folder, and comment/change the following lines on your java.security file jdk.tls.disabledAlgorithms=SSLv3, RC4, MD5withRSA, DH keySize < 1024, \ EC keySize < 224, DES40_CBC, RC4_40 This issue is caused by Java disabling 3DES_EDE_CBC – after making … Read More


Exchange 2013/2016/2019 new escalation vulnerability found

Microsoft Exchange appears to be currently vulnerable to a privilege escalation attack that allows any user with a mailbox to become a Domain Admin. On Thursday, Dirk-jan Mollema, a security researcher with Fox-IT in the Netherlands, published proof-of-concept code and an explanation of the attack, which involves the interplay of three separate issues. According to Mollema, the primary problem is that Exchange has … Read More


Block WAN SSH / GUI on Edgerouter OS

To prevent exposing your device from WAN, which is the default, get to the GUI or SSH locally and run these commands. Change the addresses as needed.   configure set service gui listen-address 192.168.20.1 set service ssh listen-address 192.168.20.1 commit save exit  


Property ‘MaxInternalSize’ does not exist in class ‘Msvm_VirtualHardDiskSettingData’ – VHDX on Hyper-V

Sometimes we can mount a VHDX that had its checkpoints saved on another location. When trying to boot the VM we will have a “Property ‘MaxInternalSize’ does not exist in class ‘Msvm_VirtualHardDiskSettingData’.” This is because the disk properties has changed and the VM is linking the checkpoint back to its parent, making the chain corrupted. To remediate this, we will … Read More


virtualcenter is now an approved and recommended Microsoft Solution Provider

We are very happy to announce that we have applied and received the Microsoft Solution Provider approval, which lists us in the main Partner directory. We are ready to be a part of your next project!


Querying EC2 IPs via AWS CLI

I had to get a list for all public IPs mapped to EC2 instances. First start by connecting to AWS via CLI, then use the following:   aws ec2 describe-instances –query “Reservations[*].Instances[*].PublicIpAddress” –output=text   aws ec2 describe-instances –query “Reservations[*].Instances[*].PrivateIpAddress” –output=text   You will see all public/private IPs listed


Connecting to AWS via CLI

First start by creating an AWS user via IAM for programmatical access, which will give you a public and private key. Install the AWS CLI    $ aws configure AWS Access Key ID [None]: publickey AWS Secret Access Key [None]: privatekey Default region name [None]: us-east-1 Default output format [None]: text Default output format is JSON – you can choose … Read More


Change Active Directory users country code via PowerShell

In order to have correct information in Office 365 when using Azure AD, your users need to have a country code in Active Directory, specially when configuring self-service password reset: $Users = Get-ADUser -Filter {samaccountname -like “*”} foreach ($User in $Users) { Set-ADUser -Identity $User -Country “US” } Get-ADUser -Filter {countrycode -eq 0} | Set-ADUser -Replace @{countrycode=1}