Need to create a batch file or vbs script to copy a file to multiple user profiles
I need help creating a script or batch file to move a file from c:\Downloads\test.vbs to c:\users\%usernames%\appdata\Roaming\Microsoft\Windows\Startup\Programs folder.
I've got a change that i need to have update a multiple user workstation, but there are a TON of user profiles on this comp.
Any help is appreciated. :)
-Mav
Microsoft Legacy OS
Last Comment
Lionel MM
8/22/2022 - Mon
Brad Bouchard
Use Robocopy, it's so simple. Try this:
From a command prompt with administrator level privilege run the command:
You are wanting to copy file c:\Downloads\test.vbs to all profiles all at once, right? The above examples will work to copy the file to the profiles WHEN the users logon again. In other words, by using either GPO or a logon script the above solutions will copy the required file to the user's profiles once they logon. And I think you want a solution to copy that file to each profile NOW and not when they logon, am I right?
From a command prompt with administrator level privilege run the command:
Robocopy C:\Users\USERWHEREFILEISYO
Simple.