![]() ![]() Database instance licensing? Wut? Windows.Ticket Prices are Rising for the Spiciest SpiceWorld! Last Chance! Get your ticket for $499.I am running both processes via a software we use by Quest called Desktop Authority that runs when a user logs in, and have checked 'Run as Administrator' for that Desktop Authority object, but it still does not process either command.Īny ideas on how I can get that batch file to run when a non-admin user logs into their account? Is it possible to create a folder under the %USER PROFILE%.\Start Menu\Programs location instead that will show in the Start Menu? I realize this would bypass the permissions issue, but I tried doing this and the folder it created did not show in the start menu as I had hoped. However if I try to run the batch file from a non-admin account it returns 'Access Denied' errors for both of those commands. When I run the batch file from an admin account it completes successfully, so I've confirmed the script functions more or less properly. Mkdir "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\*New Folder*"Ĭopy "%USERPROFILE%\Desktop\*Desktop Folder*" "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\*New Folder" I created a batch file with the following script for that: The second task is proving more difficult. The end goal being to first clean up the desktop so company shortcuts are loaded into one desktop folder location, and second essentially copy that content into a similarly looking Start Menu folder location.Īs noted above I've already accomplished the first task (for the example below, I'll refer to the folder created in Step 1 as *Desktop Folder*). Step 2 - Create a batch file that creates a folder in the local Start Menu\Programs folder, then copies the contents of the folder in step 1 into that location. *This was relatively straight forward, and is setup and tested successfully ![]() ![]() Step 1 - Create a batch file that creates a folder on a users desktop, then moves certain desktop shortcuts into that folder. I have been tasked with doing the following: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |