• Skip to primary sidebar
  • Skip to content

ZOMI DAILY

A bunch of snippets

Removing the Xbox Game Bar with PS

by Admin . Leave a Comment

As of today, Microsoft doesn’t give option to uninstall the Xbox Game Bar from the Apps & Features. But you can uninstall it with PowerShell.

First run the following script to see the list of Xbox:

dism /Online /Get-ProvisionedAppxPackages | Select-String PackageName | Select-String xbox

Then run the following:

Get-ProvisionedAppxPackage -Online | `
Where-Object { $_.PackageName -match "xbox" } | `
ForEach-Object { Remove-ProvisionedAppxPackage -Online -PackageName $_.PackageName }

SFC scan tool to repair missing or corrupted system files

by Admin . Leave a Comment

On Windows 10, run DISM (Deployment Image Servicing and Management) tool prior to running the SFC (System File Checker).

DISM.exe /Online /Cleanup-image /Restorehealth

If your Windows Update client is already broken, use a Windows side-by-side from a removable media. Then run:

DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:C:\RepairSource\Windows /LimitAccess

SFC /scannow

The changes can be found here: %WinDir%\Logs\CBS\CBS.log

Or you can export to your TEMP folder by running the following command:

findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log > "C:\TEMP\sfclogs.txt"

Turn Off Outlook’s alert for new Email

by Admin . Leave a Comment

By default, Outlook displays popup when new email arrives and it can be a major distraction for someone.

  • Open Outlook
  • Click the File tab
  • Click Options > Mail
  • In the Message Arrival section, choose the options that match your preferences
  • Click OK.

Uninstall Programs with Command Prompt

by Admin . Leave a Comment

You can uninstall apps from the Command Prompt and it’s especially very useful when you don’t want to switch user as Administrator. To run as admin, run the following command and enter the admin password.

runas /user:DOMAIN\USERNAME cmd

To uninstall, type the following command first
wmic
and the wmic (Windows Management Instrumentation Command-line) will appear as below
wmic:root\cli>

Type the following command to get the list of programs installed:
product get name
(you can directly run wmic product get name as well)

You can uninstall the by running the following command replacing “program name”
product where name="program name" call uninstall
Y to confirm and you will see “Method execution successful” message at the end.

Windows: How to reset forgotten admin password

by Admin . Leave a Comment

You can reset the forgotten admin password in in Windows 10 by following the steps below:

Replace utilman.exe with cmd.exe

  • Boot off Windows 10 DVD or USB
  • When the Windows Setup screen appears, press SHIFT+F10 to launch a CMD window (or Troubleshoot > Advanced options > Command Prompt)
  • copy c:\windows\system32\utilman.exe c:\
  • copy c:\windows\system32\cmd.exe c:\windows\system32\utilman.exe
  • Answer Y to overwrite of the utilman.exe file.
  • Exit the Windows 10 setup and reboot the computer.
  • Click “Ease of Access” icon which will launch CMD window due to the copy of step 4
  • Boot into โ€œSafe Mode with Networkingโ€ for Windows 11
  • net user test yourpassword /add
  • net localgroup administrators test /add
  • Login with test account (use .\test on domain joined) and reset the forgotten admin password

Putting back utilman.exe

  • Reboot again with the DVD or USB
  • copy c:\utilman.exe c:\windows\system32\utilman.exe
  • Confirm Yes to overwrite and reboot your computer

Exchange Server: How to export pst file

by Admin . Leave a Comment

Mailbox export can be done from either Exchange admin center (EAC) or Exchange Management Shell

In the EAC (ECP), go to Recipients > Mailboxes > click More options icon, and select Export to a PST file.

New-MailboxExportRequest -Mailbox "Valeria Barrios" -FilePath \SERVER01\PSTFiles\Vbarrios.pst

  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to page 4
  • Go to Next Page »

Primary Sidebar

Recent Posts

  • Removing the Xbox Game Bar with PS
  • 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

Browse by Tag

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

Copyright © 2023 ยท ZOMI DAILY