Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

Vista - Permissions issue

Reply
 
Old 03-03-2009   #1 (permalink)
abinkow


 
 

Permissions issue

I have a program that installs as a subfolder of the Program Files (x86)
folder. Inside the main folder of the application is a file, SpecDat.xxx.
The application, when run, needs to change this file.

If I run this application from an administrator account, it comes back with
a Error '53': File Not Found error. After some extended debugging by both me
and the author, we discovered it wasn't updating this file. When I tried to
update this file manually using Notepad, Notepad wouldn't save it either.

After more research, I ran the application by right-clicking and selecting
"run as an administrator". Now it works, even though I'm always running it
from an administrator account.

What's wrong? And what can I do to fix it?

My System SpecsSystem Spec
Old 03-03-2009   #2 (permalink)
Malke


 
 

Re: Permissions issue

abinkow wrote:
Quote:

> I have a program that installs as a subfolder of the Program Files (x86)
> folder. Inside the main folder of the application is a file, SpecDat.xxx.
> The application, when run, needs to change this file.
>
> If I run this application from an administrator account, it comes back
> with
> a Error '53': File Not Found error. After some extended debugging by both
> me
> and the author, we discovered it wasn't updating this file. When I tried
> to update this file manually using Notepad, Notepad wouldn't save it
> either.
>
> After more research, I ran the application by right-clicking and selecting
> "run as an administrator". Now it works, even though I'm always running
> it from an administrator account.
>
> What's wrong? And what can I do to fix it?
The file is in a protected area of the operating system. The author of the
software needs to learn to write for Vista. He should put the file that
needs to be updated in a different place such as in a folder in the
individual user account.

Malke
--
MS-MVP
Elephant Boy Computers - Don't Panic!
http://www.elephantboycomputers.com/#FAQ

My System SpecsSystem Spec
Old 03-03-2009   #3 (permalink)
abinkow


 
 

Re: Permissions issue

I figured that this was the problem -- and thanks -- but it isn't practical
at this time. While the program is a beta test, it has been distributed to
over 100 users and cannot be changed.

How can I provide access to this program to administrator users, without
having to "run as administrator?

"Malke" wrote:
Quote:

> abinkow wrote:
>
Quote:

> > I have a program that installs as a subfolder of the Program Files (x86)
> > folder. Inside the main folder of the application is a file, SpecDat.xxx.
> > The application, when run, needs to change this file.
> >
> > If I run this application from an administrator account, it comes back
> > with
> > a Error '53': File Not Found error. After some extended debugging by both
> > me
> > and the author, we discovered it wasn't updating this file. When I tried
> > to update this file manually using Notepad, Notepad wouldn't save it
> > either.
> >
> > After more research, I ran the application by right-clicking and selecting
> > "run as an administrator". Now it works, even though I'm always running
> > it from an administrator account.
> >
> > What's wrong? And what can I do to fix it?
>
> The file is in a protected area of the operating system. The author of the
> software needs to learn to write for Vista. He should put the file that
> needs to be updated in a different place such as in a folder in the
> individual user account.
>
> Malke
> --
> MS-MVP
> Elephant Boy Computers - Don't Panic!
> http://www.elephantboycomputers.com/#FAQ
>
>
My System SpecsSystem Spec
Old 03-03-2009   #4 (permalink)
Malke


 
 

Re: Permissions issue

abinkow wrote:
Quote:

> I figured that this was the problem -- and thanks -- but it isn't
> practical
> at this time. While the program is a beta test, it has been distributed
> to over 100 users and cannot be changed.
>
> How can I provide access to this program to administrator users, without
> having to "run as administrator?
AFAIK you can't. Since it's a beta, you've just discovered a rather large
bug to fix in the next build.

Perhaps you - or the author of the software - should post in a developer's
newsgroup instead.

http://aumha.org/nntp.htm - list of MS newsgroups

Malke
--
MS-MVP
Elephant Boy Computers - Don't Panic!
http://www.elephantboycomputers.com/#FAQ

My System SpecsSystem Spec
Old 03-04-2009   #5 (permalink)
Sam Hobbs


 
 

Re: Permissions issue

You could change the permissions for the one file. That is not the ideal
solution and you should undo that as soon as the developer has fixed the
problem. Don't change permissions in situations you are not sure why you are
doing it. Be organized about it in the sense that you keep track of things
such as this. Don't change permissions for anything more than you really
need to.

There was in the past a MSDN forum for developers of applications in Vista
but I am not sure where it is now. There would certainly be many previous
answers there to your specific problem. The following has multiple forums
that might be relevant and that would already have previous answers. These
forums are for the developers of the software so you can suggest they use
the following.

http://social.msdn.microsoft.com/For...ategory/windev

Note that Microsoft's use of "social" in that address is very confusing;
there are no social forums there. Microsoft apparently needs to confuse us
and that is obviously one of many ways they do that.



"abinkow" <abinkow@xxxxxx> wrote in message
news:643CB56E-1D34-49C7-872F-D9255A54CFAD@xxxxxx
Quote:

>I figured that this was the problem -- and thanks -- but it isn't practical
> at this time. While the program is a beta test, it has been distributed
> to
> over 100 users and cannot be changed.
>
> How can I provide access to this program to administrator users, without
> having to "run as administrator?
>
> "Malke" wrote:
>
Quote:

>> abinkow wrote:
>>
Quote:

>> > I have a program that installs as a subfolder of the Program Files
>> > (x86)
>> > folder. Inside the main folder of the application is a file,
>> > SpecDat.xxx.
>> > The application, when run, needs to change this file.
>> >
>> > If I run this application from an administrator account, it comes back
>> > with
>> > a Error '53': File Not Found error. After some extended debugging by
>> > both
>> > me
>> > and the author, we discovered it wasn't updating this file. When I
>> > tried
>> > to update this file manually using Notepad, Notepad wouldn't save it
>> > either.
>> >
>> > After more research, I ran the application by right-clicking and
>> > selecting
>> > "run as an administrator". Now it works, even though I'm always
>> > running
>> > it from an administrator account.
>> >
>> > What's wrong? And what can I do to fix it?
>>
>> The file is in a protected area of the operating system. The author of
>> the
>> software needs to learn to write for Vista. He should put the file that
>> needs to be updated in a different place such as in a folder in the
>> individual user account.
>>
>> Malke
>> --
>> MS-MVP
>> Elephant Boy Computers - Don't Panic!
>> http://www.elephantboycomputers.com/#FAQ
>>
>>
My System SpecsSystem Spec
Old 05-12-2009   #6 (permalink)
Malcolm McCaffery


 
 

Re: Permissions issue

The application should be fixed! These development practices have not been
recommended by Microsoft prior to Vista...

However if it can't be fixed you can use Microsoft Application Compatibility
Toolkit

http://www.microsoft.com/downloads/d...displaylang=en

Refer to here

http://technet.microsoft.com/en-us/w.../aa905066.aspx

Use Application Verifier as well details here

http://msdn.microsoft.com/en-us/windows/aa904987.aspx

regards,

Malcolm.

"abinkow" <abinkow@xxxxxx> wrote in message
news:643CB56E-1D34-49C7-872F-D9255A54CFAD@xxxxxx
Quote:

> I figured that this was the problem -- and thanks -- but it isn't
> practical
> at this time. While the program is a beta test, it has been distributed
> to
> over 100 users and cannot be changed.
>
> How can I provide access to this program to administrator users, without
> having to "run as administrator?
>
> "Malke" wrote:
>
Quote:

>> abinkow wrote:
>>
Quote:

>> > I have a program that installs as a subfolder of the Program Files
>> > (x86)
>> > folder. Inside the main folder of the application is a file,
>> > SpecDat.xxx.
>> > The application, when run, needs to change this file.
>> >
>> > If I run this application from an administrator account, it comes back
>> > with
>> > a Error '53': File Not Found error. After some extended debugging by
>> > both
>> > me
>> > and the author, we discovered it wasn't updating this file. When I
>> > tried
>> > to update this file manually using Notepad, Notepad wouldn't save it
>> > either.
>> >
>> > After more research, I ran the application by right-clicking and
>> > selecting
>> > "run as an administrator". Now it works, even though I'm always
>> > running
>> > it from an administrator account.
>> >
>> > What's wrong? And what can I do to fix it?
>>
>> The file is in a protected area of the operating system. The author of
>> the
>> software needs to learn to write for Vista. He should put the file that
>> needs to be updated in a different place such as in a folder in the
>> individual user account.
>>
>> Malke
>> --
>> MS-MVP
>> Elephant Boy Computers - Don't Panic!
>> http://www.elephantboycomputers.com/#FAQ
>>
>>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Permissions Issue Vista security
filepath/permissions issue? Vista Games
Permissions issue? Vista security
Strange Permissions Issue Vista account administration
Get-wmiobject, permissions issue... PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

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