/build/static/layout/Breadcrumb_cap_w.png

K2000 add folder/files to desktop post install

I would like to add a folder/files to admin desktop windows 10 during a post install task.  I see xcopy works well as a bat script, but where to put source file baffles me.  I am doing a scripted installation of Windows 10 with a usb drive that connects to the K2000 for OS deployment and application installs, I just need to know where to place a source file and how to map it in the BAT script.  Thanks

2 Comments   [ + ] Show comments
  • I mean, should I put the Folder/Files in the Samba share, and if so how to reference that in a BAT to pull them from the k2000 - friar 6 years ago
  • Not really sure you can copy files in a post install task.
    Have you tried mapping it to a network share with xcopy...?
    i.e.
    xcopy /s \\SharedFolder\MyFolder C:\Users\User\Desktop\
    But the current user must have access to the shared folder, so
    watch your permissions. - akmagnum 6 years ago

Answers (1)

Posted by: chucksteel 6 years ago
Red Belt
2
Instead of using a batch script post-install task use an application. Place your script plus the files in a zip archive, upload the zip file and use the script name as the parameter.


Comments:
  • Again, not sure of the syntax, how do I reference the source file when it is uploaded as a part of a zip file using xcopy?
    Thanks - friar 6 years ago
    • The files will be in the same folder as the batch file, so the source directory is the current directory for xcopy. - chucksteel 6 years ago
      • Thanks,
        That works. - friar 6 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ