/build/static/layout/Breadcrumb_cap_w.png

Batch script to add programs to All Users Startup folder in Win 7

Does anyone know of a good way to add a batch script or some command line commands to add programs to the Startup folder, in Windows 7, using KACE?

I just used the executables for these programs so I do not have a package that is installed, but I was just curious if anyone does this or knows how to do this without having to do it manually after the installation.

Also, if the user isn't obviously logged in yet, what account would I use?

This may be an impossible request, but I know there is an amazing amount of brainpower on this forum!

Thanks again Ninjas!


0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: dugullett 12 years ago
Red Belt
5

You can use this.

copy name.exe "%allusersprofile%\Microsoft\Windows\Start Menu\Programs\Startup\" /Y

Leave the user at default since this will copy to all users.

Is this on the K1000 or the K2000? If you can utilize the tags so that people can better answer your questions.


Comments:
  • Sorry. I tried, but it wouldn't allow me to type in the tags box. It may be a browser issue in house here though. Should I just add my own tags? Normally it would bring up the default, already created tags that others created when I would type in that tags text box. My apologies.

    By the way. You have been amazingly helpful to me today!! - J.R. Colby 12 years ago
    • I would give it a little bit and try again. They just ran an update.

      http://www.itninja.com/blog/view/itninja-code-update-08-28-12 - dugullett 12 years ago
Posted by: nshah 12 years ago
Red Belt
0

You can also use File Sync to the same location on Windows 7 and not have to worry about a script being run. 


Comments:
  • Never used that. I'll have to Google it. Thanks for the input! - J.R. Colby 12 years ago
  • How would this apply to putting programs in a default location so they run on startup? After reading about it online, I can't see how I would be able to apply this to what I was asking. Thanks again in advance! - J.R. Colby 12 years ago
 
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