Windows Vista Forums
Vista Forums Home Join Vista Forums Tech Publications Windows 7 Forum Vista Tutorials Webcasts Tags

Welcome to Vista Forums we are your forum for Windows Vista help and discussion. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista security

Drag and Drop Problems (UAC related)

Update your Vista Drivers
Reply
 
Thread Tools Display Modes
Old 05-22-2007   #1 (permalink)
Owen
Guest


 

Drag and Drop Problems (UAC related)

I can't seem to drag and drop a file from Windows Explorer with elevated
privileges to Notepad (or any other editor) with elevated privileges. Why
not? Both have elevated privileges, so it should work. (BTW, I can use the
right-click/sendTo method, and -- with a confirmation that it's OK -- it
works).

Seems like these are the symptoms:
1. from normal user Explorer :: to normal user Notepad :: works
2. from Runas Administrator Explorer :: to normal user Notepad :: works
3. from normal user Explorer :: to Runas Administrator Notepad :: correctly
shows "forbidden" drag-drop icon
4. from Runas Administrator Explorer :: to Runas Administrator Notepad ::
shows "forbidden" drag-drop icon.

I understand #3, but #4 makes no sense at all. When will this bug be fixed?
Maybe I'll have to turn off UAC so I can get some work done....

--
Owen

My System SpecsSystem Spec
Old 05-22-2007   #2 (permalink)
Jesper
Guest


 

RE: Drag and Drop Problems (UAC related)

Explorer can't be elevated. Most likely that is the cause of your problem.

---
Your question may already be answered in Windows Vista Security:
http://www.amazon.com/gp/product/047...otectyourwi-20


"Owen" wrote:

> I can't seem to drag and drop a file from Windows Explorer with elevated
> privileges to Notepad (or any other editor) with elevated privileges. Why
> not? Both have elevated privileges, so it should work. (BTW, I can use the
> right-click/sendTo method, and -- with a confirmation that it's OK -- it
> works).
>
> Seems like these are the symptoms:
> 1. from normal user Explorer :: to normal user Notepad :: works
> 2. from Runas Administrator Explorer :: to normal user Notepad :: works
> 3. from normal user Explorer :: to Runas Administrator Notepad :: correctly
> shows "forbidden" drag-drop icon
> 4. from Runas Administrator Explorer :: to Runas Administrator Notepad ::
> shows "forbidden" drag-drop icon.
>
> I understand #3, but #4 makes no sense at all. When will this bug be fixed?
> Maybe I'll have to turn off UAC so I can get some work done....
>
> --
> Owen

My System SpecsSystem Spec
Old 05-22-2007   #3 (permalink)
Owen
Guest


 

RE: Drag and Drop Problems (UAC related)

Even when I say "Run as Administrator" when starting it up? Strange. Well,
somehow I need a way to drag and drop from explorer into an app that is
running with elevated privileges.
--
Owen


"Jesper" wrote:

> Explorer can't be elevated. Most likely that is the cause of your problem.
>
> ---
> Your question may already be answered in Windows Vista Security:
> http://www.amazon.com/gp/product/047...otectyourwi-20
>
>
> "Owen" wrote:
>
> > I can't seem to drag and drop a file from Windows Explorer with elevated
> > privileges to Notepad (or any other editor) with elevated privileges. Why
> > not? Both have elevated privileges, so it should work. (BTW, I can use the
> > right-click/sendTo method, and -- with a confirmation that it's OK -- it
> > works).
> >
> > Seems like these are the symptoms:
> > 1. from normal user Explorer :: to normal user Notepad :: works
> > 2. from Runas Administrator Explorer :: to normal user Notepad :: works
> > 3. from normal user Explorer :: to Runas Administrator Notepad :: correctly
> > shows "forbidden" drag-drop icon
> > 4. from Runas Administrator Explorer :: to Runas Administrator Notepad ::
> > shows "forbidden" drag-drop icon.
> >
> > I understand #3, but #4 makes no sense at all. When will this bug be fixed?
> > Maybe I'll have to turn off UAC so I can get some work done....
> >
> > --
> > Owen

My System SpecsSystem Spec
Old 05-22-2007   #4 (permalink)
Jesper
Guest


 

RE: Drag and Drop Problems (UAC related)

Yes. This is one of the strangest things in Vista. You can go through all the
motions and it looks exactly like you are getting an elevated Explorer
window, but you don't. It just doesn't work. And, you can't drag and drop
between a low process and an elevated one as that would violate the little
bit of security boundary there actually is. In other words, you can't do what
it is you are trying to do.
---
Your question may already be answered in Windows Vista Security:
http://www.amazon.com/gp/product/047...otectyourwi-20


"Owen" wrote:

> Even when I say "Run as Administrator" when starting it up? Strange. Well,
> somehow I need a way to drag and drop from explorer into an app that is
> running with elevated privileges.
> --
> Owen
>
>
> "Jesper" wrote:
>
> > Explorer can't be elevated. Most likely that is the cause of your problem.
> >
> > ---
> > Your question may already be answered in Windows Vista Security:
> > http://www.amazon.com/gp/product/047...otectyourwi-20
> >
> >
> > "Owen" wrote:
> >
> > > I can't seem to drag and drop a file from Windows Explorer with elevated
> > > privileges to Notepad (or any other editor) with elevated privileges. Why
> > > not? Both have elevated privileges, so it should work. (BTW, I can use the
> > > right-click/sendTo method, and -- with a confirmation that it's OK -- it
> > > works).
> > >
> > > Seems like these are the symptoms:
> > > 1. from normal user Explorer :: to normal user Notepad :: works
> > > 2. from Runas Administrator Explorer :: to normal user Notepad :: works
> > > 3. from normal user Explorer :: to Runas Administrator Notepad :: correctly
> > > shows "forbidden" drag-drop icon
> > > 4. from Runas Administrator Explorer :: to Runas Administrator Notepad ::
> > > shows "forbidden" drag-drop icon.
> > >
> > > I understand #3, but #4 makes no sense at all. When will this bug be fixed?
> > > Maybe I'll have to turn off UAC so I can get some work done....
> > >
> > > --
> > > Owen

My System SpecsSystem Spec
Old 05-22-2007   #5 (permalink)
Owen
Guest


 

RE: Drag and Drop Problems (UAC related)

Sooooo, Microsoft knows best! Thpttptptptpt! I need to do my job and it's
about time Windows got out of the way and let me! Instead, it keeps getting
more and more intrusive and obstructive. If I could move to Linux, I think I
would.
--
Owen


"Jesper" wrote:

> Yes. This is one of the strangest things in Vista. You can go through all the
> motions and it looks exactly like you are getting an elevated Explorer
> window, but you don't. It just doesn't work. And, you can't drag and drop
> between a low process and an elevated one as that would violate the little
> bit of security boundary there actually is. In other words, you can't do what
> it is you are trying to do.
> ---
> Your question may already be answered in Windows Vista Security:
> http://www.amazon.com/gp/product/047...otectyourwi-20
>
>
> "Owen" wrote:
>
> > Even when I say "Run as Administrator" when starting it up? Strange. Well,
> > somehow I need a way to drag and drop from explorer into an app that is
> > running with elevated privileges.
> > --
> > Owen
> >
> >
> > "Jesper" wrote:
> >
> > > Explorer can't be elevated. Most likely that is the cause of your problem.
> > >
> > > ---
> > > Your question may already be answered in Windows Vista Security:
> > > http://www.amazon.com/gp/product/047...otectyourwi-20
> > >
> > >
> > > "Owen" wrote:
> > >
> > > > I can't seem to drag and drop a file from Windows Explorer with elevated
> > > > privileges to Notepad (or any other editor) with elevated privileges. Why
> > > > not? Both have elevated privileges, so it should work. (BTW, I can use the
> > > > right-click/sendTo method, and -- with a confirmation that it's OK -- it
> > > > works).
> > > >
> > > > Seems like these are the symptoms:
> > > > 1. from normal user Explorer :: to normal user Notepad :: works
> > > > 2. from Runas Administrator Explorer :: to normal user Notepad :: works
> > > > 3. from normal user Explorer :: to Runas Administrator Notepad :: correctly
> > > > shows "forbidden" drag-drop icon
> > > > 4. from Runas Administrator Explorer :: to Runas Administrator Notepad ::
> > > > shows "forbidden" drag-drop icon.
> > > >
> > > > I understand #3, but #4 makes no sense at all. When will this bug be fixed?
> > > > Maybe I'll have to turn off UAC so I can get some work done....
> > > >
> > > > --
> > > > Owen

My System SpecsSystem Spec
Old 05-22-2007   #6 (permalink)
Jesper
Guest


 

RE: Drag and Drop Problems (UAC related)

Out of curiosity: what is it that you are trying to accomplish? I've never
found a need to drag and drop into elevated Notepad windows that I couldn't
satisfy some other way. I have many times wished I had an elevated Explorer
window, but I have found ways of working around that too.
---
Your question may already be answered in Windows Vista Security:
http://www.amazon.com/gp/product/047...otectyourwi-20


"Owen" wrote:

> Sooooo, Microsoft knows best! Thpttptptptpt! I need to do my job and it's
> about time Windows got out of the way and let me! Instead, it keeps getting
> more and more intrusive and obstructive. If I could move to Linux, I think I
> would.
> --
> Owen
>
>
> "Jesper" wrote:
>
> > Yes. This is one of the strangest things in Vista. You can go through all the
> > motions and it looks exactly like you are getting an elevated Explorer
> > window, but you don't. It just doesn't work. And, you can't drag and drop
> > between a low process and an elevated one as that would violate the little
> > bit of security boundary there actually is. In other words, you can't do what
> > it is you are trying to do.
> > ---
> > Your question may already be answered in Windows Vista Security:
> > http://www.amazon.com/gp/product/047...otectyourwi-20
> >
> >
> > "Owen" wrote:
> >
> > > Even when I say "Run as Administrator" when starting it up? Strange. Well,
> > > somehow I need a way to drag and drop from explorer into an app that is
> > > running with elevated privileges.
> > > --
> > > Owen
> > >
> > >
> > > "Jesper" wrote:
> > >
> > > > Explorer can't be elevated. Most likely that is the cause of your problem.
> > > >
> > > > ---
> > > > Your question may already be answered in Windows Vista Security:
> > > > http://www.amazon.com/gp/product/047...otectyourwi-20
> > > >
> > > >
> > > > "Owen" wrote:
> > > >
> > > > > I can't seem to drag and drop a file from Windows Explorer with elevated
> > > > > privileges to Notepad (or any other editor) with elevated privileges. Why
> > > > > not? Both have elevated privileges, so it should work. (BTW, I can use the
> > > > > right-click/sendTo method, and -- with a confirmation that it's OK -- it
> > > > > works).
> > > > >
> > > > > Seems like these are the symptoms:
> > > > > 1. from normal user Explorer :: to normal user Notepad :: works
> > > > > 2. from Runas Administrator Explorer :: to normal user Notepad :: works
> > > > > 3. from normal user Explorer :: to Runas Administrator Notepad :: correctly
> > > > > shows "forbidden" drag-drop icon
> > > > > 4. from Runas Administrator Explorer :: to Runas Administrator Notepad ::
> > > > > shows "forbidden" drag-drop icon.
> > > > >
> > > > > I understand #3, but #4 makes no sense at all. When will this bug be fixed?
> > > > > Maybe I'll have to turn off UAC so I can get some work done....
> > > > >
> > > > > --
> > > > > Owen

My System SpecsSystem Spec
Old 05-22-2007   #7 (permalink)
Jesper
Guest


 

RE: Drag and Drop Problems (UAC related)

I haven't used IIS on Vista very much personally, and the last time I wrote
web code in Notepad was 10 years ago, but there is no reason this shouldn't
work. As a work-around, I would just add yourself with write permissions to
the directory. What part of that is it that doesn't work? What steps do you
go through and what error messages do you get?


---
Your question may already be answered in Windows Vista Security:
http://www.amazon.com/gp/product/047...otectyourwi-20


"Owen" wrote:

> I'm trying to write asp.net code on my local machine in the
> \inetpub\wwwroot\website directory and use my editor (not notepad, but it
> sufficed for the example since everyone has it and it exhibits the same
> problem) to edit the files. However, Vista gives anything under \inetpub
> elevated permissions and requires any editor to have elevated permissions to
> be able to write there.
>
> Now, I could probably put my files somewhere else and point IIS to them, but
> I really want them in \inetpub\wwwroot (with the attendant security settings)
> to mimic the production environment as closely as possible without actually
> editing the files on the staging server (so as not to step on the other
> developers toes, for one).
>
> I tried modifying the security settings on my wwwroot sub-folder, but the
> system does not seem to want to let me. Any suggestions there?
>
> Thanks,
> --
> Owen
>
>
> "Jesper" wrote:
>
> > Out of curiosity: what is it that you are trying to accomplish? I've never
> > found a need to drag and drop into elevated Notepad windows that I couldn't
> > satisfy some other way. I have many times wished I had an elevated Explorer
> > window, but I have found ways of working around that too.
> > ---
> > Your question may already be answered in Windows Vista Security:
> > http://www.amazon.com/gp/product/047...otectyourwi-20
> >
> >
> > "Owen" wrote:
> >
> > > Sooooo, Microsoft knows best! Thpttptptptpt! I need to do my job and it's
> > > about time Windows got out of the way and let me! Instead, it keeps getting
> > > more and more intrusive and obstructive. If I could move to Linux, I think I
> > > would.
> > > --
> > > Owen
> > >
> > >
> > > "Jesper" wrote:
> > >
> > > > Yes. This is one of the strangest things in Vista. You can go through all the
> > > > motions and it looks exactly like you are getting an elevated Explorer
> > > > window, but you don't. It just doesn't work. And, you can't drag and drop
> > > > between a low process and an elevated one as that would violate the little
> > > > bit of security boundary there actually is. In other words, you can't do what
> > > > it is you are trying to do.
> > > > ---
> > > > Your question may already be answered in Windows Vista Security:
> > > > http://www.amazon.com/gp/product/047...otectyourwi-20
> > > >
> > > >
> > > > "Owen" wrote:
> > > >
> > > > > Even when I say "Run as Administrator" when starting it up? Strange. Well,
> > > > > somehow I need a way to drag and drop from explorer into an app that is
> > > > > running with elevated privileges.
> > > > > --
> > > > > Owen
> > > > >
> > > > >
> > > > > "Jesper" wrote:
> > > > >
> > > > > > Explorer can't be elevated. Most likely that is the cause of your problem.
> > > > > >
> > > > > > ---
> > > > > > Your question may already be answered in Windows Vista Security:
> > > > > > http://www.amazon.com/gp/product/047...otectyourwi-20
> > > > > >
> > > > > >
> > > > > > "Owen" wrote:
> > > > > >
> > > > > > > I can't seem to drag and drop a file from Windows Explorer with elevated
> > > > > > > privileges to Notepad (or any other editor) with elevated privileges. Why
> > > > > > > not? Both have elevated privileges, so it should work. (BTW, I can use the
> > > > > > > right-click/sendTo method, and -- with a confirmation that it's OK -- it
> > > > > > > works).
> > > > > > >
> > > > > > > Seems like these are the symptoms:
> > > > > > > 1. from normal user Explorer :: to normal user Notepad :: works
> > > > > > > 2. from Runas Administrator Explorer :: to normal user Notepad :: works
> > > > > > > 3. from normal user Explorer :: to Runas Administrator Notepad :: correctly
> > > > > > > shows "forbidden" drag-drop icon
> > > > > > > 4. from Runas Administrator Explorer :: to Runas Administrator Notepad ::
> > > > > > > shows "forbidden" drag-drop icon.
> > > > > > >
> > > > > > > I understand #3, but #4 makes no sense at all. When will this bug be fixed?
> > > > > > > Maybe I'll have to turn off UAC so I can get some work done....
> > > > > > >
> > > > > > > --
> > > > > > > Owen

My System SpecsSystem Spec
Old 05-22-2007   #8 (permalink)
Owen
Guest


 

RE: Drag and Drop Problems (UAC related)

OK, I set the security for me

Hmmm. I thought I tried this before and it didn't work (i.e., set the
security, got no errors but still couldn't edit the files. Seems to work
now, though. Thanks!)

Even Drag-n-Drop! Yes!

--
Owen


"Jesper" wrote:

> I haven't used IIS on Vista very much personally, and the last time I wrote
> web code in Notepad was 10 years ago, but there is no reason this shouldn't
> work. As a work-around, I would just add yourself with write permissions to
> the directory. What part of that is it that doesn't work? What steps do you
> go through and what error messages do you get?
>
>
> ---
> Your question may already be answered in Windows Vista Security:
> http://www.amazon.com/gp/product/047...otectyourwi-20
>
>
> "Owen" wrote:
>
> > I'm trying to write asp.net code on my local machine in the
> > \inetpub\wwwroot\website directory and use my editor (not notepad, but it
> > sufficed for the example since everyone has it and it exhibits the same
> > problem) to edit the files. However, Vista gives anything under \inetpub
> > elevated permissions and requires any editor to have elevated permissions to
> > be able to write there.
> >
> > Now, I could probably put my files somewhere else and point IIS to them, but
> > I really want them in \inetpub\wwwroot (with the attendant security settings)
> > to mimic the production environment as closely as possible without actually
> > editing the files on the staging server (so as not to step on the other
> > developers toes, for one).
> >
> > I tried modifying the security settings on my wwwroot sub-folder, but the
> > system does not seem to want to let me. Any suggestions there?
> >
> > Thanks,
> > --
> > Owen
> >
> >
> > "Jesper" wrote:
> >
> > > Out of curiosity: what is it that you are trying to accomplish? I've never
> > > found a need to drag and drop into elevated Notepad windows that I couldn't
> > > satisfy some other way. I have many times wished I had an elevated Explorer
> > > window, but I have found ways of working around that too.
> > > ---
> > > Your question may already be answered in Windows Vista Security:
> > > http://www.amazon.com/gp/product/047...otectyourwi-20
> > >
> > >
> > > "Owen" wrote:
> > >
> > > > Sooooo, Microsoft knows best! Thpttptptptpt! I need to do my job and it's
> > > > about time Windows got out of the way and let me! Instead, it keeps getting
> > > > more and more intrusive and obstructive. If I could move to Linux, I think I
> > > > would.
> > > > --
> > > > Owen
> > > >
> > > >
> > > > "Jesper" wrote:
> > > >
> > > > > Yes. This is one of the strangest things in Vista. You can go through all the
> > > > > motions and it looks exactly like you are getting an elevated Explorer
> > > > > window, but you don't. It just doesn't work. And, you can't drag and drop
> > > > > between a low process and an elevated one as that would violate the little
> > > > > bit of security boundary there actually is. In other words, you can't do what
> > > > > it is you are trying to do.
> > > > > ---
> > > > > Your question may already be answered in Windows Vista Security:
> > > > > http://www.amazon.com/gp/product/047...otectyourwi-20
> > > > >
> > > > >
> > > > > "Owen" wrote:
> > > > >
> > > > > > Even when I say "Run as Administrator" when starting it up? Strange. Well,
> > > > > > somehow I need a way to drag and drop from explorer into an app that is
> > > > > > running with elevated privileges.
> > > > > > --
> > > > > > Owen
> > > > > >
> > > > > >
> > > > > > "Jesper" wrote:
> > > > > >
> > > > > > > Explorer can't be elevated. Most likely that is the cause of your problem.
> > > > > > >
> > > > > > > ---
> > > > > > > Your question may already be answered in Windows Vista Security:
> > > > > > > http://www.amazon.com/gp/product/047...otectyourwi-20
> > > > > > >
> > > > > > >
> > > > > > > "Owen" wrote:
> > > > > > >
> > > > > > > > I can't seem to drag and drop a file from Windows Explorer with elevated
> > > > > > > > privileges to Notepad (or any other editor) with elevated privileges. Why
> > > > > > > > not? Both have elevated privileges, so it should work. (BTW, I can use the
> > > > > > > > right-click/sendTo method, and -- with a confirmation that it's OK -- it
> > > > > > > > works).
> > > > > > > >
> > > > > > > > Seems like these are the symptoms:
> > > > > > > > 1. from normal user Explorer :: to normal user Notepad :: works
> > > > > > > > 2. from Runas Administrator Explorer :: to normal user Notepad :: works
> > > > > > > > 3. from normal user Explorer :: to Runas Administrator Notepad :: correctly
> > > > > > > > shows "forbidden" drag-drop icon
> > > > > > > > 4. from Runas Administrator Explorer :: to Runas Administrator Notepad ::
> > > > > > > > shows "forbidden" drag-drop icon.
> > > > > > > >
> > > > > > > > I understand #3, but #4 makes no sense at all. When will this bug be fixed?
> > > > > > > > Maybe I'll have to turn off UAC so I can get some work done....
> > > > > > > >
> > > > > > > > --
> > > > > > > > Owen

My System SpecsSystem Spec
Old 05-22-2007   #9 (permalink)
Jesper
Guest


 

RE: Drag and Drop Problems (UAC related)

Glad to hear it is working.

BTW, you do know you can get Visual Studio for free right?
http://msdn.microsoft.com/vstudio/express/

---
Your question may already be answered in Windows Vista Security:
http://www.amazon.com/gp/product/047...otectyourwi-20


"Owen" wrote:

> OK, I set the security for me
>
> Hmmm. I thought I tried this before and it didn't work (i.e., set the
> security, got no errors but still couldn't edit the files. Seems to work
> now, though. Thanks!)
>
> Even Drag-n-Drop! Yes!
>
> --
> Owen
>
>
> "Jesper" wrote:
>
> > I haven't used IIS on Vista very much personally, and the last time I wrote
> > web code in Notepad was 10 years ago, but there is no reason this shouldn't
> > work. As a work-around, I would just add yourself with write permissions to
> > the directory. What part of that is it that doesn't work? What steps do you
> > go through and what error messages do you get?
> >
> >
> > ---
> > Your question may already be answered in Windows Vista Security:
> > http://www.amazon.com/gp/product/047...otectyourwi-20
> >
> >
> > "Owen" wrote:
> >
> > > I'm trying to write asp.net code on my local machine in the
> > > \inetpub\wwwroot\website directory and use my editor (not notepad, but it
> > > sufficed for the example since everyone has it and it exhibits the same
> > > problem) to edit the files. However, Vista gives anything under \inetpub
> > > elevated permissions and requires any editor to have elevated permissions to
> > > be able to write there.
> > >
> > > Now, I could probably put my files somewhere else and point IIS to them, but
> > > I really want them in \inetpub\wwwroot (with the attendant security settings)
> > > to mimic the production environment as closely as possible without actually
> > > editing the files on the staging server (so as not to step on the other
> > > developers toes, for one).
> > >
> > > I tried modifying the security settings on my wwwroot sub-folder, but the
> > > system does not seem to want to let me. Any suggestions there?
> > >
> > > Thanks,
> > > --
> > > Owen
> > >
> > >
> > > "Jesper" wrote:
> > >
> > > > Out of curiosity: what is it that you are trying to accomplish? I've never
> > > > found a need to drag and drop into elevated Notepad windows that I couldn't
> > > > satisfy some other way. I have many times wished I had an elevated Explorer
> > > > window, but I have found ways of working around that too.
> > > > ---
> > > > Your question may already be answered in Windows Vista Security:
> > > > http://www.amazon.com/gp/product/047...otectyourwi-20
> > > >
> > > >
> > > > "Owen" wrote:
> > > >
> > > > > Sooooo, Microsoft knows best! Thpttptptptpt! I need to do my job and it's
> > > > > about time Windows got out of the way and let me! Instead, it keeps getting
> > > > > more and more intrusive and obstructive. If I could move to Linux, I think I
> > > > > would.
> > > > > --
> > > > > Owen
> > > > >
> > > > >
> > > > > "Jesper" wrote:
> > > > >
> > > > > > Yes. This is one of the strangest things in Vista. You can go through all the
> > > > > > motions and it looks exactly like you are getting an elevated Explorer
> > > > > > window, but you don't. It just doesn't work. And, you can't drag and drop
> > > > > > between a low process and an elevated one as that would violate the little
> > > > > > bit of security boundary there actually is. In other words, you can't do what
> > > > > > it is you are trying to do.
> > > > > > ---
> > > > > > Your question may already be answered in Windows Vista Security:
> > > > > > http://www.amazon.com/gp/product/047...otectyourwi-20
> > > > > >
> > > > > >
> > > > > > "Owen" wrote:
> > > > > >
> > > > > > > Even when I say "Run as Administrator" when starting it up? Strange. Well,
> > > > > > > somehow I need a way to drag and drop from explorer into an app that is
> > > > > > > running with elevated privileges.
> > > > > > > --
> > > > > > > Owen
> > > > > > >
> > > > > > >
> > > > > > > "Jesper" wrote:
> > > > > > >
> > > > > > > > Explorer can't be elevated. Most likely that is the cause of your problem.
> > > > > > > >
> > > > > > > > ---
> > > > > > > > Your question may already be answered in Windows Vista Security:
> > > > > > > > http://www.amazon.com/gp/product/047...otectyourwi-20
> > > > > > > >
> > > > > > > >
> > > > > > > > "Owen" wrote:
> > > > > > > >
> > > > > > > > > I can't seem to drag and drop a file from Windows Explorer with elevated
> > > > > > > > > privileges to Notepad (or any other editor) with elevated privileges. Why
> > > > > > > > > not? Both have elevated privileges, so it should work. (BTW, I can use the
> > > > > > > > > right-click/sendTo method, and -- with a confirmation that it's OK -- it
> > > > > > > > > works).
> > > > > > > > >
> > > > > > > > > Seems like these are the symptoms:
> > > > > > > > > 1. from normal user Explorer :: to normal user Notepad :: works
> > > > > > > > > 2. from Runas Administrator Explorer :: to normal user Notepad :: works
> > > > > > > > > 3. from normal user Explorer :: to Runas Administrator Notepad :: correctly
> > > > > > > > > shows "forbidden" drag-drop icon
> > > > > > > > > 4. from Runas Administrator Explorer :: to Runas Administrator Notepad ::
> > > > > > > > > shows "forbidden" drag-drop icon.
> > > > > > > > >
> > > > > > > > > I understand #3, but #4 makes no sense at all. When will this bug be fixed?
> > > > > > > > > Maybe I'll have to turn off UAC so I can get some work done....
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Owen

My System SpecsSystem Spec
Old 05-22-2007   #10 (permalink)
Owen
Guest


 

RE: Drag and Drop Problems (UAC related)

Yes, you can get VS Express for free. Express has limitations that make it
not a good fit for us.

--
Owen


"Jesper" wrote:

> Glad to hear it is working.
>
> BTW, you do know you can get Visual Studio for free right?
> http://msdn.microsoft.com/vstudio/express/
>
> ---
> Your question may already be answered in Windows Vista Security:
> http://www.amazon.com/gp/product/047...otectyourwi-20
>
>
> "Owen" wrote:
>
> > OK, I set the security for me
> >
> > Hmmm. I thought I tried this before and it didn't work (i.e., set the
> > security, got no errors but still couldn't edit the files. Seems to work
> > now, though. Thanks!)
> >
> > Even Drag-n-Drop! Yes!
> >
> > --
> > Owen
> >
> >
> > "Jesper" wrote:
> >
> > > I haven't used IIS on Vista very much personally, and the last time I wrote
> > > web code in Notepad was 10 years ago, but there is no reason this shouldn't
> > > work. As a work-around, I would just add yourself with write permissions to
> > > the directory. What part of that is it that doesn't work? What steps do you
> > > go through and what error messages do you get?
> > >
> > >
> > > ---
> > > Your question may already be answered in Windows Vista Security:
> > > http://www.amazon.com/gp/product/047...otectyourwi-20
> > >
> > >
> > > "Owen" wrote:
> > >
> > > > I'm trying to write asp.net code on my local machine in the
> > > > \inetpub\wwwroot\website directory and use my editor (not notepad, but it
> > > > sufficed for the example since everyone has it and it exhibits the same
> > > > problem) to edit the files. However, Vista gives anything under \inetpub
> > > > elevated permissions and requires any editor to have elevated permissions to
> > > > be able to write there.
> > > >
> > > > Now, I could probably put my files somewhere else and point IIS to them, but
> > > > I really want them in \inetpub\wwwroot (with the attendant security settings)
> > > > to mimic the production environment as closely as possible without actually
> > > > editing the files on the staging server (so as not to step on the other
> > > > developers toes, for one).
> > > >
> > > > I tried modifying the security settings on my wwwroot sub-folder, but the
> > > > system does not seem to want to let me. Any suggestions there?
> > > >
> > > > Thanks,
> > > > --
> > > > Owen
> > > >
> > > >
> > > > "Jesper" wrote:
> > > >
> > > > > Out of curiosity: what is it that you are trying to accomplish? I've never
> > > > > found a need to drag and drop into elevated Notepad windows that I couldn't
> > > > > satisfy some other way. I have many times wished I had an elevated Explorer
> > > > > window, but I have found ways of working around that too.
> > > > > ---
> > > > > Your question may already be answered in Windows Vista Security:
> > > > > http://www.amazon.com/gp/product/047...otectyourwi-20
> > > > >
> > > > >
> > > > > "Owen" wrote:
> > > > >
> > > > > > Sooooo, Microsoft knows best! Thpttptptptpt! I need to do my job and it's
> > > > > > about time Windows got out of the way and let me! Instead, it keeps getting
> > > > > > more and more intrusive and obstructive. If I could move to Linux, I think I
> > > > > > would.
> > > > > > --
> > > > > > Owen
> > > > > >
> > > > > >
> > > > > > "Jesper" wrote:
> > > > > >
> > > > > > > Yes. This is one of the strangest things in Vista. You can go through all the
> > > > > > > motions and it looks exactly like you are getting an elevated Explorer
> > > > > > > window, but you don't. It just doesn't work. And, you can't drag and drop
> > > > > > > between a low process and an elevated one as that would violate the little
> > > > > > > bit of security boundary there actually is. In other words, you can't do what
> > > > > > > it is you are trying to do.
> > > > > > > ---
> > > > > > > Your question may already be answered in Windows Vista Security:
> > > > > > > http://www.amazon.com/gp/product/047...otectyourwi-20
> > > > > > >
> > > > > > >
> > > > > > > "Owen" wrote:
> > > > > > >
> > > > > > > > Even when I say "Run as Administrator" when starting it up? Strange. Well,
> > > > > > > > somehow I need a way to drag and drop from explorer into an app that is
> > > > > > > > running with elevated privileges.
> > > > > > > > --
> > > > > > > > Owen
> > > > > > > >
> > > > > > > >
> > > > > > > > "Jesper" wrote:
> > > > > > > >
> > > > > > > > > Explorer can't be elevated. Most likely that is the cause of your problem.
> > > > > > > > >
> > > > > > > > > ---
> > > > > > > > > Your question may already be answered in Windows Vista Security:
> > > > > > > > > http://www.amazon.com/gp/product/047...otectyourwi-20
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > "Owen" wrote:
> > > > > > > > >
> > > > > > > > > > I can't seem to drag and drop a file from Windows Explorer with elevated
> > > > > > > > > > privileges to Notepad (or any other editor) with elevated privileges. Why
> > > > > > > > > > not? Both have elevated privileges, so it should work. (BTW, I can use the
> > > > > > > > > > right-click/sendTo method, and -- with a confirmation that it's OK -- it
> > > > > > > > > > works).
> > > > > > > > > >
> > > > > > > > > > Seems like these are the symptoms:
> > > > > > > > > > 1. from normal user Explorer :: to normal user Notepad :: works
> > > > > > > > > > 2. from Runas Administrator Explorer :: to normal user Notepad :: works
> > > > > > > > > > 3. from normal user Explorer :: to Runas Administrator Notepad :: correctly
> > > > > > > > > > shows "forbidden" drag-drop icon
> > > > > > > > > > 4. from Runas Administrator Explorer :: to Runas Administrator Notepad ::
> > > > > > > > > > shows "forbidden" drag-drop icon.
> > > > > > > > > >
> > > > > > > > > > I understand #3, but #4 makes no sense at all. When will this bug be fixed?
> > > > > > > > > > Maybe I'll have to turn off UAC so I can get some work done....
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Owen

My System SpecsSystem Spec
Reply
Update your Vista Drivers

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Drag/Drop anyone? JethroUK© Live Mail 11 06-24-2008 09:45 PM
drag and drop Todd Hudson Vista General 0 04-13-2008 09:31 AM
Drag and Drop Mojito General Discussion 11 03-25-2008 11:36 AM
Drag and Drop Tom Beauchamp - Coach Vista mail 0 03-10-2008 03:42 PM
Access denied trying to "md"? Drag & Drop is now drag, drop, OK, OK ???? Noozer Vista installation & setup 0 10-17-2006 05:45 AM


Complimentary Industry Resources

Vista Forums has joined forces with TradePub.com to offer you a new, exciting, and entirely free professional resource. Visit http://vistax64.tradepub.com today to browse our selection of complimentary Industry magazines, white papers, webinars, podcasts, and more across 34 industry sectors. No credit cards, coupons, or promo codes required. Try it today!




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 2005-2008

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