Hôm nay mình viết bài hướng dẫn các bạn khôi phục bản quyền bằng thư mục đó trên Command prompt nhé.
Lưu ý:Chỉ nên dùng trên Windows 8, 8.1,10, không hỗ trợ Windows 7 & Office 2010.
Tiến hành kích hoạt Windows, Office hoàn tất trước khi sao lưu. Vì cách này sao lưu Windows, Office chung 1 lần.
Một số bản Windows 10 không lấy được digital thì nên sao lưu bằng cách này.
Thành viên đã biết cách sao lưu thủ công có thể bỏ qua bài viết này.
Sao lưu bản quyền:
- Lệnh sẽ lưu thư mục "SAOLUUBANQUYEN" vào 3 ổ D,E,F (nếu có) trên máy các bạn, sau đó ẩn đi. Chỉ có thể nhìn thấy khi tích vào duyệt file ẩn, tránh cho các bạn xoá nhầm.
- Chạy Command Prompt bằng quyền Administrator, dán lệnh vào.
for %i in (D,E,F) DO MKDIR %i:SAOLUUBANQUYEN && if exist %i:\SAOLUUBANQUYEN (attrib +h "%i:\SAOLUUBANQUYEN") cd C:\Windows\System32 net stop sppsvc for %i in (D,E,F) DO xcopy "%windir%\system32\spp\store" "%i:\SAOLUUBANQUYEN" /e /i /h exit
MKDIR "%USERPROFILE%/DESKTOP/SAOLUUBANQUYEN" cd C:\Windows\System32 net stop sppsvc xcopy "%windir%\system32\spp\store" "%USERPROFILE%/DESKTOP/SAOLUUBANQUYEN" /e /i /h exit
Khôi phục bản quyền:
- Khi thư mục sao lưu đã có trên ổ D,E,F.
- Chạy Command Prompt bằng quyền Administrator, dán lệnh vào.
cd C:\Windows\System32 net stop sppsvc if %errorlevel% == 2 echo The Software Protection service is not started. if %errorlevel% == 0 echo The Software Protection service was stopped successfully. echo Errorlevel: %errorlevel% for %i in (D,E,F) DO xcopy "%i:\SAOLUUBANQUYEN" "%windir%\system32\spp\store" /e /i /h exit
cd C:\Windows\System32 net stop sppsvc if %errorlevel% == 2 echo The Software Protection service is not started. if %errorlevel% == 0 echo The Software Protection service was stopped successfully. echo Errorlevel: %errorlevel% xcopy "%USERPROFILE%/DESKTOP/SAOLUUBANQUYEN" "%windir%\system32\spp\store" /e /i /h exit
Chúc các bạn thành công! Thank to @naroto_VN-Z