In an elevated PowerShell prompt.
Install-WindowsFeature rsat-hyper-v-tools
All that IT stuff you normally forget as you go along and spend ages trying to remember...
In an elevated PowerShell prompt.
Install-WindowsFeature rsat-hyper-v-tools
Connect-ExchangeOnline -ShowProgress $true
Enter your login details.
Get-MailboxFolderstatistics -Identity username@example.com | Where {$_.Name -Match "Missing Folder Name"}
The output will show the folder path!
Close the session with: Disconnect-ExchangeOnline
Outlook 2016 on RDS 2019 Gives Error 'Cannot start Microsoft Outlook. The set of folders cannot be opened'
On the problem computer, create the registry key for the affected user: Computer\HKEY_USERS\USERSID\Software\Microsoft\Office\16.0\Outlook\AutoDiscover
Name: ExcludeScpLookup
Type: REG_DWORD
Data:1
Rename the Outlook Folder c:\users%username%\AppData\Local\Microsoft\Outlook
Delete profile keys from Computer\HKEY_USERS\USERSID\Software\Microsoft\Office\16.0\Outlook\Profiles
On a PC that has been blocked from upgrading to Windows 11 you will see registry keys as below with similar values within: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
To unblock the upgrade, you need to delete TargetReleaseVersion, leave ProductVersion as it is.
Untested: I don't think the TargetReleaseVersionInfo value matters once TargetReleaseVersion is disabled.
Faced with these certificate permissions how do you add the last two?
The correct syntax is to add each of these.
NT SERVICE\MSSQLSERVER
NT SERVICE\SQLSERVERAGENT
Jet Service Tier Error
The SSL certificate could not be validated. The following error was received.
Could not establish trust relationship for the SSL/TLS secure channel with authority 'host.example.com:7090'.
I tried using the Jet Services Administration Shell, this ran and immediately closed the PowerShell window, I found the script was missing that the shortcut calls.
I was then able to open Jet Administration Console and connect.
Go to edge://wallet/settings
Scroll to the bottom of the page and turn off Save and fill basic info
This will not affect login boxes.
Go here in your Chrome settings: chrome://settings/content/federatedIdentityApi?search=Sites+can+show+sign-in+prompts+from+identity+services
Select 'Block sign-in prompts from identity services'.
When an RDS user gets 'User profile service failed the sign in, user profile cannot be loaded', check the following.
Does the user have a stuck RDS session?
Is the User Profile Disk open on the file server?
If the user is not logged in and UPD is not open on the file server, is there a profile folder attached on a RDSH? It may show with a shortcut icon, delete it. The user should now be able to log in.
Forgetting to put an RDS session host back in the pool can cause overloading of the remaining hosts.
Using the following admin cmd commands (also works in PowerShell) can help. Especially drainuntilrestart as this is not an option in Server Manager.
To set a RDS Session Host not to allow new logins but revert to allowing them after a reboot.
change logon /drainuntilrestart
To check the logon availability.
change logon /query
You can also set the simple disable/enable statuses.
change logon /enable
change logon /disable
Get rid of the terrible context menu in Windows 11's Explorer. Run the following in CMD running in admin mode then launch Explorer and restart it in task manager.
reg add HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32 /ve /d "" /f
Look up the VHDX filename including the path.
In admin cmd
Now mount the VHDX in Disk Management to expand the partition fully, remember to detach the VHDX.
The value 40000 will give 40GB