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

PPI – Pixels Per Inch

By | August 7, 2018

The PPI of a monitor is a measure of its size in inches and the total number of pixels in the horizontal and vertical directions. It is important to account for PPI when choosing a monitor for a client to ensure a positive user experience. A 20-inch 4k monitor would be virtually useless, as the elements of the… Read More »

Autodesk License Mode

By | June 8, 2018

Issue: (Example – A trial install to network license) Your licensing type has changed and you need to change the licensing option within the program. Delete file in the following folder: C:\ProgramData\Autodesk\CLM\LGS\ProductKey_ProductVersion.0.0.F

Home Ed. in a Domain

By | May 22, 2018

You can connect a Windows home edition PC to a domain as follows: Change the PCs workgroup to the domain name (pre-Windows 2000) Change the local username and password to exactly match a domain account. The PC should now have full access to Outlook, network shares and printers without entering credentials.

AutoCAD Interface Reset

By | May 10, 2018

If your toolbars vanish you can do the following to reset AutoCAD: From the Start menu go to > AutoCAD 20nn – English (Folder icon) > Reset Settings to Default Backing up the current interface is advisable if you have made extensive customizations. In some instances, Reset Settings to Default will be missing. More…        

Safe Mode from CMD

By | April 8, 2018

If you need to put a system into safe mode you can do this from cmd then reboot: This will set the safemode switch: bcdedit /set {current} safeboot minimal with networking: bcdedit /set {current} safeboot network to put back in normal mode via dos: bcdedit /deletevalue {current} safeboot

Outlook Autocomplete

By | March 23, 2018

A freeware option that I used to use and still comes in handy is called NK2Edit from NirSoft, it does handle newer data just follow the instructions. Has the advantage of being able to edit the autocomplete data as well. There are also things you can do like importing nk2 files by launching outlook with the /importnk2 switch.… Read More »

Remote log off

By | March 20, 2018

I recently had a console session hang with just a white screen and no start menu on an Exchange Server. Not wanting to reboot the server and disrupt the entire office, I used the following to remotely log the admin out via PowerShell: (gwmi win32_operatingsystem -ComputerName $PCname).Win32Shutdown(4)

Issues Renaming a Domain Computer Part 2 of 2

By | March 15, 2018

So you have gone through part 1 and now get an error saying the directory service is busy! Is SQL Express or SQL installed? If so, from an elevated command prompt type: setspn -L computername Note any registered SPN in the format of MSSQLSvc/[Computer Name]:[Instance Name] Delete each of the SPN’s noted above. setspn –d [SPN Name] [ComputerName]… Read More »

High Sierra network issue

By | January 4, 2018

Full article here. Newer servers use SMB2/3 which has packet signing turn on. The net result is that copied/moved/renamed files never finalize the process.  2 sets of instructions below based on whether or not there already exists an nsmb.conf file or not.

Win7 updates not running

By | January 3, 2018

Update services are running yet the windows update control panel says that they aren’t when you try to check for updates. Disable windows update service and then stop it. At this point go to Windows\SoftwareDistribution and rename the folder to SoftwareDistributionOld. Enable windows update service and start. You should be able to check for updates now.

C Drive filling up regularly

By | January 3, 2018

Windows/Temp filling with cab_XXXX files. Deleting the cab_xxxx files only resulted in regeneration. Checking \Logs\CBS folder I found lots of .log and (some) .cab files It seems, that windows wasn’t able to zip (makecab.exe) one of the .log files. Solution was: in \Logs\CBS folder delete the oldest .log file (you can also delete them all) in \temp folder… Read More »

Exchange13 Discovery

By | December 11, 2017

Prerequisites: The user that you are going to run the eDiscovery as must be a member of Mailbox Search Role and the Discovery Management Role Group (The discovery management Role Group will encompass the Mailbox Search Role) You will not see the eDiscovery or litigation hold options (The compliance management menu item on the left side of the… Read More »

Autodesk License via VPN

By | December 6, 2017

If AutoCAD fails to pull a license over a VPN you need to adjust the time out period that it tries to  connect. Do this by adding a system variable and it fixes all Autodesk products. System>Advanced…>Environment Variables>System Variables>New variable name:   FLEXLM_TIMEOUT                Variable value:   10000000

Segmented Zip Files

By | November 29, 2017

7 Zip will segment files as it creates a compressed file with this command: cd “C:\Program Files\7-Zip” 7z -v500m a c:\backup\Filename C:\FolderToCompress Usage: 7z a -v{Size}[b|k|m|g] [<switches>…] <archive_name> [<file_names>…]

Site VPN 1/2 Connected

By | November 20, 2017

In a Site-toSite VPN setup between two Cisco ASAs you find that traffic stops passing between sites, however, the connection is established. In addition under Monitoring>VPN>IPSec Site-to-Site one side shows: Bytes Rx 0 / Tx increasing and the other ASA shows BytesRx increasing / Tx 0. While rare the fix is to: change nothing, save the configs and… Read More »

Add an Exchange Relay

By | November 16, 2017

To relay through exchange server the following receive connector settings should be used: Set your Name and Port as needed. Under security check ONLY: Transport Layer Security (TLS); Externally secured (for example, with IPsec); Exchange Servers; Anonymous Users  From Scoping REMOVE the range. (WARNING: Skipping this will create an open relay) and add Static IPs for approved senders.… Read More »

Photo Viewer for 10

By | November 15, 2017

Some users prefer to use the old Windows Photo Viewer. If the PC was upgraded it is still available. For a system that was clean installed use this registry hack. This also addresses the fact that Outlook is missing from the “Share Pictures” feature of the new photos app.