Jump to content


Sign in to follow this  
Tom5674

Adding shortcuts to Public Desktop

Recommended Posts

Our users do not have rights to install software etc on company computers. Therefore I have written scripts that will allow them to update software already installed by logging in with an admin account and running the update. Because we have so many users logging into different computers this software and these shortcuts need to be available to all of them. In the past I could just put them in the "all users" desktop folder. However with Win7 they need to be in the c:\users\public\public desktop (hidden) folder. This can be done if I log in as an admin, but with 700 to 1000 computers I need to have an automated way to do this. I have tried changing rights etc to the public desktop folder but I can't change the read-only setting. I have lowered the UAC setting all the way. Any help or thoughts would be greatly appreciated.

 

Thanks.

Share this post


Link to post
Share on other sites


This can be done if I log in as an admin, but with 700 to 1000 computers I need to have an automated way to do this

 

are they domain joined, if so the domain admin will have local admin permissions on these machines making it easy to place files and folders in the public desktop hiddent folder

 

if not, then please explain

Share this post


Link to post
Share on other sites
are they domain joined, if so the domain admin will have local admin permissions on these machines making it easy to place files and folders in the public desktop hiddent folder

 

if not, then please explain

 

 

They are all in a domain. So are you saying that I need to setup my script to run as an admin, even if an admin is logged in? Asking because that is how I am trying to create the script. Remember I don't want to have to touch every computer remotely to copy these shortcuts over.

Share this post


Link to post
Share on other sites

the scripts can be copied over via a login script or whatever, that part is easy

 

what is not easy is defining what the script needs to do and what user account should run the script

 

but i have to ask, why are you doing things this way, why not use SCCM or similar to manage these computers ?

Share this post


Link to post
Share on other sites
the scripts can be copied over via a login script or whatever, that part is easy

 

what is not easy is defining what the script needs to do and what user account should run the script

 

but i have to ask, why are you doing things this way, why not use SCCM or similar to manage these computers ?

 

I have an admin account to use, and I just need these shortcuts created in the Pubic folder. Not all of our locations are configured the same way. Such as computer #1 may be the database server for one app, but #2 maybe the server for another app. In another location the setup may be entirely different. Because of this we have had to do tweaking to some locations. As far as SCCM I wasn't aware that I could configure items in folders on a per computer basis. That sounds like it would be easier, but I have no idea how to do this.

Share this post


Link to post
Share on other sites

i meant to use SCCM to do the deploying/managing of software applications and updates on the client computers, you can 'let' the users install or update their own software by letting them use the RAP (Run Advertised Programs) feature in ConfigMgr client

 

have you considered this approach, it would simply and standardise your current approach especially if you have sccm in the network already

Share this post


Link to post
Share on other sites
i meant to use SCCM to do the deploying/managing of software applications and updates on the client computers, you can 'let' the users install or update their own software by letting them use the RAP (Run Advertised Programs) feature in ConfigMgr client

 

have you considered this approach, it would simply and standardise your current approach especially if you have sccm in the network already

 

Where can I find out info on setting this up?

Share this post


Link to post
Share on other sites

right here !

 

but first i'd need to know what you have setup and what you want to achieve (keep it simple)

Share this post


Link to post
Share on other sites
right here !

 

but first i'd need to know what you have setup and what you want to achieve (keep it simple)

 

Our SCCM server is still in the experimental stage. We are using WSUS server for Microsoft updates. All computers are in our Domain. Approx. 170 different locations.

 

Each location may have different apps they need to run. The database for these programs is kept on a single local computer and then there is a client version installed on the other local computers. Because of this we don't have one image that will work for all. Most of the software programs update monthly. Manufacturer ships CD's monthly. In the past we (IT dept) install the program and then setup a script which allows the local user to run the update. We need anyone who logs into the computer to be able to run these updates.

Share this post


Link to post
Share on other sites

sorry i just got busy...

 

I'm curious what type of software you have to replace or update monthly, if you can share that info then please do and it\'ll help

 

but essentially, as with the guides here on windows-noob, if you can deploy the FireFox application (simple) you can deploy any application, and then you have more power, such as what computers get them (think of collections of computers based on AD groups or whatever you want), reports, user ability to install via Run Advertised Programs and so forth

 

please look at the FireFox guide to give you some ideas

Share this post


Link to post
Share on other sites

Software for example is from YADA called Colornet it is for mixing Dupont automotive paint, we also have software from PPG and BASF. Pricing and mixes change. So with stores from coast to coast it varies which brand they carry. Plus one location may not have the color apps on all computers etc.

Share this post


Link to post
Share on other sites

ok well my suggestion to you is to test the theory out in a lab environment first, and see for yourself how it works or could work in your environment, then based on the results of that move forward

Share this post


Link to post
Share on other sites

I discovered that my original script still put the icons on the all users desktop even though that folder is in a different location. Here is a sample.

 

Dim WSHShell

Set WSHShell = WScript.CreateObject("WScript.Shell")

 

 

Dim MyShortcut, MyDesktop, DesktopPath

 

' Read desktop path using WshSpecialFolders object

DesktopPath = ("C:\documents and settings\All Users\Desktop")

 

' Create a shortcut object on the desktop

Set MyShortcut = WSHShell.CreateShortcut(DesktopPath & "\Basic Mixing Update.lnk")

 

' Set shortcut object properties and save it

MyShortcut.TargetPath = WSHShell.ExpandEnvironmentStrings("c:\pgms\PPG update.exe")

MyShortcut.WorkingDirectory = WSHShell.ExpandEnvironmentStrings("%windir%")

MyShortcut.WindowStyle = 4

MyShortcut.IconLocation = WSHShell.ExpandEnvironmentStrings("c:\pgms\PPG update.exe, 0")

MyShortcut.Save

 

'WScript.Echo "A shortcut to Basic Mixing Update now exists on your Desktop."

 

' ********************************************************************************

' *

' * Welcome

' *

Sub Welcome()

Dim intDoIt

 

intDoIt = MsgBox(L_Welcome_MsgBox_Message_Text, _

vbOKCancel + vbInformation, _

L_Welcome_MsgBox_Title_Text )

If intDoIt = vbCancel Then

WScript.Quit

End If

End Sub

 

Thanks for your help.

  • Like 1

Share this post


Link to post
Share on other sites

cool, but please do test out application installation via RAP in SCCM

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...