Minint location deploy

Ace2874 21 Reputation points
2021-05-17T15:55:57.757+00:00

Hi
Im trying to deploy an image to a Server that has raid with 2 partitions.
1 for Operatingsystem and 1 for data
I will format operatingsystem partition but not the Data partition
My problem is that when deploying the script files being copied to the data partition.
I need to force MDT to copy the files to Operatingsystem partition

Please help

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,480 questions
Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
833 questions
0 comments No comments
{count} votes

Accepted answer
  1. AllenLiu-MSFT 40,881 Reputation points Microsoft Vendor
    2021-05-18T07:17:17.807+00:00

    Hi, @Ace2874
    Thank you for posting in Microsoft Q&A forum.
    By default MDT puts TS cache/state files on the largest partition, when your data partition was larger than OS partition, they are copied to the data partition.

    Editing ZTIDiskpart.wsf and adding the following may resolve the issue:
    At Line 657:
    oUtility.VerifyPathExists left(sDestinationDrive,3) & "\MININT\SMSOSD\OSDLOGS"
    oEnvironment.Item("SMSTSLocalDataDrive") = sDestinationDrive
    oUtility.ResetLocalRootPath
    The 3 after sDestination drive is the OS partition on EFI systems.

    For your reference:
    https://www.reddit.com/r/MDT/comments/a1hg71/force_or_set_smstasksequence_folder_location_to_a/
    (The third-party link, just for your reference)


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful