caokeu
Bạn có muốn phản ứng với tin nhắn này? Vui lòng đăng ký diễn đàn trong một vài cú nhấp chuột hoặc đăng nhập để tiếp tục.

Thiết Lập Tự Động Mã Hóa EFS Trong Windows

Go down

Thiết Lập Tự Động Mã Hóa EFS Trong Windows Empty Thiết Lập Tự Động Mã Hóa EFS Trong Windows

Bài gửi  admin Fri Jan 13, 2012 8:39 pm

Trong bài viết dưới đây, chúng tôi sẽ hướng dẫn các bạn cách tạo script để tự động quá trình mã hóa theo chuẩn EFS dữ liệu của tài khoản người dùng mỗi khi họ đăng nhập. Mục đích của việc mã hóa theo cách này là bảo vệ những tài liệu, thông tin bí mật của cá nhân, tổ chức hoặc công ty, sau đó sao lưu chúng trên thiết bị lưu trữ bên ngoài.

Thiết Lập Tự Động Mã Hóa EFS Trong Windows Hnwngi0zgkgi

Cụ thể, đoạn mã dưới đây sẽ thực hiện một số chức năng như:
• Mã hóa toàn bộ dữ liệu trong thư mục My Documents, Outlook – đây cũng là nơi lưu trữ mặc định của file*.pst và *.ost trong Outlook 2000, Outlook 2003.
• Xuất toàn bộ dữ liệu output từ đoạn script vào 1 file khác, ở thư mục My documents của tài khoản người dùng, với tên cụ thể có dạng %computername%.efs
Cách thực hiện trên 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 This program is free software; not to be redistributed
REM without permission of groovyPost.com
REM
echo ***** >> "%userprofile%\my documents\%computername%.efs"
REM EFS Encryption Script Version 1.1
REM ======================================================
REM First, let's create a file to store all the work were doing and for history
echo ****** >> "%userprofile%\my documents\%computername%.efs"
echo ****** >> "%userprofile%\my documents\%computername%.efs"
REM ======================================================
echo %date% %time% >> "%userprofile%\My documents\%computername%.efs"
REM ===================================================
REM Now were going to update all files to ensure no files are encrypted with old keys
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 Settings\Application Data\Microsoft\Outlook" >> "%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!


Với 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 This program is free software; not to be redistributed
REM without permission of groovyPost.com
REM
echo ***** >> "%userprofile%\documents\%computername%.efs"
REM EFS Encryption Script Version 1.1
REM ======================================================
REM First, let's create a file to store all the work were doing and for history
echo ****** >> "%userprofile%\documents\%computername%.efs"
echo ****** >> "%userprofile%\documents\%computername%.efs"
REM ======================================================
echo %date% %time% >> "%userprofile%\documents\%computername%.efs"
REM ===================================================
REM Now were going to update all files to ensure no files are encrypted with old keys
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 Settings\Application Data\Microsoft\Outlook" >> "%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!



Thiết Lập Tự Động Mã Hóa EFS Trong Windows 0aq413qdmf7p Thiết Lập Tự Động Mã Hóa EFS Trong Windows 290tsx94cgqm


admin
admin
Admin

Tổng số bài gửi : 1254
Join date : 05/09/2011
Age : 32

https://caokeu.forumvi.com

Về Đầu Trang Go down

Về Đầu Trang

- Similar topics

 
Permissions in this forum:
Bạn không có quyền trả lời bài viết