# Drag and Drop Problems (UAC related)

Posted: 05-22-2007, 03:44 PM
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
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

## Drag and Drop Problems (UAC related)

### Responses to "Drag and Drop Problems (UAC related)"

Jesper
Guest
Posts: n/a

RE: Drag and Drop Problems (UAC related)
Posted: 05-22-2007, 04:09 PM
Explorer can't be elevated. Most likely that is the cause of your problem.

---
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
> 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
Owen
Guest
Posts: n/a

RE: Drag and Drop Problems (UAC related)
Posted: 05-22-2007, 04:24 PM
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.
>
> ---
> 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
> > 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
Jesper
Guest
Posts: n/a

RE: Drag and Drop Problems (UAC related)
Posted: 05-22-2007, 05:28 PM
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.
---
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.
> >
> > ---
> > 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
> > > 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
Owen
Guest
Posts: n/a

RE: Drag and Drop Problems (UAC related)
Posted: 05-22-2007, 05:37 PM
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.
> ---
> 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.
> > >
> > > ---
> > > 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
> > > > 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
Jesper
Guest
Posts: n/a

RE: Drag and Drop Problems (UAC related)
Posted: 05-22-2007, 05:42 PM
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.
---
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.
> > ---
> > 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.
> > > >
> > > > ---
> > > > 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
> > > > > 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
Jesper
Guest
Posts: n/a

RE: Drag and Drop Problems (UAC related)
Posted: 05-22-2007, 06:37 PM
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?

---
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.
> > ---
> > 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.
> > > > ---
> > > > 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.
> > > > > >
> > > > > > ---
> > > > > > 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
Owen
Guest
Posts: n/a

RE: Drag and Drop Problems (UAC related)
Posted: 05-22-2007, 06:59 PM
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?
>
>
> ---
> 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.
> > > ---
> > > 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.
> > > > > ---
> > > > > 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
Jesper
Guest
Posts: n/a

RE: Drag and Drop Problems (UAC related)
Posted: 05-22-2007, 07:11 PM
Glad to hear it is working.

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

---
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?
> >
> >
> > ---
> > 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.
> > > > ---
> > > > 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.
> > > > > > ---
> > > > > > 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
Owen
Guest
Posts: n/a

RE: Drag and Drop Problems (UAC related)
Posted: 05-22-2007, 07:58 PM
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/
>
> ---
> 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?
> > >
> > >
> > > ---
> > > 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.
> > > > > ---
> > > > > 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