• Skip to primary sidebar
  • Skip to content

ZOMI DAILY

A bunch of snippets

SConfig: check Windows Updates without downloading

by Admin . Leave a Comment

First of all, SConfig stand for Server Configuration tool 🙂

PowerShell > SConfig > Enter

Type 6 to open the Windows Updates menu
Type A to look for all available updates
Type R to search for only recommended updates
All available updates are displaying in the list
Type N to close the menu without installing any updates

How to enable God Mode

by Admin . Leave a Comment

God Mode enables a lot of everyday tasks, classic Control Panel, adding and removing apps or user accounts, creating System Restore points, adjusting your power settings, etc…

Create a new folder on your desktop, name the folder:
GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}

The folder icon will change similar to Control Panel

Uninstall Windows Update using Command Prompt

by Admin . Leave a Comment

You can uninstall Windows update using Command Prompt:

uninstall: wusa /uninstall /kb:[id]

If you want to remove KB5001330, use the command uninstall: wusa /uninstall /kb:5001330
Type “Y” when asked to restart the PC and finish the uninstallation.
If you want to automatically restart the computer after the update is removed, you can use the following command instead:

wusa /uninstall /kb:[id] /quiet

If you want to get a prompt asking you to restart the computer, use the following command instead:

wusa /uninstall /kb:[id] /quiet /promptrestart

If you don’t want to restart the computer after removing the patch, use the following command:

wusa /uninstall /kb:[id] /quiet /norestart

Note that you must restart the computer manually to properly remove the patch. The above command will only delay the process and system reboot is still mandatory.

SATA 3 vs NVMe (what is M.2?)

by Admin . Leave a Comment

What is the different between SATA 3 vs NVMe?

  • SATA 3 – An older protocol (can operate on IDE or AHCI)
  • NVMe – A protocol that lets data be read and written via PCIe
  • M.2 – Not a protocol but just a physical form factor (SATA M.2, NVMe M.2, etc…)

SATA 3 – Data cable and Power cable are needed to connect to the motherboard and SSD

NVMe – SSD to have its data read straight from a PCIe slot right on the motherboard, the drive draws power directly through the motherboard

userPrincipalName vs sAMAccountName

by Admin . Leave a Comment

samAccountName attribute was used in the pre-Windows 2000 environment, and a fixed 20-character length limit. The following characters are prohibited too: “/ \ [ ] : ; | = , + * ? < >. SAM (security Account Manager)

The samAccountName attribute has the following format. For example, my zomidaily.com domain uses the NetBIOS domain name ZOMIDAILY. Thus, the j.mang username in the samAccountName format should look like this: ZOMIDAILYj.mang (NetBEUI – NetBIOS Extended User Interface)

userPrincipalName (UPN) Attribute
The value of attribute of the user j.mang for our domain would be [email protected]

When you synchronize local AD user accounts into Azure AD by using Azure AD Connect, the tool uses the userPrincipalName attribute as the Azure AD sign-in name property by default

Thus, you need to sign into the VM by using a sAMAccountName-type syntax, substituting the static string AzureAD for the domain field, like so: AzureAD\j.mang

How to renew SSL Certificate

by Admin . Leave a Comment

Before renewing anything, view the existing certificate first:

  • Login to server and run MMC
  • Add Snap-in
  • Select Certificates
  • Select Computer account
  • Select Local Computer
  • Expand Certificate (Local Computer) > Personal > Certificates
  • Open of the existing certificate
  • Go to Details tab
  • Scroll down to Subject Alternative Name

Run IIS and extend the SSL certificate
Binding > applied the new SSL

  • Checked the certificate at the gateway url
  • Connect to the RD Gateway server
  • Select the RD Gateway server and click on Properties
  • Go to SSL Certificate tab and click on Import Certificate
  • Select the new SSL Certificate and click Import
  • Test RDP session internally & externally
  • « Go to Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to page 4
  • Go to Next Page »

Primary Sidebar

Recent Posts

  • SFC scan tool to repair missing or corrupted system files
  • Turn Off Outlook’s alert for new Email
  • Uninstall Programs with Command Prompt
  • Windows: How to reset forgotten admin password
  • Exchange Server: How to export pst file

Browse by Tag

Azure (1) Chrome (1) Clone (1) Cloudflare (1) CMD (1) Exchange (1) FortiMail (1) Outlook (1) Password (2) PowerShell (8) Server (3) Sever (1) SSD (1) SSL (1) Windows (14) WordPress (1)

Copyright © 2022 · ZOMI DAILY