Trending February 2024 # Use Cortana To Restart, Log Off, Hibernate, Shutdown, Sleep, Lock Windows Computer # Suggested March 2024 # Top 5 Popular

You are reading the article Use Cortana To Restart, Log Off, Hibernate, Shutdown, Sleep, Lock Windows Computer updated in February 2024 on the website Eastwest.edu.vn. We hope that the information we have shared is helpful to you. If you find the content interesting and meaningful, please share it with your friends and continue to follow and support us for the latest updates. Suggested March 2024 Use Cortana To Restart, Log Off, Hibernate, Shutdown, Sleep, Lock Windows Computer

When Cortana made its debut on Windows 10 PCs, it generated much enthusiasm among Windows loyalists. It was touted as more than a simple search feature. The digital voice assistant helped make things simpler. However, one feature that largely remained out of the requests by users was ability of Cortana to be able to shut down computers. This article covers this shortcoming of Cortana. and shows readers how they can use Cortana to restart, log off, hibernate, sleep, lock or shutdown their Windows PC, by creating shutdown, restart, log off shortcuts.

UPDATE: Starting with the Windows 10 Fall Creators Update, you can shut down, restart, or sleep your PC simply by saying any of these:

Hey Cortana, lock my computer

Hey Cortana, shut down my computer

Hey Cortana, restart my computer.

Shut down Windows using Cortana

Having set up Cortana, open Windows File Explorer and navigate to the following location:

In the location field that appears on the computer screen, type the following:

shutdown.exe -s -t 10

This will initiate the shut down process after 10 seconds.

If you wish to shut down right away, simply use:

shutdown.exe -s

Name the Shortcut Shut Down.

Once you are done with creating the shortcut, say Hey Cortana and then say, Open Shut Down. You can use Open, Start  or Launch voice commands.

Following this action, you’ll see Windows initiate the shut down process.

Use Cortana to Restart Windows

If you would like to restart your Windows computer using Cortana, you can use this command –

shutdown.exe -r

and name it as Restart.

Now say Hey Cortana and then Open Restart. Again, here too you can use Open or even Start or Launch voice commands.

You PC will restart.

Log off Windows using Cortana

If you would like to log off your Windows 10 computer using Cortana, you can use this command –

shutdown.exe -L

and name it as Log Off.

Now say Hey Cortana and then Open Log Off. Here too you can use Open or even Start or Launch voice commands.

Hibernate using Cortana

To Hibernate your computer, use the following command to create a shortcut and name it Hibernate:

rundll32.exe chúng tôi SetSuspendState

Then say Hey Cortana and then Open Hibernate.

Sleep computer using Cortana

To Hibernate your computer, use the following command to create a shortcut to Sleep your Windows computer, and name it Sleep:

rundll32.exe powrprof.dll,SetSuspendState 0,1,0

Now say Hey Cortana and then Open Sleep.

If something does not work for you, open CMD and run powercgf -a and see if your computer supports that power state.

Lock computer using Cortana

To Lock your computer, use the following command to create a shortcut to lock your Windows computer, and name it Lock:

rundll32.exe user32.dll,LockWorkStation

Now say Hey Cortana and then Open Lock.

Can Cortana restart my computer?

Yes, Cortana can restart your computer if you are using Windows 11 or Windows 10 Fall Creators Update or later versions. Earlier, you needed to use some commands to restart or shut down your computer. However, now you can simply say restart my computer or similar commands to restart or shut down your PC using Cortana.

Can Cortana shut down computer Windows 11?

Yes, Cortana can shut down the computer if you are using Windows 11. You need to open Cortana first. Then, you can use commands like shut down my computer or restart my computer or something like that. Although you needed to use various commands to set things up, now there is no need to do that.

You can also add other new voice commands to Cortana with Cortanium app.

More Cortana Tips & Tricks here.

You're reading Use Cortana To Restart, Log Off, Hibernate, Shutdown, Sleep, Lock Windows Computer

Turn Off Shutdown Confirmation Dialog Box In Ubuntu

Note:

1. Even though we are showing this in Ubuntu 14.04, this tip should work in other recent versions too.

2. Turning off the shutdown and restart confirmation dialog box will also turn off the confirmation dialog box for logging out and locking your Ubuntu machine.

Turn Off Shutdown and Restart Confirmation Dialog Box

Before doing anything, if you observe the options under the power button, you will find that there is no Restart option by default. This is because the Restart option is found in the confirmation dialog box. After you disable the confirmation dialog box, the restart option will appear in the list of options.

In order to turn off the Shutdown and Restart confirmation dialog box in Ubuntu, we need to change an indicator-session setting. To do that, open your Ubuntu terminal and type:

Once you press the Enter button, the confirmation dialog box will be disabled immediately. There is no need for you to restart or log off. Once you are done executing the command, you can safely close the terminal.

As said before, if you press the power button in the top panel, you will see that the Ubuntu has automatically added a Restart option so you can quickly restart whenever you want.

In the future, if you ever want to re-enable the Shutdown and Restart confirmation dialog box, just replace the value “true” with “false” in the above command. Once replaced, the command will look like this:

Once you have executed the above command, Ubuntu immediately enables the shutdown and restart confirmation dialog box. There is no restart or log off required to see the changes.

Vamsi Krishna

Vamsi is a tech and WordPress geek who enjoys writing how-to guides and messing with his computer and software in general. When not writing for MTE, he writes for he shares tips, tricks, and lifehacks on his own blog Stugon.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Sign up for all newsletters.

By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. We will not share your data and you can unsubscribe at any time.

Automatically Lock & Unlock Your Computer With Gatekeeper

How many times have you walked away from your computer at home or work and forgot to lock it? If you’re around people you trust, this may not be an issue for you. However, if you have nosy co-workers, family members or house-mates, then you’ll definitely want to think twice.

GateKeeper is a tool that helps to keep your computer safe. It does this by automatically locking your computer when you walk away and unlocking it when you return.

By using GateKeeper, you won’t have to worry about or wonder if you locked your computer because once you’re a certain distance away from the USB Lock; the Key will disconnect and automatically lock it for you.

Before Getting Started

In the GateKeeper box you’ll find a Key, USB Lock, two CR2032 batteries (one is a spare), a key ring and a quick start guide.

Before setting up GateKeeper on your computer, you’ll need to power up the Key. You do this by opening the back cover and inserting one of the included batteries.

When opening the Key cover, I noticed that it was a bit difficult to take off. Plus, it seems like it can easily be snapped or broken if too much force is used; so you’ll need to be extra careful.

Once the cover is back on, it’s safe to insert the USB Lock into a USB slot on your computer. It’s best to use one that is closest to you so that the Lock can easily connect to and communicate with the Key.

Setting Up the GateKeeper Key

Next you’ll need to download and install the GateKeeper software. It’s available for Windows 7, 8 and 8.1, as well as Mac OS X (version not specified). For the purpose of this review, Windows 8.1 was used.

While the GateKeeper setup is running, you’ll also see a Device Driver Installation Wizard window. This is so that you can install the software driver for the USB lock. You may also see a Windows Security window appear, asking if you’d like to install the device software from “Texas Instruments, Inc” (GateKeeper’s Publisher); be sure to “install” it.

Once everything is installed, you can open the GateKeeper application.

Finally, you can go back and set your preferred Lock Distance. When you’re done, be sure to save and close the window. As long as the GateKeeper window is open, your computer will not lock and you won’t be able to test it.

Getting the perfect distance to suit your preference will take some trial and error. It’s best to have someone else help; they can sit at your computer and watch for the screen to lock and unlock while you walk back and forth to see how long each distance takes.

While testing, I found that the Key needed to be out in the open to best communicate with the Lock. Keeping it in my pocket or balled up in my hand, caused unwanted actions (randomly locking, not locking or unlocking at all). To combat this, I sat the Key closer to the USB lock while the computer was in use, which stopped it from randomly locking and unlocking the screen.

GateKeeper On Your Mobile Device

GateKeeper also has an Android and iOS app that works in conjunction with the Key. It enables users to locate and track objects. Unfortunately, I could not get the Android app to work; it would not detect my Key in order for me to add it. Being able to keep up with your valuables is definitely an added bonus – if you can get it working.

Final Thoughts

Needless to say, GateKeeper provides some beneficial features. It’s easy to set up and even easier to use. Although I did find it a bit buggy at times, it does provide a convenient extra layer of security to your computer and is a joy to use.

GateKeeper

Charnita Fance

Charnita has been a Freelance Writer & Professional Blogger since 2008. As an early adopter she loves trying out new apps and services. As a Windows, Mac, Linux and iOS user, she has a great love for bleeding edge technology. You can connect with her on Facebook, Twitter, Google+, and LinkedIn.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Sign up for all newsletters.

By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. We will not share your data and you can unsubscribe at any time.

How To Use Spotlight Lock Screen Wallpapers As Desktop Wallpapers On Windows 11.

If you love all the images from the Microsoft Spotlight collection (Windows lock screen wallpapers) and would like to use them as your everyday desktop wallpapers. This article will show you two different ways you can start using images from the Spotlight collection as standard wallpapers on Windows 11. The first option is using built-in tools, the second option requires third-party tools.

Related: How to do a full virus scan with Windows Defender on Windows 11.

The spotlight collection of lock screen images on Windows 10 and 11 is one of the best image collections currently available. It randomly rotates through a large collection of fantastic natural scenery and landscapes and has been designed for use on a range of different screen resolutions. Anyone who has used a Windows 10 device will be familiar with some of Spotlights popular images.

How do you set Spotlight lock screen images as Windows 11 desktop backgrounds?

To start using images from Spotlight as your desktop wallpaper, you’ll need to make sure you have the latest version of Windows 11 installed on your device. Once you have updated to the latest version, you’ll need to do the following.

First press the Windows Key + I to open Settings.

Next, change to the Personalise tab in the left-hand pane.

Here you will see a drop-down menu at the top of the page next to the Personalize your background heading with several different options. Select the Spotlight collection option and Windows 11 will update your desktop with images from the Spotlight collection.

As of writing the option is currently available to insiders in the following countries in Dev build 22518.

Australia, Canada, China, Finland, France, Germany, India, Italy, Japan, Korea, Norway, Spain, Sweden, the U.K, and the U.S. As usual, like other features, new features will be delivered first to Dev insiders for testing and further for feedback, after that to beta and release preview, and then after to public. This may take weeks but could also take months. Microsoft is pretty hit and miss with rolls outs. Just keep checking for updates and you’ll have access to the Spotlight desktop wallpapers on windows 11 soon enough.

More Windows 11 guides and solutions.

If you are new to Windows 11 or just want to know more about the changes and configurations you can do. Make sure you check out our full list of Windows 11 guides here. Although Windows 11 seems very similar to Windows 10, there are quite a lot of subtle changes that go far deeper than the initial design changes of Start, settings, and the desktop.

Reinstall Cortana: “Hey Cortana” Not Working – How To Fix?

Cortana is the voice assistant provided with Microsoft Windows 10 and up until build number 1809 it was integrated within the Search as well. That means you could search for any kind of file or internet query without leaving your desktop.

Cortana can be used to perform a lot of functions with a simple voice command if configured correctly. After updating Windows, some users are reporting that Cortana isn’t working as usual and shows up errors like “Critical Error Cortana isn’t working. We’ll try to fix it the next time you sign in.”

The most usual reason is a problem with Microsoft Credentials. Faulty credentials can interfere with Cortana running properly, thereby causing the error.

There are some fixes you can apply that will help you resolve the error Hey Cortana not working.

After you install an app or update your Windows to the latest version, the permissions required to access Cortana may be changed. To review these changes, do the following:

In the Cortana settings, make sure the checkboxes next to Let Cortana respond to “Hey Cortana” and Use Cortana on Lock Screen is checked.

Your username and password play a major role in integrating the software experience in Windows 10. Faulty credentials can lead to the Cortana app not working as it is supposed to work.

Sign out of your Microsoft account and log in again to your system to reset the Microsoft credentials to its new values.

Some minor runtime errors can conflict with Cortana effectively prevent it from performing normally.

A simple restart of the Cortana process should be enough to fix a small runtime error.

Open Task manager from the WinX Menu.

Since Cortana is deeply built into the Microsoft Windows 10, it is impossible to simply uninstall Cortana. You can, however, re-register the Cortana into your Microsoft Inventories to reset it.

To re-register Cortana you need to input a command into PowerShell that will reinstall and re-register Cortana for the available users.

To reinstall Cortana for the Current User:

Type the following command into the PowerShell input field and press Enter:

To reinstall Cortana for all Users:

Type the following command into the PowerShell input field and press Enter:

After you press Enter, you will see a Deployment Operation Progress message. Once the process finishes, you should be good to go.

With every new update, Microsoft adds new features and languages to be compatible with Cortana. In case you might have missed an update, install the latest versions of Windows provided through the ‘Update’ portal.

Every new update brings certain changes to the Registry keys and values that may change the way certain apps work.

Open Registry Editor. Type regedit in Command Prompt and press Enter.

Navigate to the following path and check the registry values to eliminate the possibility of a registry error:

ComputerHKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionSearch

In older versions:

Locate the entries titled BingSearchEnabled and CortanaEnabled.

Set their Value data to 1.

In v1809 and later:

These keys have been removed as part of the update and the new keys responsible for the error hasn’t been tested out yet. But make sure these following values are set to the mentioned values:

Name

Value Data

CortanaConsent

1

CortanalsReplaceable

0

IsMicrophoneAvailable

1

VoiceShortcut

1

We will update this post when the exact registry keys causing the error are identified. Till then confirm these values are set to the mentioned value as these are required to run Cortana efficiently.

Cortana and Search are very useful features that can let you navigate to any part of the Windows without leaving the Desktop. However, Cortana not Running can be annoying as it hampers the usability of the Search. Now you know what fixes you can apply to the ‘Cortana not working’ error to resolve it. Comment below to further discuss the problem and if you have any queries.

How To Enable Hibernate In Ubuntu 12.04

Why Hibernate is disabled by default in Ubuntu 12.04?

Some of you who are used to the Hibernate feature in Ubuntu might be asking “why is this missing in Ubuntu 12.04?”

The reason behind this is because Ubuntu’s Hibernate feature has always not been working well in many computers. For new hardware models, the Hibernate feature often don’t work by default. In some instances, the Hibernate feature will even lead to data loss. The rationale behind the removal of the Hibernate button is:

For Ubuntu to present a Suspend function that doesn’t work is unprofessional, and presenting a Hibernate function that doesn’t work (and destroys data by never waking up) is even worse.

After much discussion and debating, the final decision is to disable Hibernate by default on all computers, unless the computer is on a whitelist. The whitelist will include all “Ubuntu Certified” computers that have been tested and proven to work with the Hibernate feature. So if you are not seeing the Hibernate button, most probably your PC is not “Ubuntu Certified”.

Where to access the Hibernate feature?

How to get back the Hibernate feature?

If you are not sure if your PC supports the Hibernate feature, open a terminal and type pm-hibernate. If your PC succeed in going to Hibernate mode and you have no problem waking it up, your PC supports the Hibernate feature. You can then proceed to the next step to restore the Hibernate option.

In the terminal and open the following file:

sudo

nano

/

etc

/

polkit-

1

/

localauthority

/

50

-local.d

/

com.ubuntu.desktop.pkla

Add the following:

[

Re-enable hibernate by default

]

Identity

=unix-user:

*

Action

=org.freedesktop.upower.hibernate

ResultActive

=

yes

Save (Ctrl + o) and exit (Ctrl + x).

Restart the PC. The Hibernate option should return now.

Damien

Damien Oh started writing tech articles since 2007 and has over 10 years of experience in the tech industry. He is proficient in Windows, Linux, Mac, Android and iOS, and worked as a part time WordPress Developer. He is currently the owner and Editor-in-Chief of Make Tech Easier.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Sign up for all newsletters.

By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. We will not share your data and you can unsubscribe at any time.

Update the detailed information about Use Cortana To Restart, Log Off, Hibernate, Shutdown, Sleep, Lock Windows Computer on the Eastwest.edu.vn website. We hope the article's content will meet your needs, and we will regularly update the information to provide you with the fastest and most accurate information. Have a great day!