> For the complete documentation index, see [llms.txt](https://huataihuang.gitbook.io/cloud-atlas-draft/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://huataihuang.gitbook.io/cloud-atlas-draft/os/windows/win10/compress_win10_ntfs_drive.md).

# 压缩NTFS驱动器

Windows 10支持NTFS驱动器的透明压缩功能，也就是整个驱动器都是压缩格式，写入文件自动压缩以节约磁盘空间。

但是在启用压缩功能时，会提示需要Administrator权限：

![压缩磁盘需要管理员权限](https://3334459331-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeFI0OlHH4bg0gqJ3hR%2F-M1T9_Bfe6KWQGInkWGi%2F-M1TA9UZRPuxh9zqS9wj%2Fcompress_drive_need_admin_permission.png?generation=1583201769869994\&alt=media)

[How to enable the hidden Windows 10 administrator account](https://www.ghacks.net/2014/11/12/how-to-enable-the-hidden-windows-10-administrator-account/)

* 右击`Command Prompt`，然后选择 `run as administrator`
* 输入并运行以下命令

```
net user administrator /active:yes
```

* 如果要激活guest账号，可以执行

```
net user guest /active:yes
```

* 此时已经激活了administrator账号，也就是可以使用administrator账号登陆，但是默认没有密码
* 强烈建议使用密码保护 administrator 账号

```
net user administrator *
```

在激活了administrator账号之后，使用administrator账号登陆，然后就可以进行磁盘压缩功能。

## 修改用户账号类型方法（参考）

### 使用Settings设置修改用户账号类型

* 使用`Windows键+I`启动`Settings`功能
* 点击`Accounts`
* 点击`Family & other people`
* 在`Other people`中选择用户账号，然后点击`Change account type`

![修改账号类型](https://3334459331-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeFI0OlHH4bg0gqJ3hR%2F-M1T9_Bfe6KWQGInkWGi%2F-M1TA9UbwOkCXXjIOn3l%2Fuser-accounts-settings-windows-10.jpg?generation=1583201769744036\&alt=media)

* 在账号类型中选择`Administrator`

![修改账号类型](https://3334459331-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeFI0OlHH4bg0gqJ3hR%2F-M1T9_Bfe6KWQGInkWGi%2F-M1TA9Ueyosjs6OJ_prV%2Fchange-account-type-windows-10.jpg?generation=1583201769697616\&alt=media)

* 最后点击`OK`

### 使用Control Panel修改用户账号

* 使用`Windows键+X`启动`Control Panel`功能

  ...

## 参考

* [How to change a Windows 10 user account type and why](https://www.windowscentral.com/how-change-user-account-type-windows-10)
* [How to enable the hidden Windows 10 administrator account](https://www.ghacks.net/2014/11/12/how-to-enable-the-hidden-windows-10-administrator-account/)
* [How to Copy and Backup Files without Admin Rights?](https://www.easeus.com/todo-backup-resource/copy-and-backup-files-without-admin-rights.html)
