Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Active Directory > Re: shortcut permissions confusion

Reply
Thread Tools Display Modes

Re: shortcut permissions confusion

 
 
Ace Fekay [MVP-DS, MCT]
Guest
Posts: n/a

 
      04-07-2010
> The basic goal of my questions is to understand the permissions of
> shortcuts when created by administrator, in trying to get end users to
> run programs linked to the shortcuts.
>
> While I have taken server courses etc and use the runas command often,
> I’m still confused by a few things. I wonder if anyone knows the
> answers to these questions.
>
> I understand there may be security issues regarding setting up short
> cuts with various permissions, and that one can use gpo's to
> administer some of these issues, if we can put that aside for the
> moment I’m trying to understand, permissions when putting shortcuts on
> users desktops.
>
> If I create a shortcut to and executable and put it into All users
> Desktop because I want users to be able to use the program, say the
> defrag program,
>
> I can use
> Runas.exe /savecred /user:admin@mydomain "defrag c: -v"
> Run it once. This will save the credentials so next time this shortcut
> should be able to open w/out password being entered.
> Or I could use
> Runas.exe /savecred /user:administrator@localmachinename "defrag c: -
> v"
> That is probably better.
>
> However the confusion for me begins when just creating links/shortcuts
> to the desktops.
>
> I have see situations where the Administrator just right clicks on the
> program and says create shortcut and then the program sometimes runs
> for all users, other times it does not.
>
> Now I have not even explored the options of when you take a shortcut
> and then open the security settings on it and how that affects the
> running of the program.?
>
> Regards


Thatdepends on the application. Each one runs differently based on
context, which temp folder it uses, etc. For example, while logged in
under a domain user account (no local Admin rights/perms), if I try to
install Java and use the Runas Administrator, it fails half way
through. This is because it's tryhing to use the Administrator's temp
folder, which is in a different profile. You can try to finnagle it but
going into system properties, changiung the temp location variable.
What I did in this scenario, was logon on as Domain admin, put the user
into the local admin group, logon the user, run the Java installation,
then log out, remove the user from local admin, then log them back on
again.

So it really depends on the app. No two software writers think the
same.

--
Ace

This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.

Please reply back to the newsgroup or forum for collaboration benefit
among responding engineers, and to help others benefit from your
resolution.

Ace Fekay, MVP, MCT, MCITP EA, MCTS Windows 2008 & Exchange 2007, MCSE
& MCSA 2003/2000, MCSA Messaging 2003
Microsoft Certified Trainer
Microsoft MVP - Directory Services

If you feel this is an urgent issue and require immediate assistance,
please contact Microsoft PSS directly. Please check
http://support.microsoft.com for regional support phone numbers.


 
Reply With Quote
 
 
 
 
Ace Fekay [MVP-DS, MCT]
Guest
Posts: n/a

 
      04-09-2010
> I agree I have found similar things and maybe that’s my why I’m
> confusion. Some things work and others don’t. For example I used
> shortcut created by network administrator to start spybot. Then log in
> as a user then run spybot from that link it, runs but then when I try
> to immunise the machine it says I cant because of permissions, but
> then merrily it proceeds to go ahead and does the job. ??
>
> I’m glad I’m not the only one confused by this.
>
> However I am a little confused by your comment regarding installing a
> program with run as administrator, shouldn’t the network/domain
> administrator be able to install the program on the local computer no
> matter what? Shouldn’t the net/administrator clobber everything.
>
> Of course this doesn’t really answer any questions regarding shortcuts
> really.
>
> Regards


Yes, the domain admin account WILL install it when used using Runas,
however, since you are Running It As the domain admin account, the
installer will use the Domain ADmin profile's temp and possibly other
folders in the domain admin's profile, (possibly shortcuts, etc), and
NOT the user account that's l ogged in. That was why I mentioned giving
the domain user account local admin rights, then install it directly
under the domain user's account while logged in, then log the user off,
and remove the local admin rights, and it works fine.

--
Ace

This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.

Please reply back to the newsgroup or forum for collaboration benefit
among responding engineers, and to help others benefit from your
resolution.

Ace Fekay, MVP, MCT, MCITP EA, MCTS Windows 2008 & Exchange 2007, MCSE
& MCSA 2003/2000, MCSA Messaging 2003
Microsoft Certified Trainer
Microsoft MVP - Directory Services

If you feel this is an urgent issue and require immediate assistance,
please contact Microsoft PSS directly. Please check
http://support.microsoft.com for regional support phone numbers.


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying Shared folders and retaining share and file permissions Bry M Server Networking 7 03-24-2010 01:12 PM
Re: share folder permissions Ace Fekay [MVP-DS, MCT] Server Networking 0 03-20-2010 01:32 AM
SBS 2003 - tidying up share permissions BrianR Windows Small Business Server 3 02-25-2010 10:25 AM
share permissions get added to file permissions Bonno Bloksma Windows Server 2 02-23-2010 12:19 PM
Help:Internet Shortcuts missing URL property & IE7 can not save pa mbenson Internet Explorer 7 10-31-2009 05:15 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59