Resend my activation email : Register : Log in 
BCF: Bike Chat Forums


Delivering Startmenu Icons

Reply to topic
Bike Chat Forums Index -> The Geek Zone
View previous topic : View next topic  
Author Message

Colin Edwards
Brolly Dolly



Joined: 06 Jul 2007
Karma :

PostPosted: 11:36 - 18 Mar 2010    Post subject: Delivering Startmenu Icons Reply with quote

Delivered icons..

We have the need to deploy section based shortcuts to Windows users on our network. These shortcuts are to be delivered in a folder in the start menu. So far I have automated the process with login script (by group policy) and got the shortcuts to the users XP desktops but struggling with the start menu part. I can get the icons to deliver anywhere but can’t create the directory in the users start menu

I have tried a MKDIR %userprofile%\Start Menu\new folder and other command like it in the script but the folder is not created..

Anyone know an easy way to do this?

Thanks
CE
 Back to top
View user's profile Send private message Send e-mail You must be logged in to rate posts

T1z3R
World Chat Champion



Joined: 23 Oct 2005
Karma :

PostPosted: 11:41 - 18 Mar 2010    Post subject: Reply with quote

try sending them to 'all users' rather than specific users.
____________________
duck my sick!
 Back to top
View user's profile Send private message You must be logged in to rate posts

Hetzer
Super Spammer



Joined: 19 Feb 2007
Karma :

PostPosted: 12:13 - 18 Mar 2010    Post subject: Reply with quote

Group email them with a readme telling them how to place them themselves. Laughing
____________________
"There's the horizon! Ride hard, ride fast and cut down all who stand in your way!"
 Back to top
View user's profile Send private message You must be logged in to rate posts

Colin Edwards
Brolly Dolly



Joined: 06 Jul 2007
Karma :

PostPosted: 12:59 - 18 Mar 2010    Post subject: Reply with quote

T1z3R wrote:
try sending them to 'all users' rather than specific users.


Tried this.. And using proper C:\ path as well.. Still nothing..

Colin
 Back to top
View user's profile Send private message Send e-mail You must be logged in to rate posts

chrisw
World Chat Champion



Joined: 24 Apr 2006
Karma :

PostPosted: 14:31 - 18 Mar 2010    Post subject: Reply with quote

Not wishing to state the obvious, but you do know that if there is a space in a file/folder path, the whole path has to be encapsulated in double-quotes (shift+2)?

Also, I can't remember, but who runs the login script? Is it executed as a local system account or by the user who is logging in? If it's the later then you need to make sure they have the permission to create the folders.
 Back to top
View user's profile Send private message Visit poster's website You must be logged in to rate posts

Neorion
World Chat Champion



Joined: 08 Jul 2008
Karma :

PostPosted: 14:54 - 18 Mar 2010    Post subject: Reply with quote

pretty decent VBS in here for raping Thumbs Up

https://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_25111545.html
____________________
VFR FI 2000- Shiney Red Thing
"some things man was never meant to know, for everything else there's Google"
 Back to top
View user's profile Send private message You must be logged in to rate posts

G
The Voice of Reason



Joined: 02 Feb 2002
Karma :

PostPosted: 15:32 - 18 Mar 2010    Post subject: Re: Delivering Startmenu Icons Reply with quote

You did try putting it inside the programs directory in the start menu directory, yes?
 Back to top
View user's profile Send private message You must be logged in to rate posts

djr
World Chat Champion



Joined: 09 Nov 2003
Karma :

PostPosted: 16:16 - 19 Mar 2010    Post subject: Re: Delivering Startmenu Icons Reply with quote

Colin Edwards wrote:
Delivered icons..

We have the need to deploy section based shortcuts to Windows users on our network. These shortcuts are to be delivered in a folder in the start menu. So far I have automated the process with login script (by group policy) and got the shortcuts to the users XP desktops but struggling with the start menu part. I can get the icons to deliver anywhere but can’t create the directory in the users start menu

I have tried a MKDIR %userprofile%\Start Menu\new folder and other command like it in the script but the folder is not created..

Anyone know an easy way to do this?

Thanks
CE


Why not do it through group policy / Folder redirection?

Then you just have to create a share on a file server / domain controller (make it read only so users can't change your shortcuts Razz) and do it that way Smile

It's under User configuration > windows settings > folder redirection

then options for desktop, start menu, application data and my documents.
 Back to top
View user's profile Send private message Send e-mail Visit poster's website You must be logged in to rate posts

smegbrains
Scooby Slapper



Joined: 03 Aug 2008
Karma :

PostPosted: 12:57 - 20 Mar 2010    Post subject: Reply with quote

Sounds like you're doing it with the copy command in a batch file, you should try xcopy as there's no faffing about with mkdir then.

If you use %userprofile% in a startup script it will fail as there is no user logged in, so you can only copy to all users unless you run it as a login script.

Put the shortcuts in required folders into \\server\share\shortcuts\ and make sure if you're running as a startup script that "Authenticated Users" is in the access list with read only access.

All Users (Startup or login script):

@Echo Off
xcopy "\\server\share\shortcuts\*" "C:\Documents and Settings\All Users\Start Menu\Programs\" /s /y /q

Single User (Login script only):

@Echo Off
xcopy "\\server\share\shortcuts\*" "%userprofile%\Start Menu\Programs\" /s /y /q

That should do trick.
____________________
Current Bike: Honda CBR 600F
Ex Bikes: Suzuki GX 125
 Back to top
View user's profile Send private message You must be logged in to rate posts

Colin Edwards
Brolly Dolly



Joined: 06 Jul 2007
Karma :

PostPosted: 16:36 - 20 Mar 2010    Post subject: Reply with quote

I can get the icons to appear (on the desktop so far with VB).. I just cant create a folder in the start menu for the icons..

CE
 Back to top
View user's profile Send private message Send e-mail You must be logged in to rate posts

Colin Edwards
Brolly Dolly



Joined: 06 Jul 2007
Karma :

PostPosted: 16:45 - 20 Mar 2010    Post subject: .. Reply with quote

Using VB scripts to action text files with the icon type and action..

Attached are the VB and txt script examples (vb renamed)

Thanks

CE
 Back to top
View user's profile Send private message Send e-mail You must be logged in to rate posts

Colin Edwards
Brolly Dolly



Joined: 06 Jul 2007
Karma :

PostPosted: 20:46 - 23 Mar 2010    Post subject: Reply with quote

Any more ideas?
 Back to top
View user's profile Send private message Send e-mail You must be logged in to rate posts
Old Thread Alert!

The last post was made 16 years, 173 days ago. Instead of replying here, would creating a new thread be more useful?
  Display posts from previous:   
This page may contain affiliate links, which means we may earn a small commission if a visitor clicks through and makes a purchase. By clicking on an affiliate link, you accept that third-party cookies will be set.

Post new topic   Reply to topic    Bike Chat Forums Index -> The Geek Zone All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Read the Terms of Use! - Powered by phpBB © phpBB Group
 

Debug Mode: ON - Server: birks (www) - Page Generation Time: 0.08 Sec - Server Load: 0.73 - MySQL Queries: 13 - Page Size: 73.86 Kb