Type the following command: cscript.exe '%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs' /dstatusĤ. At appeared Command Prompt application right mouse button click and select Run as administrator ģ. But the solution can be completed in both CMD and PowerShell.Ģ. Solution 1 Command Prompt (CMD)īetter use command prompt because Windows PowerShell does not understand %ProgramFiles(x86)% in command. Your access to org resources may be limited. We weren't able to register your device and add your account to Windows.