Support Center

Executing 64-bit Windows operations within JumpCloud Commands

Summary


On a Windows system, the commands function instantiates a 32-bit command process, so any command with 64-bit dependencies may not be recognized or run properly. There are numerous reasons, but in many cases it may be triggered by .net Classes, Snapins, Modules, or even COM Objects that are 64-bit dependent.

 

Resolution


To force a 64-bit system to launch a 64-bit command process via JumpCloud Commands, leverage the Sysnative virtual directory to call either cmd.exe or Powershell.exe directly.  There is additional information on MSDN regarding the Windows file system redirector.

´╗┐

CMD


%windir%\sysnative\cmd.exe /C your_command

Example:

%windir%\sysnative\cmd.exe /C wbadmin enable backup

 

PowerShell


%windir%\sysnative\windowspowershell\v1.0\powershell.exe your_command´╗┐

Example:

%windir%\sysnative\windowspowershell\v1.0\powershell.exe wbadmin enable backup
 

Last Updated: Nov 30, 2016 09:40AM MST

Related Articles
31b11a79e2c94470a66430cfe6d3eecd@jumpcloud.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete