Where do should add a task to copy items to desktop

Jacob Bumann 106 Reputation points

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



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

Accepted answer
  1. AllenLiu-MSFT 41,136 Reputation points Microsoft Vendor

    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.

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

    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

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