Setting permissions for Application Pool Identity

IIS 7.5+ runs application pools using an Application Pool Identity rather than NETWORK SERVICE. To allow files to be created/modified you may need to change file permissions.

1. Open Windows Explorer
2. Select a file or directory.
3. Right click the file and select “Properties”
4. Select the “Security” tab
5. Click the “Edit” and then “Add” button
6. Click the “Locations” button and make sure you select the local machine. (Not the Windows domain if the server belongs to one.)
7. Enter “IIS AppPool\DefaultAppPool” in the “Enter the object names to select:” text box. (Don’t forget to change “DefaultAppPool” here to whatever you named your application pool.)
8. Click the “Check Names” button and click “OK”.

Note: Depending on IIS configuration you may need to add permissions for the application pool itself. Repeat the above steps but change AppPool\DefaultAppPool to AppPool\MyApplicationPool where the application pool is called MyApplicationPool

Remove cached credentials from Windows

The utility to delete cached credentials is hard to find. It stores both certificate data and also user passwords.

Open a command prompt, or enter the following in the run command:

rundll32.exe keymgr.dll,KRShowKeyMgr

Windows 7 makes this easier by creating an icon in the control panel called “Credential manager”

Remove One Drive from Explorer in Windows 10

Even if you disable One Drive it will still show in Explorer. The following registry change will remove One Drive from Explorer

  1. Open regedit
  2. Navigate to HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}
  3. Change the DWORD value of System.IsPinnedToNameSpaceTree too 0
  4. You may need to logout to see the change.

Remove Edge Extensions Using Powershell

Sometimes the extension Edge become ‘stuck’. They don’t work, Windows Store will attempt to reinstall, but they get stuck in a cycle. Using PowerShell the extension can be removed completely, then reinstalled, which should fix most problems. The below example will remove LastPass.

 

  1. Start PowerShell as an admin
  2. Enter Get-AppxPackage *lastpass* | Remove-AppxPackage

Re-activate Windows 10 after a hardware change

Microsoft introduced a new feature along with Windows 10 Anniversary Update. It’s now possible to link your Microsoft account with the Windows 10 digital license on your device. This allow quick re-activation through the Windows Activation Troubleshooter.

Link you account with a digital license

1. Go to Settings.
2. Click Update & Security
3. Click Activation
4. Click Add an account
5. Enter your MS account details and click sign-in
6. Once complete you will see “Windows is activated with a digital license linked to your Microsoft account”

How to use the troubleshooter to re-activate Windows 10

Once your account is linked your will be able to re-activate windows through the trouble shooter after a hardware change

1. Go to Settings.
2. Click Update & Security.
3. Click Activation.
4. If you see the activation status message: Windows is not activated, then you can click Troubleshoot to continue.
5. Click the “I changed hardware on this device recently” link.
6. Enter your Microsoft account credentials, and click Sign in.
7. You’ll need to enter you local account password if a Microsoft account hasn’t been added to your computer. Click Next to continue.
8. A list of devices associated with your Microsoft account will populate. Select the device you want to re-activate.
9. Check the “This is the device I’m using right now” option, and click the Activate button.

Devices and Printers hangs on Windows 7

If you find opening the Devices and Printers results in a blank window, it could be Bluetooth support is disabled. 

Check by typing services into the Search programs and files box on the start menu. 

From the Services window find Bluetooth support right click and select start. If it’s disabled you will need to enable it before the start option is available. 

Windows network share folder contents out of date

Some times when the content of a Windows network share folder is updated the changes are not seen on other machines. This can be caused directory cache life time running riot. A possible fix is to change the timeout of this cache so it updates more frequent.

The following registry will change the timeout

1. Run regedit.exe
2. Navigate to – HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters
3. Right click on Parameters. Select new and then DWORD (32-bit) Value
4. In the highlighted box type in : DirectoryCacheLifetime
5. Too disable the cache leave the value as 0, entering a value greater than 0 will update the cache that amount of minuets.
6. Close regedit
7. Restart your machine.

How to increase performance on Microsoft Surface devices

By default Microsoft Surface devices come with connected standby enabled. This improves battery life by controlling the sleep state of the device. However as a side effect only the basic power management options are available. To improve battery life some components such as the GPU and wireless adapter are prevented from reaching there full potential.

This guide will step through the process of creating a performance power profile allowing the Surface run at its maximum speed.

Disable Connected Standby

  1. Type in Regedit into the search window and answer yes to the User Account Control prompt.
  2. Navigate to HKEY_Local_Machine\System\ControlSet001\Control\Power; Alternatively hit [Ctrol + F] and search for CsEnabled (this will take around 10-20 seconds).
  3. Double-click CsEnabled and change Value data from 1 to 0 and click OK to save the changes.
  4. Do not reboot the PC just yet.

Create a custom power profile

  1. Type in Power Plan into the search window or right-click the battery icon and select Power Options.
  2. Select Create a power plan from the left menu.
  3. You must use Balanced as the reference plan and give it a unique name e.g. Gaming mode or Max Graphics and hit Next to save.
  4. Reboot.

Edit the power plan

  1. Right-click on the battery icon and choose Power Options.
  2. Select Change plan settings from the desired power plan (preferably your custom one).
  3. Select Change advanced power settings.
  4. Navigate to Intel(R) Graphics Settings.
  5. From the drop down on On battery and/or Plugged in choose Maximum Performance and hit OK to save the settings.

Re-enable Connected Standby

  1. Type in Regedit into the search window and answer yes to the User Account Control prompt.
  2. Navigate to HKEY_Local_Machine\System\ControlSet001\Control\Power; Alternatively hit [Ctrol + F] and search for CsEnabled (this will take around 10-20 seconds).
  3. Double-click CsEnabled and change Value data from 0 to 1 and click OK to save the changes.
  4. Reboot the PC.