Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
6 views11 pages

Windows

The document outlines a series of tasks and solutions related to configuring and managing Windows and Linux systems. It includes instructions for tasks such as configuring Microsoft Edge, scheduling backups, using disk utilities, and executing Linux commands. Each section provides step-by-step guidance for completing specific system administration tasks.

Uploaded by

sdesktop198
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views11 pages

Windows

The document outlines a series of tasks and solutions related to configuring and managing Windows and Linux systems. It includes instructions for tasks such as configuring Microsoft Edge, scheduling backups, using disk utilities, and executing Linux commands. Each section provides step-by-step guidance for completing specific system administration tasks.

Uploaded by

sdesktop198
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

MCSL 204 – Windows Set 1

1. (a) Configure new version of Microsoft edge.


(b) Open the calendar App and add New Events (any three) and select proper
time, save and close.
(c) Schedule a back-up to include the system image.
(d) Use Disk fragmenter utility to locate and eliminate unnecessary fragments.
(e) Configure and manage the updates in WINDOWS.

Solutions :- 1.(a) :- new version of Microsoft edge


* download the latest version from http://www.microsoft.com/edge
Run the installer and complete the setup
Open a edge application
Go to setting
Go to profile , here you can sign in with your account and keep synch on
Import the browser data like chrome or firefox
Or else also import password
 If updates are available it will auto update (goto about ms edge)
 Start , home and new tab page (when edge starts open these pages)
 appearance
 install extension (open Microsoft edge ad-ons)
 configure downloads, change default download location if required

schedule a backup that include system image


 go to control panel click on backup and restore file (windows 7)
 setup a backup
 select where you want to store the
 click next
 change schedule choose how often daily weekly monthly
using task scheduler :-
create a new task  system image backup  under security option  select
whether user is logged in or not  check run with highest privileges
set the trigger  click new choose daily /weekly / monthly
set the start date and time  click on ok

set the action  go to action tab and click new  in action select program 
in program or script  wbadmin & in add argument type :-
start backup -backupTarget : E : -include:C: -allCritical -quiet
explanation
-backupTarget:E:  Destination Drive
-include:C:  drive to backup
-allCritical include system image (boot files, recovery partition, etc)
-quiet  runs without asking for confirmation
Click ok

Now test the task

 right click on your new task  run


 check your backup destination after it completes
 you should be able to see WindowsImageBackup folder

use disk fragment utility to locate and eliminate unnecessary fragments


go to defragment and optimize drives
select drive to analyze
after analyzation is more than 10 % click optimize
the utility will rearrange file fragments so files will be stored contiguously
automate the process :- in the window, click change setting under scheduled
optimization , ensure run on a schedule is checked , choose frequency daily,
weekly or monthly , select which drive to include

please do this using command prompt


to check fragment :- defrag C: /A
To defragment :- defrag c: /O

 /A  Analyze only
 /O  Optimize (defrag for HDD, trim for SSD)
 MCSL 204 – Windows Set 2
1. (a) Configure system recovery.
(b) Schedule a backup to include system image.
(c) Uninstall an app which is not useful, as such.
(d) Update a device driver.
(e) Use disk clean-up utility.

Solution :-

1. Configure system recovery

Go to sysdm.cpl
Under system protection tab  configure
Turn on windows protection
Adjust max usage (recommend 5 to 10 % of drive ) this is the space for restore point

For manual restore point create option


Go to system restore option to restore
Or
Windows I  system  recovery  under advanced startup  click restart now 
troubleshoot  advance option  system restore

(e) use disk clean-up utility


Clean mgr
Use the drive to clean click on OK
This will scan and display list of file categories such as
 Temporary internet files
 Downloaded program files
 Recycle bin
 Temporary files
 Delivery optimization files
Check the boxes or files you want to delete

Clean up system files optional


Click clean up system files
Reselect the drive
Now you will see extra categories such as
 Windows update cleanup
 System error memory dump
 Old windows installation (windows.old)
 Select what you want to remove  ok  delete files.

Command line alternative

Cleanmgr /sageset:1
Cleanmgr /sagerun:1
/sageset:1  opens disk cleanup with all option to configure
/sagerun:1  runs cleanup with the previously saved settings
 MCSL 204 – Windows Set 3

1. (a) Personalize your windows desktop.


(b) Download an App and configure it.
(c) configure the “STARTUP” option.
(d) Use Windows Defender.
(e) Configure Remote Management Settings.

Solution :-

Use windows defender

Solution :-

Open windows security – verify that all areas folder show no action needed or protected
Key areas include :-

1. Virus and threat protection


2. Account protection
3. Firewall & Network protection
4. Apps and browser control
5. Device security

Click on virus and threat protection click quick scan to check common threat locations
It will quarantine and remove automatically

Configure Remote management settings

Solution :-

Initially go to setting remote desktop setting – allow remote connection

Windows run mstsc


Enter hostnameof the system to take remote connection

 MCSL 204 – Windows Set 4

1. (a) Use Cortana to search for an app.


(b) Change the date and time.
(c) Configure the desktop settings, startup settings, start menu and display settings.
(d) Use disk defragmenter utility.
(e) Use disk clean-up utility.
Solution :-

Open Microsoft store and install cortona


Click on cortona icon (say hey cortona if voice activation is enabled )
Speak:-

Open ms excel
Cortona will locate the app and open it

Enable voice activation :-


Enable let cortona respond to cortona keyword

MCSL 204 – linux Set 1

2. Write and execute the following LINUX commands: 5×2=10


(a) To display the current directory.
(b) To display the last 2 lines of a text file.
(c) To encrypt a datafile with a private key.
(d) To show date and time.
(e) To delete a file from a sub-directory.
3. Write a shell program to find sum and average of all the elements given as
input.

Solution :-

Current directory – pwd


Display last 2 lines of text file :- tail -n 2 filename.txt
To encrypt data files with private keys :-

Generate a private key :-

To show date and time :-date

To delete a file from sub directory :-

Cd path/to/subdirectory

Example :- cd document/testfolder

Now if you are inside subdirectory

Rm filename

. Write a shell program to find sum and average of all the elements given as
input.
Solution :-

MCSL 204 – linux Set 2

2. Write and execute the following LINUX commands: 5×2=10


(a) To display the disk space used by files and directories.
(b) Use any screen editor to create a file “abc” and write “hello world”.
(c) To run a program at specified intervals.
(d) To rename a sun-directory.
(e) To compare two binary files and report if there are different.
3. Write a shell program to display all the file names starting with “a” in the
current directory. 10

Display disk space used by files and directories :-

Du

Du -h

Here h is human readable (kb mb gb)

Du -sh

Du -h –max-depth=1

Using nano
Open terminal
Nano abc
Hello world
Using vi
Vi abc
Hello world
:wq

Open cron editor


Crontab -e
*/5 * * * * /path/to/program
This means run the program every 5 miniutes

To rename a sub directory

Mv old_directory_name new_directory_name

Mv myfolder mynewfolder

If a directory inside another folder

Mv /home/user/oldname /home/user/newname

To compare 2 binary file and report if there are different

Cmp file1 file2

Cmp data1.bin data2.bin

If files are identical cmp shows no output

If files are differ, it shows byte and line number

Data1.bin data2.bin differ: byte 5, line 1

MCSL 204 – linux Set 3

2. Write and execute the following LINUX commands: 5×2=10


(a) To run a program at a later time.
(b) To kill any background process.
(c) To restart suspended job in foreground.
(d) To summarize free space on disk drive.
(e) To run a process in background.
3. Write a shell script that searches a particular pattern (given by user) in the
text file and display the count of no. of times it occurred in that file.

Run a prog at later time ( run a script at 3:30 pm)

Make sure that at is installed and service is running


Sudo apt install at
Sudo systemctl enable –now atd
At 15:30
./myscript.sh
Press ctrl + d to save and exit
Atq (check scheduled jobs)
Atrm <job_id>

Kill any background process

Ps aux (use ps to list running process)


Kill <PID>
Kill 1234
Kill -9 <pid> (force kill if it doesn’t stop)
If you know the process name
Pkill process_name
Ex :- pkill firefox

To list suspended jobs


Jobs
[1]+ Stopped nano abc.txt
[2]- Stopped python script.py

Bring a specific job to the foregraound

Fg %job_number
Fg %1
Fg

To summarize free space on disk drives

Df -h

( df = displays disk space usage -h = human redable)

Df -h –total

To run a process in background

Gedit myfile.txt &


Jobs
Fg %job_number
Bg %job_number

MCSL 204 – linux Set 4

2. Write and execute the following LINUX commands: 5×2=10


(a) To list previously executed commands.
(b) To open a manual page for knowing the details of “ls” command.
(c) To show online summary of system status.
(d) To count characters in a text-file.
(e) To set file permissions of any file to r, w, x for all.
3. Write a shell program to combine any two files into a single file (appending)
in the order they appear in the arguments and display the word count of the
resultant merged file. 10

Solution :-

History
History 10
History | grep keyword
Ctrl + r

Man ls (opens the manual pages)

Ls –help

Top (displays a real time summary of cpu usage)


Htop

If not installed run sudo apt install htop

Wc- m filename.txt

(wc  world count utility ; m  count the number of characters in the file )
To set file permissions of any file to r, w, x for all.

r- read
w- write
x- execute

chmod 777 filename

chmod (change file mode permission)


777 gives full permission

You might also like