Or how to run a command with elevated privileges on Windows.
Tried to run a
chkdsk this morning via a Windows account that wasn’t in the Administrators group and found out that I couldn’t do so. This was when I chanced, by searching t’internet, upon the Control (Ctrl), Shift and Enter magic key combination, never heard of this! Using these keys, instead of just Enter, runs the selected command with Admin privileges, fab!
Trying to find a file by filename and file type and getting matches that include the filename and type as well? Windows 10 search seems to have taken a step backwards by being “helpful” in search file contents and filenames, or types, when you use the search box.
Then you need to use the “name” keyword in the quick search box. The name option has two ways of being used:
name: web.config” This does what you don’t want! i.e. it returns files that contain the words “web” and “config”, but it doesn’t return files that have file contents including those words.
name:= web.config” This command will return only matches for “web.config” nothing else.
Currently have an issue where most of the time shutting down the PC just performs a restart, annoying to say the least, been going on since late 2018.
I’m currently trying out this solution to see if it can be resolved.
6-Dec-19: A couple of test shutdowns later and it seems to be working, one to monitor.
If so then, for the future, to enable you re-install Windows 10 you will need, before the free offer expires, to register your devices and their Digital Licences with your Microsoft Account.
If you already log into Windows 10 using your Microsoft Account then this has already happened and fresh installs will use that information when it comes to activating your Windows installation.
But if you haven’t then you need to do so ASAP, the free upgrade ends on the 29th July, 2016.
So if you use a local account to login then you need to go to Settings -> Update & security -> Activation and sign in with your Microsoft Account to associate that device and the Digital Licence
If you then want to auto login to Windows, without entering your password, then do the following:
- Press the Windows key & R, to bring up the run dialogue
netplwiz, and press enter
- Uncheck the “Users must enter a user name and password to use this computer” check box
- Click on “Apply”
- Enter your Windows account password, ignore the local user name displayed and do not enter the old password
- Reboot the PC, and all should be done