游標移動方式 的登錄值 cursorvisual (excel\options)使用者HKCU\software\policies\microsoft\office\16.0\excel\options

原則 ID
L_Cursormovement
適用範圍
使用者設定
支援的作業系統
至少需要 Windows Server 2008 R2 或 Windows 7
來源
Microsoft 365 Apps / Office Administrative Templates (版本 5568.1000)
類別
Microsoft Excel 2016 › Excel 選項 › 進階

登錄

cursorvisual

REG_DWORD使用者
啟用時的值
取決於選項值
元素
游標移動方式
選項
項目儲存的值
邏輯0
視覺1
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\excel\options]

; 選項 (只使用其中一個)
; 邏輯
"cursorvisual"=dword:00000000
; 視覺
"cursorvisual"=dword:00000001
CMD
:: 選項 (只使用其中一個)

:: 邏輯
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "cursorvisual" /t REG_DWORD /d 0 /f
:: 視覺
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "cursorvisual" /t REG_DWORD /d 1 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null

# 選項 (只使用其中一個)
# 邏輯
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'cursorvisual' -PropertyType DWord -Value 0 -Force | Out-Null
# 視覺
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'cursorvisual' -PropertyType DWord -Value 1 -Force | Out-Null