/build/static/layout/Breadcrumb_cap_w.png

Launching in admin not in testuser

Hi,

I took capture for an application.
when i am launching 2 of the shortcuts in user account its giving error....
but when i launch in admin and then in test user its launching....
1. restrated machine
2.given permissions to folders.
can any one provide any solution on this?

0 Comments   [ + ] Show comments

Answers (27)

Posted by: mekaywe 14 years ago
Brown Belt
0
permissions to registries ?
I think when you launch in admin user., the application is creating something in RunTime which the app is unable to do the same if you launch 1st time in Test User.
Posted by: sowjanya_230 14 years ago
Senior Yellow Belt
0
Ya for testing that i took capture in admin like 1st snap shot before launching the shortcut 2nd one after launching it.
some HKCR got captured i included them in my package as well .....
even then its not working.
as you said to what all registries we can give permissions?
there are many registry entries in my package. (msi)
any idea?
Posted by: mekaywe 14 years ago
Brown Belt
0
try giving permisions to main registry hive under HKLM\Software\
folder under ProgramFiles

Use ProcMon, It should guide you in the right direction
Posted by: CanDo70 14 years ago
Yellow Belt
0
Suggest - you use File mon / Reg mon under your test a/c to diagnose issue
Posted by: anonymous_9363 14 years ago
Red Belt
0
try giving permisions to main registry hive under HKLM\Software\
folder under ProgramFiles
R E A L L Y Bad Idea.

Use ProcMon to find out exactly which resources are being written to and permission those only.
Posted by: mekaywe 14 years ago
Brown Belt
0
ORIGINAL: VBScab

try giving permisions to main registry hive under HKLM\Software\
folder under ProgramFiles
R E A L L Y Bad Idea.

Use ProcMon to find out exactly which resources are being written to and permission those only.




Thats just a try if we can ged rid of the error... It doesnt mean that we havvve to give permissions to those in order to avoid shortcut error... Ian
Posted by: sowjanya_230 14 years ago
Senior Yellow Belt
0
I tried running processexplorer but its just showing which exe its accessing and running...
does processmon is different from processexplorer and how to figure out which resources is it accessing and writing....
can you please help?
Posted by: Rheuvel 14 years ago
Brown Belt
0
Yes procmon is very different. First hit on any search engine takes you here: technet.microsoft.com/en-us/sysinternals/bb896645.aspx

Filter out the process that is your application and then search for some ACCESS DENIED results...
Posted by: Yankir 14 years ago
Senior Yellow Belt
0
If you are unable to dig out the registries/files using Procmon then try LUA Buglight tool to identify the registries/files to which permssion needs to be given to resolve the issue.
Posted by: sowjanya_230 14 years ago
Senior Yellow Belt
0
Hi
i need some help like whenever i launch a shortcut its deleting the hkcr keys (actually i gave permissions to that).
again its serching nd trying to create them
can i do something in my package so that whenever those keys gets deleted it should heal nd get back those keys? automatically
Posted by: kardock 14 years ago
Second Degree Green Belt
0
ORIGINAL: Yankir

If you are unable to dig out the registries/files using Procmon then try LUA Buglight tool to identify the registries/files to which permssion needs to be given to resolve the issue.


great tool!

thanks man!
Posted by: swasu 14 years ago
Yellow Belt
0
Hi Sowjanya,

Import the regsitries in to package and remove delete permissions to test user for these registries..

place an active setup and advertise the shortcut...deletion and healing happens only in admin... any how as the end user m/c's won't be able to delete the keys it should be fine i guess..

and can you name the application for which u r facing the issue..
Posted by: anonymous_9363 14 years ago
Red Belt
0
place an active setup and advertise the shortcut...deletion and healing happens only in admin...I suggest a good read of John McFadyen's Windows live blog on self-healing.

Meanwhile, @ sowjanya_230, is the application deleting those keys or is self-healing? Again, ProcMon will show you.
Posted by: sowjanya_230 14 years ago
Senior Yellow Belt
0
Hi ,

The applications name is Aspect Unified IP 6.5.2 ....
and when i have run that procmon it showed access denied to 2 of the HKCR\[key-1], HKCR\[key-2]
so i gave full permissions to those keys for user
but as soon as i launch that its deleting them. again somehow its trying to create them but as user doent have any permissions directly to HKCR its again giving error.
dont know excatly whats happening.......
Posted by: mekaywe 14 years ago
Brown Belt
0
Is you application working fine if you give permissions to HKCR\key1 and key2 ?

Did you capture the application ?
Posted by: sowjanya_230 14 years ago
Senior Yellow Belt
0
yes its a capture
No ....
even if i give permissions its not.......
it showing access denied for HKCR\clsid\{xxxx} like this kind of key
i gave full control even then showing access denied in procmon
Posted by: mekaywe 14 years ago
Brown Belt
0
This might not relate to what you are being queried here but an Idea [;)]
< Did you try creating a Response file to make the app install silently.
I believe you will be able to create response files for applications from "Aspect" Vendor >
Posted by: sowjanya_230 14 years ago
Senior Yellow Belt
0
yes it was a good idea..........but still i dint check whether is this happening in vendor media as well.............
if soo then i think i should trouble shoot this issue in both the cases.......
Posted by: mekaywe 14 years ago
Brown Belt
0
I think.. the issue you are facing should be resolved by GapCapture. Did you try it?
Posted by: sowjanya_230 14 years ago
Senior Yellow Belt
0
I will try doing this gap capture
Posted by: pjgeutjens 14 years ago
Red Belt
0
sowjanya,

One question has to be answered in this case: Is a manual installation of the application behaving the same way? (I think you're already looking into that, but I thought I'd ask again)

If this is the case, you have a problem. It would mean the application itself is deleting and rewriting the HKCR keys, and it's not a package issue. No matter what you do with your MSI (self healing/active setup) , it'll be in direct contention with the application's exe, trying to delete/restore the registry keys. Basically it would mean the application is badly designed and, well, you should line up its programmers against a wall and have them shot...

Solution-wise you have 3 options in this case

1) talk to the vendor
2) give users rights on the entire HKCR hive ( not exactly recommended)
3) explain to the business that this app requires local admin rights to run

PJ
Posted by: sowjanya_230 14 years ago
Senior Yellow Belt
0
Thanks for the suggestions..
coming to answer for your question.
yes i have installed the media exe and in this case also shortcuts are not launching directly
in user account.
but one thing i tried.
i took capture for only that shortcut in admin account (installing the media exe) i found some keys (HKCR) and files(user account appdata folder)
now i installed the media exe again and installed this msi which i have created in the above step.launched shortcut direcly in test user.
now its working for one shortcut. But the other short cut have the same issue......
one more question like if i give permission directly to HKCR, i am not able to log in in to test user account i mean i am not able to view the task bar itself...
any solution for this like how can able to give permissions direclty to HKCR?
Posted by: nheim 14 years ago
10th Degree Black Belt
0
Hi sowjanya,
are you aware of the special composition of the HKCR hive?
This hive is a merge of the following two registry locations:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes
HKEY_CURRENT_USER\Software\Classes
See: http://msdn.microsoft.com/en-us/library/ms724475%28VS.85%29.aspx

So maybe setting the registry keys in the users hive with the installer, solves your problem.

Regards, Nick
Posted by: sowjanya_230 14 years ago
Senior Yellow Belt
0
thanks Nick i will try this option.
Posted by: sreedharko 14 years ago
Orange Belt
0
Hi Sowjanya,

Is that problem resolved !!!!

sreedhar.
Posted by: sowjanya_230 14 years ago
Senior Yellow Belt
0
Yes...
On one of the Machine which has all the basic applications(i mean generally whatever the machines we use with all the basic applications installed) installed, i installed this application as well along with its pre-reqs..
i dont know how it got automatically launched perfectly.
i mean there is something missing when i installed on a clean machine along with their pre-reqs.
so for another short cut i took the capture for that short cut installing the media.and i included whatever i found their.
some how luckily it worked........................
Posted by: anonymous_9363 14 years ago
Red Belt
0
some how luckily it workedNice to see the scientific approach to packaging in use...
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ