Run this:
sysdm.cpl
Then go to the Advanced tab, and click the Settings button in the middle under User Profiles.
This works great under 10 also, but is a lot more hidden in 11.
Run this:
sysdm.cpl
Then go to the Advanced tab, and click the Settings button in the middle under User Profiles.
This works great under 10 also, but is a lot more hidden in 11.
First we connect to Exchange Online via Powershell. First we install or update the MSOnline module.
#Install Set-Executionpolicy RemoteSigned -Scope Process Install-Module -Name ExchangeOnlineManagement Import-Module ExchangeOnlineManagement
#Update Set-Executionpolicy RemoteSigned -Scope Process Update-Module -Name ExchangeOnlineManagement Import-Module ExchangeOnlineManagement
Then we connect:
Connect-MsolService
Now get a list of deleted users:
Get-MsolUser -ReturnDeletedUsers
And here’s how we permanently purge all of them. Do this ONLY if you are certain. There is no going back after this.
Get-MsolUser -ReturnDeletedUsers | Remove-MsolUser -RemoveFromRecycleBin -Force
There are different methods for 365/Azure. But to get directly to Exchange Online from Powershell running on Windows, a current update of longstanding methods is as follows.
To install the module:
Set-Executionpolicy RemoteSigned -Scope Process Install-Module -Name ExchangeOnlineManagement Import-Module ExchangeOnlineManagement
To update the module:
Set-Executionpolicy RemoteSigned -Scope Process Update-Module -Name ExchangeOnlineManagement Import-Module ExchangeOnlineManagement
To connect:
Connect-ExchangeOnline -UserPrincipalName admin@domain.com
Current reference, including methods for MacOS and Linux as well:
learn.microsoft.com/en-us/powershell/exchange/exchange-online-powershell-v2
This one is a good basic, it prevents unwanted sleep and sets other helpful parameters. Not a performance setting, not a power-paranoia setting either! It does alter the current power scheme.
# General powercfg /change monitor-timeout-ac 0 powercfg /change monitor-timeout-dc 15 powercfg /change standby-timeout-ac 0 powercfg /change standby-timeout-dc 120 powercfg /change hibernate-timeout-ac 0 powercfg /change hibernate-timeout-dc 180 powercfg /change disk-timeout-ac 0 powercfg /change disk-timeout-dc 60 # Exposes and zeroes hidden "System unattended sleep timeout" # which can cause problems powercfg -attributes SUB_SLEEP 7bc4a2f9-d8fc-4469-b07b-33eb785aaca0 -ATTRIB_HIDE powercfg -setacvalueindex scheme_current sub_sleep 7bc4a2f9-d8fc-4469-b07b-33eb785aaca0 0 # Disable hybrid sleep both AC powered and DC powercfg -setacvalueindex scheme_current sub_sleep 94ac6d29-73ce-41a6-809f-6363ba21b47e 0 powercfg -setdcvalueindex scheme_current sub_sleep 94ac6d29-73ce-41a6-809f-6363ba21b47e 0 # Reapply current power scheme powercfg -setactive scheme_current
The Lazesoft Recovery Suite, version 4.5, was today able to reset a local password on a Surface Pro running Windows 10.
This one works very well:
Microsoft is loading Windows with gaming bits and other things which take resources. The last two builds of 10, and 11, have ‘winget’, which make it quite easy to remove other things:
Get-ProvisionedAppxPackage -Online | ` Where-Object { $_.PackageName -match "xbox" } | ` ForEach-Object { Remove-ProvisionedAppxPackage -Online -AllUsers -PackageName $_.PackageName } winget uninstall "Phone Link" winget uninstall "Movies & TV"
It’s a recent and active development, works very well, very nicely functional. Currently runs on Windows, macOS and Linux desktop computers, as well as on Android devices and Chromebooks. Uses the Sword Project repositories. The UI is a bit different than others, but it’s very well worth the learn.
This works well as of this writing.
[Net.ServicePointManager]::SecurityProtocol = "tls12, tls11, tls" md -Path $env:temp\edgeinstall -erroraction SilentlyContinue | Out-Null $Download = join-path $env:temp\edgeinstall MicrosoftEdgeEnterpriseX64.msi Invoke-WebRequest 'http://go.microsoft.com/fwlink/?LinkID=2093437' -OutFile $Download Start-Process "$Download" -ArgumentList "/quiet"
This is a change to a replacement URL, and it will hopefully be a more lasting kind than the previous. The above works for AMD64 Windows; the URL comes from here:
and there is support for other platforms on that page.