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?
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)
Please log in to answer
Posted by:
mekaywe
14 years ago
Posted by:
sowjanya_230
14 years ago
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?
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
Posted by:
CanDo70
14 years ago
Posted by:
anonymous_9363
14 years ago
Posted by:
mekaywe
14 years ago
ORIGINAL: VBScab
try giving permisions to main registry hive under HKLM\Software\R E A L L Y Bad Idea.
folder under ProgramFiles
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
Posted by:
Rheuvel
14 years ago
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...
Filter out the process that is your application and then search for some ACCESS DENIED results...
Posted by:
Yankir
14 years ago
Posted by:
sowjanya_230
14 years ago
Posted by:
kardock
14 years ago
Posted by:
swasu
14 years ago
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..
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
Posted by:
sowjanya_230
14 years ago
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.......
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
Posted by:
sowjanya_230
14 years ago
Posted by:
mekaywe
14 years ago
Posted by:
sowjanya_230
14 years ago
Posted by:
mekaywe
14 years ago
Posted by:
pjgeutjens
14 years ago
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
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
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?
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
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
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
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........................
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.