Automatic Snipe-IT Backups

The below crontab runs at 0600 and 0605. You will also need to make sure the user which the cron is running under is in the apache group. Also make sure the file permissions are correct, they will probably be 755, they need to be 775 for users in the apache group to write to…



Install Snipe IT on CentOS

Step 1: System update Before installing any packages on the CentOS server instance, it is recommended to update the system. Log in using the sudo user and run the following commands to update the system. sudo yum -y install epel-release sudo yum -y update sudo shutdown -r now Once the system has rebooted, log in…



Unable to RDP using Microsoft Account

I fixed this issue by running cmd as my Microsoft account. Click Start > Open CMD Paste in the below runas /u:MicrosoftAccount\username@outlook.com cmd.exe Enter the password for the account when prompted, this will sync your password and allow you to RDP to the machine.



Windows Control Applets

Open either an admin cmd window or an admin Powershell windows and run one of the following. Admin AppletCommandAD Domains and Trustsdomain.mscActive Directory Managementadmgmt.mscAD Sites and Servicesdssite.mscAD Users and Computersdsa.mscADSI Editadsiedit.mscAuthorization managerazman.mscCertification Authority Managementcertsrv.mscCertificate Templatescerttmpl.mscCluster Administratorcluadmin.exeComputer Managementcompmgmt.mscComponent Servicescomexp.mscConfigure Your Servercys.exeDevice Managerdevmgmt.mscDHCP Managementdhcpmgmt.mscDisk Defragmenterdfrg.mscDisk Managerdiskmgmt.mscDistributed File Systemdfsgui.mscDNS Managementdnsmgmt.mscEvent Viewereventvwr.mscIndexing Service Managementciadv.mscIP Address Manageipaddrmgmt.mscLicensing Managerllsmgr.exeLocal Certificates Managementcertmgr.mscLocal…



PS – Run as another user

You should be passing the password to the Start-Process cmdlet in a more secure way, it can be stored in a file as an encrypted string. The account that encrypts the string is the only one that can decrypt it so bear that in mind. $secpasswd = ConvertTo-SecureString “password” -AsPlainText -Force $mycreds = New-Object System.Management.Automation.PSCredential(“DOMAIN\user”,…




Configure Bitlocker during deployment

Set X256 AES Encryption Cipher reg add “HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FVE” -t REG_DWORD -v EncryptionMethodWithXtsFdv -d 7 -f Set Full Disk Encryption reg add “HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FVE” -t REG_DWORD -v OSEncryptionType -d 1 -f Set Bitlocker PIN manage-bde -add C: -TPMAndPIN 123456 Enable Bitlocker manage-bde -on C: -rp




Resetting Unifi Controller Password

If you’re like me and you’ve forgotten your Unifi Controller password, fear not! Follow the below steps to get back in. I should say before I start, this is for a system running Ubuntu Server 16.04. Install whois sudo apt install whois Generate your new password printf “MyNewPassword123?!” | mkpasswd –stdin –method=sha-512 #Returns the below…




WSUS Sync Soap Error

Possible Cause This issue occurs if the WSUS servers are configured to use the old synchronization endpoint, https://fe2.update.microsoft.com/v6. This endpoint was fully decommissioned and is no longer reachable after July 8, 2019. Resolution To fix the issue, change the synchronization endpoint in WSUS configuration to https://sws.update.microsoft.com. To do this, follow these steps on the topmost WSUS server that connects…



Basic Unattend for SCCM

The below xml is a very basic unattend file for SCCM OS deployments. It solves the issue where ‘Just a moment…’ covers the deployment status window so you can’t see the progress of the deployment. <?xml version=”1.0″ encoding=”utf-8″?> <unattend xmlns=”urn:schemas-microsoft-com:unattend”> <settings pass=”oobeSystem”> <component name=”Microsoft-Windows-Shell-Setup” processorArchitecture=”amd64″ publicKeyToken=”31bf3856ad364e35″ language=”neutral” versionScope=”nonSxS” xmlns:wcm=”http://schemas.microsoft.com/WMIConfig/2002/State”> <OOBE> <HideEULAPage>true</HideEULAPage> <ProtectYourPC>1</ProtectYourPC> <HideLocalAccountScreen>true</HideLocalAccountScreen> <HideOnlineAccountScreens>true</HideOnlineAccountScreens> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>…




Fix WMI Service Not Starting/SCCM Client failing to install due to WMI errors

I used this fix when the SCCM client wouldn’t install on a Windows 7 client, it was failing to start the Windows Magagement Instrumentation service. 1. Log onto Windows 7 with an administrator account, click Start, type services.msc in the Start Search box and press Enter. 2. In the right pane of the Service console, locate and right-click Windows Management Instrumentation,…