How to write a system service file in windows ?

Questions by Shakti Singh

Showing Answers 1 - 5 of 5 Answers

Mohammed mujeebur rahman khan

  • May 14th, 2014

With Windows File Protection active, replacing or deleting a system file that has no file lock to prevent it getting overwritten causes Windows immediately and silently to restore the original copy of the file. The original version of the file is restored from a cached folder which contains backup copies of these files

  Was this answer useful?  Yes

James Gambino

  • Jul 14th, 2014

Turn off read only in file properties, then Run Explorer as Administrator or you can exclude this file from File protection by moving the backup file or renaming it

  Was this answer useful?  Yes


  • Aug 31st, 2015

Is there a way in windows to lock a folder without using any external softwares like folder lock

  Was this answer useful?  Yes

Siva Ramakrishna Medikonda

  • Jan 7th, 2016

Step 1: Open Notepad
First of all open Notepad
Step 2: Copy and Paste
Just copy and paste it to the notepad
title folder-lock
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
echo Are you sure to lock this folder? (Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
ren MyFolder "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
echo Enter password to Unlock Your Secure Folder
set/p "pass=>"
if NOT %pass%== Hello1goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
goto End
echo Invalid password
goto end
md MyFolder
echo MyFolder created successfully
goto End
Step 3: Save It
Now save it as locker.bat
your saved file will look like this -
Step 4: Open That
Double click on locker.bat file
A new folder named "MyFolder" will be created.
Now move your all content to this folder.
Step 5: Lock
Done. Double click on locker.bat file and it will ask you for locking folder. Type y and hit enter.
Refresh and your folder will disappear means locked.
Step 6: How to Open
Double click on locker.bat File and now it will ask for password.
By default the password is Hello1. Enter it and your folder will appear.

  Was this answer useful?  Yes

Mohammad Tarique

  • Sep 19th, 2018

-First we have check system which Ip address getting APIPA so we applied Relaese and Renew command
-If system showing connectivity or red mark on network symbol so need to be check cable jack in jack from the system

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.


Related Answered Questions


Related Open Questions