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 »

Remove Orphaned Exchange Server

By | December 10, 2020

Removing a defunct Exchange Server from AD: ADSI Edit to Configuration\Services\Microsoft Exchange\<org name>\Administrative Group\Exchange Administrative Group (FYDIBOHF23SPDLT)\Servers +CN=[ServerName]  Delete from this point including all child-items If you have any exchange 2003 public folder references or routing groups, those will need to be deleted as well. They can be deleted using the management console if you prefer.

Remotely Join a PC to Domain

By | November 24, 2020

Rename PC > Reboot Connect VPN > Join Domain > Reboot Login to local account > Connect VPN > Switch User > Login as domain admin (causes VPN to close) > Logoff Login to local account > Reconnect VPN > Switch User >Login as domain user

Keep Mapped Location Open

By | November 22, 2020

If windows continually drops a remote location you can keep it open with this: do{start-process \\server\path ;start-sleep 5 $a = (New-Object -comObject Shell.Application).Windows() |?{$_.FullName -ne $null} |? {$_.FullName.toLower().Endswith(‘\explorer.exe’)} $a | % {  $_.Quit() }Start-sleep 3600}while ($True)

Broken OneNote Links

By | November 12, 2020

These changes in the cloud will break access to OneNote and risk data loss: Username changes involving the domain name. Moving, or renaming a OneNote notebook When this happens, notebook owners will need to reshare their notebooks and all users should look for unlinked notebooks after a domain change.

RDP Security Error

By | September 26, 2020

To bypass the error, merge this into the registry: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters] “AllowEncryptionOracle”=dword:00000002

WordPress Hack

By | September 20, 2020

Hackers first try and access the users database at: /wp-json/wp/v2/users/. If successful you next see repeated attempts to log on to the site, reflected in hits on /wp-login.php & /xmlrpc.php. This is what a WordPress brute force attack looks like: As you can see these hits come from all over the world:

Windows Server Upgrade Path

By | September 20, 2020

Correct To Upgrade the OS Windows Server must be upgraded in steps. 2003 > 2008* > 2012R2 > 2016 > 2019 Incorrect – Data loss will occur While possible, these upgrades will clean install the OS and not upgrade. 2008* > 2016 *2008 is not supported (no mouse) on newer Hyper-V use 2008R2

File Paths

By | May 20, 2020

Adobe PDF DLL for x64 install C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\Xtras\AdobePDF\AMD64 Apple iTunes iOS Backups: %APPDATA%\Apple Computer\MobileSync AutoCAD License Info %AppData%(All Users)\Autodesk\AutoCAD LT 2006\R11\Adlm\ *html file C:\ProgramData\Autodesk\Adlm\REVITS2011en_USRegInfo.html Client license – Network c:\program files\Autocad 2010\licpath.lic c:\program files\Autocad\Product 20nn\licpath.lic Client license – Subscription C:\ProgramData\Autodesk\CLM\LGS Google Chrome Bookmarks: C:\Users\hmg\AppData\Local\Google\Chrome\User Data\Profile n\Bookmarks Java MSI Files: C:\Users\%username%\AppData\LocalLow\Sun\Java\ Microsoft Office Outlook PSTs: %LocalAppData%\Microsoft\Outlook\*.pst NK2 Autofill:… 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

Dell Client Configuration Toolkit

By | April 9, 2020

This utility provides BIOS configuration capability to Dell Optiplex, Latitude, and Precision systems from within Windows. The tool does not require a reboot and offers a GUI or CLI interface. On the Dell Support Site, this can be found under Drivers > Systems Management > Sys-Man_Application <version number>.exe.

Upgrade Windows 10 from the Network

By | February 27, 2020

Batch file for upgrading Windows 10 from the network or C:\Win10: start /wait \\Server\win10\setup.exe /auto upgrade /migratedrivers all /dynamicupdate enable /priority normal /showoobe none /compat ignorewarning /copylogs C:\Temp\Win10Upgrade.log /pkey YDC6P-XXXXX-XR66V-XXXXX-BBH3B

Remote Execution

By | February 19, 2020

Four ways to remotely run an executable. ([WMICLASS]“PCName:Win32_Process”).create(“notepad.exe”) Invoke-WmiMethod –ComputerName PCName -Class win32_process -Name create -ArgumentList “notepad” Invoke-Command –ComputerName PCName –ScriptBlock {Start-Process notepad.exe} “C:\!msp\bin\PsExec.exe” @Z:\Delpoy\Software\Install.txt -s msiexec.exe /i “z:\Deploy\MSI\firefox.msi” /q

Windows Automatic Logon

By | January 18, 2020

Create a text file with ext .reg > update the contents with the below > then import it: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] “DefaultPassword”=”Password” “AutoAdminLogon”=”1” “DefaultDomainName”=”Domain” “DefaultUserName”=”User”

Cisco AnyConnect VPN

By | January 2, 2020

To enable support for client computers the client software package must be loaded into the ASA in the form of a .pkg file. These can be found here on our network: S:\Software\Networking\!Cisco\AnyConnect This is loaded into the ASA under Config>Remote Access VPN>Network (Client) Access>AnyConnect Client Software

Adobe Creative Cloud App Failing

By | November 21, 2019

If the CC Desktop app (required for installing & updating) fails, you must uninstall and reinstall it. This would normally require removing all of the suite as the Desktop App can not be removed until all other Adobe programs are uninstalled. Fortunately, Adobe has created an uninstaller for the Desktop app.