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
- Living with Vista without XPspeed up moves and know-how to use new features in this operating system will make windows vista more user-friendly.
- How to easily encrypt a file without a password using Cloak Encryptcloak encrypt is a simple file encryption tool that helps you encrypt and decrypt files without any password.
- How to Speed up Windows Vistawindows vista adds many features that, while useful, decrease system performance. windows vista can be configured to reduce the overhead of most of the newer features. windows vista has three different power plans.
- 5 details 'ungainly' in Windows 7the failure of vista could be a cause for microsoft to build windows 7, but what should they do to prevent it from going into vista's downfall?
- Let's Encrypt expires root certificate, many devices and websites have problems accessing iton september 30, 2021, let's encrypt's dst root ca x3 root certificate expired and had to be replaced with a new one.
- Upgrade Windows Vista to Windows 7depending on the hardware and the version of windows vista currently in use, we can choose to upgrade windows vista to the appropriate or higher version of windows 7.
- Introducing OpenSSHopenssh is an open source program (open source) used to encrypt (encrypt) transactions between hosts using secure shell (ssh). it is a safe alternative for programs used to connect such as: telnet, rlogin, rsh ... by it always encrypt (encrypt) all transactions, hide, hide username and password is used for remote login sessions. after the login session is done, it will continue to encrypt (encrypt) all the data
- 10 simple ways to protect Vistawhile windows vista may be the safest operating system that microsoft has ever released, it is still far away from achieving near absolute security. in its 'fresh-from-the-box' configuration, vista still leaves gaps in your personal data to the web via windows firewall, or some of the attacks that can be adjusted. set up your browser without your knowledge.
- Type Vietnamese in Internet Explorer when using Windows Vistawindows vista, microsoft's new operating system, is still a matter of discussion for many people. some people have used windows vista and 'dropped' in case they cannot type vietnamese in internet explorer when using windows vista.
- Vista will interact with Longhorn Servernow that windows vista has been completed and released on the market, you may have the opportunity to experience some of the new features that are improved over windows xp. things you may not realize are the new features of vista th