Re: XCopy and Vista and Relative Paths
- From: "Bryan Phillips" <bphillips@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 5 Mar 2007 19:08:50 +0000
Yes, you still have to add NTFS permissions. Vista operates under the least privileged user model and will assume that you should not write to sensitive folders unless the user is explicitly granted permissions.
To use command line programs "as administrator" including registering ActiveX controls, run cmd.exe as administrator. I pinned the "Visual Studio 2005 Command Prompt" shortcut to my start menu for this reason.
--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
"BartMan" <MaskProg@xxxxxxxxxxxxxxxx> wrote in message news:61D38DA5-6B69-4C30-B7E0-FE55FA1CDFE0@xxxxxxxxxxxxx:
> Try looking for your myassembly.dll file in this folder:
> C:\Users\[username]\AppData\Local\VirtualStore\Program Files
>
> If the file exists, then "Run as administrator" is not taking effect
> when you run your batch file. By default, the Vista does not allow
> non-administrators to write to the Program Files folder. You can change
> this behavior by explicitly adding the user to the NTFS permissions of
> the affected folder.
Hello Bryan,
I made my user have administrative rights, do I still have to add NTFS
permissions for the folder?
Another question is that I can't seem to register any ActiveX controls which
worked on Windows XP. I assume there is a security setting for that as well,
but I am not sure where to look for it?
Thanks for your help!
.
- Prev by Date: Re: Remoting - Singleton & VPN
- Next by Date: RE: WCF: Host on IIS
- Previous by thread: Re: XCopy and Vista and Relative Paths
- Next by thread: Re: ClickOnce and Temporary/Mandatory Profiles
- Index(es):
Relevant Pages
|
Loading