diff --git a/xCAT-server/lib/xcat/plugins/windows.pm b/xCAT-server/lib/xcat/plugins/windows.pm index 7ad14ca88..375b7e5fd 100644 --- a/xCAT-server/lib/xcat/plugins/windows.pm +++ b/xCAT-server/lib/xcat/plugins/windows.pm @@ -169,7 +169,7 @@ sub applyimagescript { echo assign >> x:/xcat/diskprep.prt if exist i:/images/$arch/$profile.prt copy i:/images/$arch/$profile.prt x:/xcat/diskprep.prt diskpart /s x:/xcat/diskprep.prt - x:/xcat/imagex /apply i:/images/$arch/$profile.wim 1 c: + x:/windows/system32/imagex /apply i:/images/$arch/$profile.wim 1 c: IF %PROCESSOR_ARCHITECTURE%==AMD64 GOTO x64 IF %PROCESSOR_ARCHITECTURE%==x64 GOTO x64 IF %PROCESSOR_ARCHITECTURE%==x86 GOTO x86