Automatically encrypt EFS in Windows XP, Vista or Windows 7
TipsMake.com - In the article below, we will show you how to create scripts to automate the EFS standard data encryption process of user accounts every time they log in . The purpose of encryption in this way is to protect confidential documents, information of individuals, organizations or companies, then back them up on external storage devices.
Specifically, the following code will perform some functions such as:
- Encrypt all data in the My Documents folder, Outlook - this is also the default storage of * .pst and * .ost files in Outlook 2000, Outlook 2003.
- Export all output data from the script to another file, in the My documents folder of the user account, with a specific name in the form % computername% .efs
How to do it on Windows XP:
REM @echo off
REM EFS MyDoc & Outlook EFS Encryption Script Version 1.1
REM http://www.groovyPost.com
REM
REM Script Created by MrGroove (groovyPost.com)
REM
REM chương trình này là free software; không thể được redistributed
REM không có quyền của groovyPost.com
REM
echo ***** >> "% userprofile% my documents% computername% .efs"
REM EFS Encryption Script Version 1.1
REM ================================================= =====
REM First, let's tạo một tập tin để lưu các việc làm việc làm việc cho history
echo ****** >> "% userprofile% my documents% computername% .efs"
echo ****** >> "% userprofile% my documents% computername% .efs"
REM ================================================= =====
echo% date%% time% >> "% userprofile% My documents% computername% .efs"
REM ================================================= ==
Đang hiện thời được tiếp tục để cập nhật các tập tin để kiểm tra không có tập tin tập tin có tập tin cũ
cipher / u >> "% userprofile% My documents% computername% .efs"
REM ================================================= ==
REM Begin encryption of the "My Documents" folder
cipher / a / e / h / i / q / s: "% userprofile% My Documents" >> "% userprofile% My documents% computername% .efs"
REM ================================================= =====
REM Begin encrption of the "Outlook" folder where the OST and PST files are stored
cipher / a / e / h / i / q / s: "% userprofile% Local SettingsApplication DataMicrosoftOutlook" >> "% userprofile% My documents% computername% .efs"
REM ================================================= =
REM More House Keeping
echo% date%% time% >> "% userprofile% My documents% computername% .efs"
echo ****** >> "% userprofile% My documents% computername% .efs"
echo ****** >> "% userprofile% My documents% computername% .efs"
REM ================================================= =
REM ================================================= =
REM All Done!
REM EFS MyDoc & Outlook EFS Encryption Script Version 1.1
REM http://www.groovyPost.com
REM
REM Script Created by MrGroove (groovyPost.com)
REM
REM chương trình này là free software; không thể được redistributed
REM không có quyền của groovyPost.com
REM
echo ***** >> "% userprofile% my documents% computername% .efs"
REM EFS Encryption Script Version 1.1
REM ================================================= =====
REM First, let's tạo một tập tin để lưu các việc làm việc làm việc cho history
echo ****** >> "% userprofile% my documents% computername% .efs"
echo ****** >> "% userprofile% my documents% computername% .efs"
REM ================================================= =====
echo% date%% time% >> "% userprofile% My documents% computername% .efs"
REM ================================================= ==
Đang hiện thời được tiếp tục để cập nhật các tập tin để kiểm tra không có tập tin tập tin có tập tin cũ
cipher / u >> "% userprofile% My documents% computername% .efs"
REM ================================================= ==
REM Begin encryption of the "My Documents" folder
cipher / a / e / h / i / q / s: "% userprofile% My Documents" >> "% userprofile% My documents% computername% .efs"
REM ================================================= =====
REM Begin encrption of the "Outlook" folder where the OST and PST files are stored
cipher / a / e / h / i / q / s: "% userprofile% Local SettingsApplication DataMicrosoftOutlook" >> "% userprofile% My documents% computername% .efs"
REM ================================================= =
REM More House Keeping
echo% date%% time% >> "% userprofile% My documents% computername% .efs"
echo ****** >> "% userprofile% My documents% computername% .efs"
echo ****** >> "% userprofile% My documents% computername% .efs"
REM ================================================= =
REM ================================================= =
REM All Done!
With Windows Vista, 7:
REM @echo off
REM EFS MyDoc & Outlook EFS Encryption Script Version 1.1
REM http://www.groovyPost.com
REM
REM Script Created by MrGroove (groovyPost.com)
REM
REM chương trình này là free software không thể được redistributed
REM không có quyền của groovyPost.com
REM
echo ***** >> "% userprofile% documents% computername% .efs"
REM EFS Encryption Script Version 1.1
REM ================================================= =====
REM First, let's tạo một tập tin để lưu các việc làm việc làm việc cho history
echo ****** >> "% userprofile% documents% computername% .efs"
echo ****** >> "% userprofile% documents% computername% .efs"
REM ================================================= =====
echo% date%% time% >> "% userprofile% documents% computername% .efs"
REM ================================================= ==
Đang hiện thời được tiếp tục để cập nhật các tập tin để kiểm tra không có tập tin tập tin có tập tin cũ
cipher / u >> "% userprofile% documents% computername% .efs"
REM ================================================= ==
REM Begin encryption of the "Documents" folder
cipher / a / e / h / i / q / s: "% userprofile% Documents" >> "% userprofile% documents% computername% .efs"
REM ================================================= =====
REM Begin encrption of the "Outlook" folder where the OST and PST files are stored
cipher / a / e / h / i / q / s: "% userprofile% Local SettingsApplication DataMicrosoftOutlook" >> "% userprofile% documents% computername% .efs"
REM ================================================= =
REM More House Keeping
echo% date%% time% >> "% userprofile% documents% computername% .efs"
echo ****** >> "% userprofile% documents% computername% .efs"
echo ****** >> "% userprofile% documents% computername% .efs"
REM ================================================= =
REM ================================================= =
REM All Done!
REM EFS MyDoc & Outlook EFS Encryption Script Version 1.1
REM http://www.groovyPost.com
REM
REM Script Created by MrGroove (groovyPost.com)
REM
REM chương trình này là free software không thể được redistributed
REM không có quyền của groovyPost.com
REM
echo ***** >> "% userprofile% documents% computername% .efs"
REM EFS Encryption Script Version 1.1
REM ================================================= =====
REM First, let's tạo một tập tin để lưu các việc làm việc làm việc cho history
echo ****** >> "% userprofile% documents% computername% .efs"
echo ****** >> "% userprofile% documents% computername% .efs"
REM ================================================= =====
echo% date%% time% >> "% userprofile% documents% computername% .efs"
REM ================================================= ==
Đang hiện thời được tiếp tục để cập nhật các tập tin để kiểm tra không có tập tin tập tin có tập tin cũ
cipher / u >> "% userprofile% documents% computername% .efs"
REM ================================================= ==
REM Begin encryption of the "Documents" folder
cipher / a / e / h / i / q / s: "% userprofile% Documents" >> "% userprofile% documents% computername% .efs"
REM ================================================= =====
REM Begin encrption of the "Outlook" folder where the OST and PST files are stored
cipher / a / e / h / i / q / s: "% userprofile% Local SettingsApplication DataMicrosoftOutlook" >> "% userprofile% documents% computername% .efs"
REM ================================================= =
REM More House Keeping
echo% date%% time% >> "% userprofile% documents% computername% .efs"
echo ****** >> "% userprofile% documents% computername% .efs"
echo ****** >> "% userprofile% documents% computername% .efs"
REM ================================================= =
REM ================================================= =
REM All Done!
Good luck!
5 ★ | 1 Vote
You should read it
- How to enable Full-Disk Encryption on Windows 10?
- File encryption software and privacy protection messages
- How to encrypt files and folders with EFS on Windows 10
- How to back up the EFS file encryption key and certificate in Windows 10
- 5 popular encryption algorithms you should know
- What is end-to-end encryption? How does it work?
- How to use Z1 CryptNow to encrypt data on Windows 10
- How to encrypt files on Windows using Simple Encryptor
May be interested
- Fix the missing iertutil.dll file in Windows XPfor windows xp users, it is not uncommon to see a problem or problem while using it. in the following article, we will introduce and guide you how to fix missing system errors or find iertutil.dll library on windows xp or vista ...
- 15 things a PC user should knowwhether a technology veteran or a beginner, here are 15 important things you need to know when using a pc.
- Bring the best of Windows 7 to XP & Vistapeople are eagerly waiting for windows 7 because microsoft promises this new os version will be fast, beautiful and has more attractive features than ever ...
- Dual boot Windows XP and Windows 7although windows 7 integrates windows xp mode, in some test versions, many users are not really happy with this tool.
- Install and use Recovery Console in Win XPwindows recovery console is one of the tools to help restore the system when it doesn't boot as expected or can't boot. in this article we will take a look at some recovery console components including command prompt, command action, rule, recovery console removal method.
- Optimize Windows XP with Seven Remix XP 2.2seven remix xp 2.2 is the latest version of the windows 7 emulator from windows xp, making this browser optimized for every corner.