Hi Allen and everyone, no worries. I have solved. I decided to add all apps and tools as apps directly in deployment share so I can install them with arguments or copy to client machine for further installations or whatever. This way I always have all apps I want copied into my offline media and works like a charm. Thank you all. ImaOiar.
Create a folder in Deployment Share to be copied to scriptroot folder automaticatly
I need to create a folder in my deployment share that i want to be copied to every offline media i created to \content%deployroot% folder. it contains some tools and notes that i need after the installation.
When i select update media content i want this folder to be copied so when i burn the image to a pendrive, this folder have to be placed in %deployroot%.
actually i have to copy this folder manually to every pendrive i create.
Where in deployment share do i have to place this folder in order to be copied to my scriptroot folder?
thks
Ima
3 answers
Sort by: Most helpful
-
-
AllenLiu-MSFT 49,216 Reputation points Microsoft External Staff
2023-07-20T02:45:31.0166667+00:00 Thank you for posting in Microsoft Q&A forum.
You may try the steps below to see if it helps:
- In the MDT deployment workbench, navigate to your deployment share.
- Create a folder called "Tools" (or whatever name you prefer) in the root of your deployment share.
- Place the files and notes you need in this folder.
- Open the bootstrap.ini file in your deployment share control folder (e.g. \MDTServer\DeploymentShare\Control\bootstrap.ini) using Notepad or any text editor you prefer.
- Under the [Settings] section, add the following line: DeployRoot=%DeployRoot%\Tools
This line specifies that the Tools folder in the root of your deployment share will be copied to the offline media in the %DeployRoot% location.
- Save and close the bootstrap.ini file.
- Update media content of your media and check that the Tools folder is now included in the \Content\Deploy folder of your offline media.
- Burn the image to a new pendrive using the updated media content and check that the Tools folder is now in %DeployRoot%.
Note: Make sure to test this solution before deploying it in a production environment.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".
-
Imanol Oiarzabal 30 Reputation points
2023-08-29T10:13:27.61+00:00 Hi Allen,
first of all, sorry for taking so long to reply, i was very busy.
i just tried your method and did no work, maybe i'm doing something wrong.
I created an Apps named folder in the root of deploymentShare folder (C:\deploymentshare\Apps).
updated my bootstrap ini file in control folder adding in [settings] section the line you said
go to DeploymentWorkbench, media, update media content
and once it finished the Apps folder does not appear anywhere
I'm making something wrong?
thks in advance,
ImaOiar