Microsoft Teams – PowerShell – Disable Auto Start

The Teams app starts when user logs in:   Disable it using PowerShell:   Notes Registry Reg Path: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run Value: com.squirrel.Teams.Teams Type: String Data: C:\Users\%username%\AppData\Local\Microsoft\Teams\Update.exe –processStart “Teams.exe” –process-start-args “–system-initiated”   Folders %appdata%\Microsoft\Teams\Application cache\Cache %appdata%\Microsoft\Teams\Cache   Group Policy (ADMX/ADML) User Configuration > Policies > Administrative Templates > Microsoft Teams   MSI  msiexec /i Teams_windows_x64.msi OPTIONS=”noAutoStart=true”   Read More …

Windows 10 – Fix Blank Search Results

A blank search appears in the Search results (not great):   If you are experiencing blank results in both the Start Menu and in File Explorer, run this to resolve it:     Notes Registry [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search] “CortanaConsent”=dword:00000000 “BingSearchEnabled”=dword:00000000   tags: Search problem, Windows search is blank, MrNetTek

Apple iTunes – 12.10.4.2

Description iTunes is a media player, media library, Internet radio broadcaster, and mobile device management application developed by Apple Inc. It was announced on January 9, 2001. It is used to play, download, and organize digital multimedia files, including music and video, on personal computers running the macOS and Windows operating systems. Content could be Read More …

PowerShell Vault

PowerShell scripts demonstrating some of the functionality of the language. also see: posts — 1,787 scripts — Access Lotus Notes Database with the current Notes credentials.ps1 Add-Decimal.ps1 Add-DomainUserToLocalAdministratorsGroup.ps1 Add-ExtendedFileProperties.ps1 Add-FirewallApplication.ps1 Add-FormatData.ps1 Add-FormatTableIndexParameter.ps1 Add-Hashtable.ps1 Add-ObjectCollector.ps1 Add-RelativePathCapture.ps1 Build-String1.ps1 Change-Extensions.ps1 Clear-CustomEventLog.ps1 Clear-Hashtable.ps1 Clear-Queue.ps1 Clear-Stack.ps1 Clear-Stopwatch.ps1 Clone-Hashtable.ps1 CloneXMLNode.ps1 Collect Processor Information.ps1 ColorCode Process Output.ps1 ColorCoded Service Status.ps1 Compare-DateTime.ps1 Compare-Double.ps1 Read More …

Azure – PowerShell – Update Device Registered User

In Azure, you have the ability to update the registered user of a device. This is how you do it using PowerShell.   Notes Get-AzureADUser Get-AzureADDevice Get-AzureADDeviceRegisteredOwner Add-AzureADDeviceRegisteredOwner Remove-AzureADDeviceRegisteredOwner Get-AzureADDeviceRegisteredOwner Substring method   Further Testing   tags: PowerShell, Azure registered user, change registered user in Azure Intune, MrNetTek

PowerShell – Adding Registry Keys for Group Policy

I created this for configuring GP using PowerShell in Intune. Just pass the relative GP reg settings using Add-RegPolicy: Test locally, Upload to Intune > Device configuration > PowerShell scripts, Assign Group. * Intune demos coming soon…   Notes Template Code   Group Policy Resources Group Policy Settings Reference Spreadsheet Windows 1809 Group Policy Settings Reference Read More …

PowerShell – v7.0.0 (RC 1)

Description PowerShell 7 is intended to become the replacement product for PowerShell Core 6.x products, as well as Windows PowerShell 5.1, which is the last supported Windows PowerShell version. PS7, once it’s officially released, will become the best tool in your scripting arsenal. more… Download PowerShell 7, RC 1 https://github.com/PowerShell/PowerShell/releases/download/v7.0.0-rc.1/PowerShell-7.0.0-rc.1-win-x64.zip   MSI   mirror PowerShell Command to Download & Install PS7 Read More …

SCCM – Agent Repair – Uninstall

Repair – Fix Locally “C:\Windows\ccm\ccmrepair.exe” Remotely psexec \\RemoteComputerName -u administrator -p PASSWORD cmd.exe /c c:\windows\ccm\ccmrepair.exe   PowerShell     Removal – Uninstall   Locally “C:\Windows\ccmsetup\CCMSetup.exe” /uninstall or Use the CCMClean Tool  |  2  |  3 Remotely psexec \\RemoteComputerName -u administrator -p PASSWORD cmd.exe /c c:\windows\ccmsetup\ccmsetup.exe /uninstall   Things to Check for During Removal * remove these items stop CCMExec Read More …

Windows 10 Edge – Disabling Features

Disable First Run reg add “HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\MicrosoftEdge\Main” /v PreventFirstRunPage /t REG_DWORD /d 1 /reg:64 /f reg add “HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\MicrosoftEdge\Main” /v PreventFirstRunPage /t REG_DWORD /d 1 /reg:64 /f ________________ reg load “HKEY_LOCAL_MACHINE\DEFAULT” C:\Users\Default\ntuser.dat reg add “HKEY_LOCAL_MACHINE\DEFAULT\Software\Policies\Microsoft\MicrosoftEdge\Main” /v PreventFirstRunPage /t REG_DWORD /d 1 /f reg unload HKEY_LOCAL_MACHINE\DEFAULT ________________ Disable Edge Shortcut reg add “HKEY_LOCAL_MACHINE\NewOS\Microsoft\Windows\CurrentVersion\Explorer” /v DisableEdgeDesktopShortcutCreation /t REG_DWORD /d Read More …