- Open Local Group Policy Editor.
- Go to User Configuration / Windows Settings / Policy-based QoS.
- Right-click and hit Create new policy.
- Set DSCP Value to 1 and/or Outbound Throttle Rate to something appropriate.
- Set QoS policy to apply to applications with executable name onedrive.exe (or skydrive.exe, check your process list).
- Reboot, perhaps.
Note sure if it’s actually working though…
Needed to gracefully shut down a Windows 7 virtual machine I was connected to through Remote Desktop today and found there was no Shut Down option in the start menu. Apparently by design, generally a good thing, and luckily easy enough to get around:
- Press Ctrl + Alt + End.
- Use the shut down button there instead.
In Windows 7 there was a shortcut to Resource Monitor in the start menu, which meant you could launch it quickly through search. In Windows 8.1 this didn’t seem to be the case for some reason. Might have missed something… but found the shortcut for it on a Windows Server 2012 installation, and it worked just as nicely in Windows 8.1. So, note to self:
So after quickly making a shortcut to that in my menu, I’m once again back to launching it directly rather than through the button in Task Manager.
Needed to install two Windows Server 2012 R2 instances today, but didn’t have a valid production license key yet and didn’t seem like there was a way to skip the key in the setup. Found you can remove a license key using a command, so worked around it using a temporary dev key from MSDN for the installation and then removed that key afterwards. For future self-reference, here’s how…
- Open elevated command prompt
- To remove key
> slmgr -upk
- TO add new one
> slmgr -ipk NEW-KEY or use regular activation process
SourceTree comes with its own embedded Git and Mercurial. These are not available outside on regular command lines by default, but seems you can make them so by adding the following two paths to your
In Unix you have the touch command which you can use to update a files timestamp. No such thing in Windows. But instead, apparently, one can do this:
REM Updates the timestamp of the file
copy /b filename.ext +,,
REM Creates a new empty file
echo $null >> filename.ext
If you need it more than seldom there are also some more tricks in the StackOverflow sources below.
Windows equivalent of the Linux command ‘touch’?
Equivalent of Linux `touch` to create an empty file with PowerShell?
The Network and Sharing Center in Windows 8 is kind of useless in many ways. There is for example no way to change the name, so you might be stuck with a dumb “Network 3” identity. There’s also no way to change between the Public and Private types if you want to change what you selected when you initially connected to the network.
So, on your own responsibility, here’s where to find those profiles in the Registry Editor.
- HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\Windows NT \CurrentVersion \NetworkList \Profiles
Of particular note is the ProfileName and the Category. The last one can have the following values: