Showing posts with label Tips and Tricks. Show all posts
Showing posts with label Tips and Tricks. Show all posts

Friday, 22 March 2019

How to automatically shut down computer using Task scheduler(without batch file)

You might forget to shut down your computer while leaving office or your students might forget to shut down computers in lab. In either case, you may want to shut down the computers after they are in use and you know they won’t be in use for a specific period of time. So you plan to shut down all computers at a specific period of time. Here is a simple tutorial to do so.
In this first method, I will do the job without creating a BAT file.

Step 1: Open Task Scheduler. Click on Create Basic Task


Step 2: Give a name to your task say, “ShutdownPC” and press Next button.


Step 3: In next window, Choose Daily option. And click Next button.


Step 4: In next windows, set time when computer should shut down.Leave everything as it is. And press Next button.


Step 5: Now choose action from next windows. In our case, choose first option, Start a program and press Next button.


Step 6: Next window asks to provide program to start . In this case, it is shutdown.exe. After browsing shutdown.exe program and adding ‘/s’ in Add arguments field, click Next button.


Step 7: Next window gives a summary of our scheduled task. Click Finish button.

Done!

In next post, i will post about the same topic but using batch file.

Thursday, 21 March 2019

Make a file read-only to prevent changes


Read-only files have special property that their contents can't be modified, instead it can be read.
These files can also be copied, moved, renamed or deleted.
Following is the step-by-step procedure to make a file read-only:-
Step 1: Right click on the file you want to make it read-only and click Properties.


Step 2: Select General tab and look for Read-only check-box.

Step 3: Check Read-only box and click OK.


This way you can avoid unintentional or unauthorized changes in files.

Wednesday, 20 March 2019

How to enable hidden administrator account


This step-by-step article describes how to enable the built-in administrator account.
Method 1: Using Command Prompt
To enable the built-in administrator account, follow these steps:
Step1: Click Start, type cmd in the Start Search box. In the search results list, right-click Command Prompt, and then click Run as Administrator.
When you are prompted by User Account Control, click Yes.
Step2: At the command prompt, type net user administrator /active:yes, and then press Enter.
Step 3: Type net user administrator <actaulPassword>, and then press Enter.
Step 4: Close Command Prompt.
Step 5: Log off the current user account and you will be able to login using administrator account.


Please comment if you find anything incorrect, or you want to improve the topic discussed above.