Disable USB power after shutdown

  after i updating bios on my gaming pc the bios reset this setting so that is b ports are powered after shutdown   1. Power up or restart the PC and repeatedly press the DELete key to go into the BIOS settings. 2. Use right arrow key to move to the POWER tab 3. Arrow down to the menu item "APM Configuration" 4. Look for "EUP Ready" and "enable" it. 5. Save and EXIT. "EUP" stands for "Energy Using Products"...
Read More

Permissions error when installing dropbox

Hit Windows + R 2. Type regedit and hit enter 3. Navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\Cryptography\Protect\Providers\df9d8cd0-1501-11d1-8c7a-00c04fc297eb 4. In the folder, right click and hit New > DWORD (32 Bit) Value 5. Name it 'ProtectionPolicy' 6. Right click 'Protection Policy' 7. Hit Modify and change the value to 1 and select Base: Hexadecimal Reboot then install dropbox ...
Read More

Prevent windows updates restarting the computer

Open you start menu and type Group, then click Edit group policy Expand Computer Configuration \ Administrative Templates \ Windows Components \ Windows Update Double click Configure Automatic Updates and enable the policy, and configure it as needed. configure automatic updating Enabled 3 - auto download and notify for install Head back to Windows Update and click Check for updates, once it is done click on the Advanced options You should see your new settings being 'enforced.' When it finished downloading, you get a toast notification that there are updates and you need to install them. Note that you must click install now. Restarting or shutting down from the start menu does not appear to trigger the install process.   option 2 Press Win + R and type regedit then hit Enter Navigate to HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU (you may need to create the keys manually if they don't exist) Create a new DWORD value called AUOptions and enter a value of either 2 or 3.2 = Notify before download 3 = Automatically download and notify of installation Restart PC Check for updates Inspect Advanced Settings option 3 Task Scheduler. Click Start and type Task Scheduler Navigate to Task Scheduler Library >> Microsoft >> Windows >> UpdateOchestrator To disable automatic reboots right-click on Reboot and select disable.    ...
Read More

Hyper-V get VM VHD Used and Provisioned Storage

Open Powershell as admin   Get-VM | ForEach { $Vm = $_; $_.HardDrives } | ForEach { $GetVhd = Get-VHD -Path $_.Path [pscustomobject]@{ Vm = $Vm.Name Name = $_.Name Type = $GetVhd.VhdType ProvisionedGB = ($GetVhd.Size / 1GB) CommittedGB = ($GetVhd.FileSize / 1GB) } } | Export-Csv -Delimiter ";" -Path "C:\temp\VMVHDStorageUsedTotal.csv"   Creates CSV with data in one column, select column in excel, go to data tab, then text to columns > Delimiter > Semicolon Excel file would look like this: Vm Name Type ProvisionedGB CommittedGB GW1 Hard Drive on IDE controller number 0 at location 0 Dynamic 60 45.12890625 GW2 Hard Drive on SCSI controller number 0 at location 0 Dynamic 40 28.97265625 ...
Read More

Office 365 – check which mailboxes a particular user has access to

Connect to 365 via powershell $UserCredential = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection Import-PSSession $Session -DisableNameChecking.   Get-Mailbox | Get-MailboxPermission -User userA UserA would be the user that you want to know for instance; What mailboxes does Matt have access to would be as follows: Get-Mailbox | Get-MailboxPermission -User matt  ...
Read More