I have found that running certain commands/programs/etc from the K1000 on 64 bit machines don't always work as you would think they would.
Case in point; editing registry hive on a x64 bit machine requires you to specify WOW6432NODE before the name of your key path.
This took me a bit to figure out so I thought i would share.
These commands below can be ran as batch files from K1000 scripting.
This command will reboot the machine, unless you specify /noreboot as a switch.
For x86 machines:
|cmd /c FORFILES /P %WINDIR%\servicing\Packages /M *11.*.mum /C "cmd /c echo @fname && start /w pkgmgr /up:@fname /quiet"|
For x64 machines:
|cmd /c FORFILES /P %WINDIR%\servicing\Packages /M *11.*.mum /C "cmd /c echo @fname && start /w %Windir%\Sysnative\pkgmgr /up:@fname /quiet"|
select NAME,IE_VERSION from MACHINE;
/*Select machines that are not on IE version 8. Use case woudl be to rollback machines from IE 11 back to IE 8 */
Where IE_VERSION Not Like '8%' AND
OS_NAME Like 'Microsoft Windows%';