Category Archives: IT

Partitioning Disks in Linux

By | December 26, 2020

lsblk – List all disks & partitions attached (Can change after reboot) sudoparted /dev/sda mklabel gpt – Initializes the disk with a GPT partition [Destructive!] sudo parted -a opt /dev/sda mkpart primary ext4 0% 100% – Creates a new partition mkfs.ext4 -L datapartition /dev/sda1 – Format the partition as Ext4 Note: Partitions have a number appended to the… Read More »

Backdoor RDP

By | May 14, 2020

If you need to assist a remote user and nothing seems to work try this: Have them connect their VPN From a server on their network, connect via Remote Desktop to the PC by name If name is not registered in DNS, log into the router and get VPN client IP

AnyConnect Password

By | August 23, 2018

The Cisco Any Connect Client does not allow you to save a password on the client. This code when saved as a .vbs file will let you get around this.  Be warned that the client’s password is saved in clear text in the file. I hide the file in Drivers and create a shortcut to it with the… Read More »

SMG Queue – 450 4.4.1

By | August 21, 2018

If you are seeing the following error, on messages in the Symantec Messaging Gateway queue: 450 4.4.1 [internal] Connection Timed Out These messages are being interrupted during transmission. This leads to the sender receiving a delayed delivery notice. This is caused by something in the message being rejected by the Cisco router during inspection of the traffic. To… Read More »

Exchange Permissions

By | August 16, 2018

You can list all users with Mailbox permissions with this in PowerShell: Get-Mailbox | Get-MailboxPermission | where {$_.user.tostring() -ne “NT AUTHORITY\SELF” -and $_.IsInherited -eq $false} | Select Identity,User | Export-Csv -NoTypeInformation mailboxpermissions.csv