Where do should add a task to copy items to desktop

Jacob Bumann 106 Reputation points
2022-03-23T15:48:28.403+00:00

I am trying to copy some default shortcuts my users use to the public desktop but my task step for it failed I've attached a screencap of my task. It uses a VBScript I found in my earlier research which I've attached I believe it just allows you to copy multiple items but with just one task. the DesktopFiles folder is where the script is held and all items I want to copy
186139-screenshot-2022-03-23-104253.png

186202-screenshot-2022-03-23-104541.png

186049-screenshot-2022-03-23-104524.png

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).
859 questions
0 comments No comments
{count} votes

Accepted answer
  1. AllenLiu-MSFT 43,061 Reputation points Microsoft Vendor
    2022-03-25T02:19:24.893+00:00

    Hi, @Jacob Bumann

    Thanks very much for your feedback. We're glad that the issue is solved now. Here's a short summary for the problem, we believe this will help other users to search for useful information more quickly.

    Problem/Symptom:
    When use a VBScript to copy some default shortcuts to the public desktop, the task step will fail.

    Solution/Workaround:
    xcopy has a wildcard selection method so use xcopy * "destination folder" fixed the issue.


    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 "Comment".

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Jacob Bumann 106 Reputation points
    2022-03-23T16:50:39.907+00:00

    i used xcopy before and didnt realize it had a wildcard selection method so I just used that xcopy * "destination folder"