Sunday, May 31, 2020

Active Directory User Password Age command: Using Net User command to Display User Expiration Date

Using Net User command to Display User Expiration Date

This first method uses the net user command that is built into windows. This command is used to add, remove and make changes to user and computer accounts.
To determine when the password will expire for a single account open the command prompt and type the following command:
Net user USERNAME /domain
In the below screenshot is an example for the user mfoster.
In addition to displaying the password expires date it also provides other useful information such as password last set, when the password can be changed, if the account is active and so on.

Wednesday, May 13, 2020

(Solved) error: Something went wrong and your search couldn't be completed it looks like theres a problem with your network connection Outlook 2016 - Exchange 2016

This will stop the error, but Outlook will no longer perform any online searches:
HKEY_CURRENT_USER\software\microsoft\office\16.0\outlook\search
DWORD DisableServerAssistedSearch 1

Wednesday, January 22, 2020

Disable WSUS on Windows 10 by Registry Modification

Disable WSUS on Windows 10 by Registry Modification

This method is simple and easy. As an end-user, you can perform on your computer.
Note: This is just a temporary solution. If you connect back the computer to the company network, the WSUS group policy will be applied automatically and revert the changes we are going to do below.  The ideal permanent solution is to move your computer to the different OU where WSUS policy not applied, which can be done by the network/Windows update administrator only. So, as a computer user, we have only below option to disable WSUS on Windows 10.
To make Windows update/component to download from Microsoft online Windows update servers via the direct Internet, we can do these steps.
1) Open Registry editor (Type regedit in Search), and access following location.
Open Regedit
HKLM/Software/Policies/Microsoft/Windows/WindowsUpdate/AU/
2) Change the value from 1 to 0 in UseWUServer key. 1 is to use WSUS server and 0 for not.
Modified Registry - Disable WSUS On Windows 10
3) Once you have changed the above key from 1 to 0, close the registry editor and restart Windows update service. Even if you are okay, restart the computer to take effect.
Restart Windows Update Service
Now connect the computer to direct Internet and try Windows update or any other component installation from the Microsoft Update website. It should work fine this time.
You may need to check some more guides here about Windows update issues.

How to enable Remote Administration feature in Windows

To enable the Remote Administration feature manually, follow the steps given below:
  1. Click start>Run
  2. Enter gpedit.msc
  3. Click OK
  4. Double-click Computer Configuration>Administrative Templates>Network>Network Connections>Windows Firewall
  5. Double-click Domain Profile>Windows Firewall: Allow remote administration exception
  6. Select Enabled
  7. Click Apply
  8. Click OK