Category Archives: Tutorials

PowerShell Tutorials

How to Re-Establish Domain Relationship trust using PowerShell

If you are looking for a how to on an easy way to Re-Establish Domain Relationship trust using PowerShell you have come to the right place.

Introduction

In today’s digital age, establishing and maintaining domain relationship trust is crucial for the smooth functioning of various network operations. With the help of PowerShell, a powerful scripting language and automation framework developed by Microsoft, administrators can efficiently manage and restore domain relationship trust. This article will guide you through the process of re-establishing domain relationship trust using PowerShell, providing you with step-by-step instructions and valuable insights.

Why is Domain Relationship Trust Important?

Domain relationship trust forms the foundation of secure and reliable network communication. It allows different domains within a network to establish a trusted connection and share resources seamlessly. When the trust relationship between domains is compromised or broken, it can lead to authentication issues, limited access to shared resources, and … Read the rest

Windows Tutorials

How To Remove Sophos Tamper Protection

In this tutorial you will be shown How To Remove Sophos Tamper Protection from the Sophos Central Endpoint Software on your windows system. This comes handy when you no longer have access to Sophos Central available and you have a device with Sophos Endpoint software installed. 

Follow the magical steps below to obtain freedom from Sophos.

  1. Open up MSConfig.exe
  2. Click Boot tab 
  3. Select checkbox Safe boot with radio minimal selected
  4. Click apply and reboot
  5. Open the command line (Shell) and execute the following commands:

    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SAVService" /t REG_DWORD /v Start /d 0x00000004 /f

    REG ADD"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Sophos MCS Agent" /t REG_DWORD /v Start /d 0x00000004 /f

    REG ADD “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Sophos Endpoint Defense\TamperProtection\Config” /t REG_DWORD /v SAVEnabled /d 0 /f

    REG ADD “HKEY_LOCAL_MACHINE\S

Read the rest

How To Fix Your Trusted Platform Module Has Malfunctioned

How To Fix Your Trusted Platform Module Has Malfunctioned for Microsoft Outlook 2016 and 2019 and 365. This error effects your outlook login by prompting you for a password or not even displaying the window.

 

How you would go about to fix this Trusted Platform Module Has Malfunctioned error is be doing the following steps:

  1. Close Outlook
  2. Open Regedit
  3. to to following path HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity
  4. Create REG_DWORD
  5. Name it: EnableADAL
  6. Make sure the value is: 0
  7. Open Outlook and you should be properly prompted.
Read the rest

Set A New Public Time Server

Here are a few commands to set a new public time server. 

Run CMD in Admin mode and run the following commands.

  1. net stop w32time
  2. w32tm /config /syncfromflags:manual /manualpeerlist:”0.it.pool.ntp.org 1.it.pool.ntp.org 2.it.pool.ntp.org 3.it.pool.ntp.org
  3. net start w32time
  4. tzutil /s “Eastern Standard Time”
  5. w32tm /config /update
  6. w32tm /resync /rediscover
     
Read the rest
Windows Tutorials

How To Transfer Active Directory FSMO Roles

How to transfer the 5 FSMO (Flexible Single Master Operations) roles and GUI tools that can be used to move these roles between Active Directory Domain Controllers.

  • Schema Master – controls all updates and modifications to the Active Directory schema.
    This role can transferred using Active Directory Schema snap-in.
    If Active Directory Schema snap-in is not available you need to register required DLL using following command: regsvr32 schmmgmt.dll. On Windows Server 2008 and later this needs to be done in an elevated command prompt.
  • Domain Naming Master – controls the addition or removal of domains in the forest.
    This role can transferred using Active Directory Domains and Trusts snap-in.
     
  • Infrastructure Master – responsible for updating references from objects in its domain to objects in other domains.
    This role can transferred using Active Directory Users and Computers snap-in.
  • Relative ID (RID) Master – responsible for processing RID
Read the rest

How To Fix Not Responding Windows Explorer

Are you having problems with windows explorer? Here are a few steps on how to fix windows explorer not responding or windows crashing issue. There is a Windows 10 feature in File Explorer called “Quick Access”. This feature allows you easy access files and folders you frequently use, either it be locally or on the network and OneDrive.

Quick Access can make your workflow faster by making it so you don’t have to navigate to a file’s or folder’s that are buried deep in a directories file system. However, on occasion you may want to delete the Quick Access history to help maintain some privacy or quicker access or just resolve the explorer crashing issue

Clearing Windows 10 Quick Access History

  1. Click Start or Cortana’s search field and type: file explorer options and hit Enter or click the option at the top of the search results.

2. Now in the … Read the rest


How To Fix OneDrive High CPU Usage

OneDrive high CPU usage problem

  1. Open Task Manager, right-click the Microsoft OneDrive process and select End Task and the restart one drive to see if it works.


  2. If step one has not resolved the issue, open Task manager again and end the OneDrive process and exit OneDrive , afterwards navigate to the following location in File Explorer:
    – C:\Users\yourusername\Local\Microsoft\OneDrive\setup\logs

  3. Locate the following two hidden files and delete them from the folder.
    • UserTelemetryCache.otc
    • UserTelemetryCache.otc.session

  4. Now restart OneDrive and see if it is now working properly.

  5. If nothing helps, you may have to uninstall OneDrive completely and reinstall it again. OneDrive Download 
Read the rest

How to fix VSS Error ID 513

How to fix VSS Error ID 513. During backup a VSS process running under NETWORK_SERVICE account calls cryptcatsvc!CSystemWriter::AddLegacyDriverFiles(), which enumerates all the drivers records in Service Control Manager database and tries opening each one of them. , The function fails on MSLLDP record with “Access Denied” error.

Turned out it fails because MSLLDP driver’s security permissions do not allow NETWORK_SERVICE to access the driver record.

The binary security descriptor for the record is located here:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MsLldp\Security

It should be modified, I used SC.EXE and Sysinternals’ ACCESSCHK.EXE to fix it.

The original security descriptor looked like below:

>accesschk.exe -c mslldp

mslldp
  RW NT AUTHORITY\SYSTEM
  RW BUILTIN\Administrators
  RW S-1-5-32-549       <- these are server operators
  R  NT SERVICE\NlaSvc

No service account is allowed to access MSLLDP driver

The security descriptor for the drivers that were processed successfully looked this way:

>accesschk.exe -c mup

mup
  RW NT AUTHORITY\SYSTEM
  RW BUILTIN\Administrators
  R  NT … Read the rest


How To Fix Windows Update Patching Issues

If your running into some problems with windows Update and Patching, here are a few options you can take to fix the issue.

Option 1:

  1. Disable everything antivirus.
  2. Reinstall patches through windows update if that does not work move to step 3
  3. Manually download the path that is having an issue from  http://www.catalog.update.microsoft.com/home.aspx  

Option 2:

  1. Log in as local administrator
  2. Run disk cleanup. Click on  Cleanup System Files. Make sure All files are selected.
  3. we will now create a .bat file
  4. open notepad
  5. type the script
  6. @ECHO OFF
     echo Simple Script to Reset / Clear Windows Update
     echo.
     PAUSE
     echo.
     attrib -h -r -s %windir%\system32\catroot2
     attrib -h -r -s %windir%\system32\catroot2\*.*
     net stop wuauserv
     net stop CryptSvc
     net stop BITS
     ren %windir%\system32\catroot2 catroot2.old
     ren %windir%\SoftwareDistribution sold.old
     ren “%ALLUSERSPROFILE%\application data\Microsoft\Network\downloader” downloader.old
     net Start BITS
     net start CryptSvc
     net start wuauserv
     echo.
     echo Task completed successfully…
     echo.
     PAUSE
  7. save to desktop as wureset.bat
Read the rest
PowerShell Tutorials

How To Uninstall All Windows 10 Apps Using PowerShell

You have noticed that Windows 10 came with all sorts of Apps and you want a simple way to Uninstall all these Apps, well using PowerShell will be the quickest method.

Introduction:

Uninstalling Windows 10 apps using PowerShell provides a convenient and efficient way to remove built-in or pre-installed applications that you may not need or want on your system. PowerShell is a command-line scripting language developed by Microsoft, and it offers powerful tools for managing and automating various tasks in Windows.

In this guide, I will walk you through the steps to uninstall all Windows 10 apps using PowerShell. This method allows you to remove multiple apps simultaneously, saving you time and effort. It is important to note that this process will only uninstall the apps for the current user account and not for all users on the system.

Before proceeding, please ensure that you have administrative privileges on … Read the rest