![]() ![]() Then recreate the shortcut on users desktop #Check for shortcuts on user Desktop and in All Users desktop, if program is available and the shortcut isn't. "Word" = "C:\Program Files\Microsoft Office\root\Office16\WINWORD.exe" "TeamViewer" = "C:\Program Files\TeamViewer\TeamViewer.exe" "Remote Desktop" = "C:\Program Files\Remote Desktop\msrdcw.exe" "Outlook" = "C:\Program Files\Microsoft Office\root\Office16\OUTLOOK.EXE" "OneNote" = "C:\Program Files\Microsoft Office\root\Office16\ONENOTE.EXE" "Microsoft Edge" = "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" ![]() "Google Chrome" = "C:\Program Files\Google\Chrome\Application\chrome.exe" "Firefox" = "C:\Program Files\Mozilla Firefox\firefox.exe" "Excel" = "C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE" Create_Common_Desktop_Shortcuts $programs = Acrobat" = "C:\Program Files\Adobe\Acrobat DC\Acrobat\Acrobat.exe" Note: Format the Create_Common_StartMenu_Shortcuts.ps1 correctly! The first value is the name of the shortcut, the second one is the path, and the third one is either None (No subfolder) or the subfolder name, which can include multiple levels like the Cisco An圜onnect client shortcut. The scriptsīelow are the scripts which were written in a short period, but they work □ Adjust the script to include or exclude more programs if needed, and the Desktop script has fewer shortcuts than the Start Menu script because I don’t like that many icons on my Desktop □ Specified folder Cisco\Cisco An圜onnect Secure Mobility Client doesn't exist for the Cisco An圜onnect Secure Mobility Client shortcut, creating now.Ĭreating shortcut for Cisco An圜onnect Secure Mobility Client with path C:\Program Files (x86)\Cisco\Cisco An圜onnect Secure Mobility Client\vpnui.exe in folder Cisco\Cisco An圜onnect Secure Mobility Client. Shortcut for Firefox Private Browsing not found with path C:\Program Files\Mozilla Firefox\private_browsing.exe, creating it now. Shortcut for Outlook not found with path C:\Program Files\Microsoft Office\root\Office16\OUTLOOK.EXE, creating it now. ![]() Shortcut for Firefox not found with path C:\Program Files\Mozilla Firefox\firefox.exe, creating it now. The output will look like this for the Start Menu script as an example: (I removed the Firefox, Outlook, and Cisco shortcuts in this case) Specified folder Cisco Webex Meetings doesn't exist for the Cisco Webex Meetings shortcut, creating now.Ĭreating shortcut for Cisco Webex Meetings with path C:\Program Files (x86)\Webex\Webex\Applications\ptoneclk.exe in folder Cisco Webex Meetings. You can save the scripts to c:\temp and run them as Administrator or use it in an Intune script as System without any parameters for the Start Menu script or as User for the Desktop script. It will not create a Desktop shortcut if the icon is already on the All Users desktop. (It will detect the normal desktop folder or the one in OneDrive is Known Folder Move is used) If not, it will create a shortcut for it. It checks to see if the program is available in the specified path and if the shortcut is present in C:\ProgramData\Microsoft\Windows\Start Menu\Programs (Or subfolders) or the user’s Desktop folder. Joe brings that same passion to How-To Geek.The script has a list of program names and their locations in a variable. If something piques his interest, he will dive into it headfirst and try to learn as much as possible. ![]() Outside of technology, Joe is an avid DIYer, runner, and food enthusiast. After several years of jailbreaking and heavily modifying an iPod Touch, he moved on to his first smartphone, the HTC DROID Eris. He got his start in the industry covering Windows Phone on a small blog, and later moved to Phandroid where he covered Android news, reviewed devices, wrote tutorials, created YouTube videos, and hosted a podcast.įrom smartphones to Bluetooth earbuds to Z-Wave switches, Joe is interested in all kinds of technology. He has written thousands of articles, hundreds of tutorials, and dozens of reviews.īefore joining How-To Geek, Joe worked at XDA-Developers as Managing Editor and covered news from the Google ecosystem. Joe loves all things technology and is also an avid DIYer at heart. He has been covering Android and the rest of the Google ecosystem for years, reviewing devices, hosting podcasts, filming videos, and writing tutorials. Joe Fedewa has been writing about technology for over a decade. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |