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 - How to overwrite a file in Vista Windows folder

Reply
 
Old 10-22-2007   #1 (permalink)
Les


 
 

How to overwrite a file in Vista Windows folder

Hi

Trying to overwrite a .dll file in Windows folder with a newer version but
fails silently - no error, no changes made. The same results if I try to
rename the file.

I can change accounts and use the 'real administrator' account to do it, but
I would like to be able to do so from my 'normal administrator' account -
how can I do this?

--
regards,
Les Hay, Livingston, Scotland


My System SpecsSystem Spec
Old 10-22-2007   #2 (permalink)
DevilsPGD


 
 

Re: How to overwrite a file in Vista Windows folder

In message <e4MhLbGFIHA.284@xxxxxx> "Les"
<leshayathome@xxxxxx> wrote:
Quote:

>Trying to overwrite a .dll file in Windows folder with a newer version but
>fails silently - no error, no changes made. The same results if I try to
>rename the file.
What tool are you using? Normally Explorer will pop up a dialog
warning you, then toss it over to UAC to elevate and complete the task.

If you're using your own file management tool, you either need to start
it as an administrator, or it needs to learn to run as a limited user.

Failing that, if you're fluent with the command line, run a command
prompt by right clicking and choosing the "Run as administrator" and you
should be able to do whatever you want from within that command prompt.

--
You can get more with a kind word and a 2x4 than just a kind word.
My System SpecsSystem Spec
Old 10-22-2007   #3 (permalink)
Les


 
 

Re: How to overwrite a file in Vista Windows folder

"DevilsPGD" <spam_narf_spam@xxxxxx> wrote in message
news:fofoh392amcqr4d5maakc01rtlkcdnpvcr@xxxxxx
Quote:

> In message <e4MhLbGFIHA.284@xxxxxx> "Les"
> <leshayathome@xxxxxx> wrote:
>
Quote:

>>Trying to overwrite a .dll file in Windows folder with a newer version but
>>fails silently - no error, no changes made. The same results if I try to
>>rename the file.
>
> What tool are you using? Normally Explorer will pop up a dialog
> warning you, then toss it over to UAC to elevate and complete the task.
>
> If you're using your own file management tool, you either need to start
> it as an administrator, or it needs to learn to run as a limited user.
>
> Failing that, if you're fluent with the command line, run a command
> prompt by right clicking and choosing the "Run as administrator" and you
> should be able to do whatever you want from within that command prompt.
>
> --
> You can get more with a kind word and a 2x4 than just a kind word.

Just trying to use the standard Explorer delete/rename/copy/paste functions.
But you mentioned UAC which I recently turned off - that must have been the
culprit (or, to put it another way - I must be the culprit

--
regards,
Les Hay, Livingston, Scotland

My System SpecsSystem Spec
Old 10-23-2007   #4 (permalink)
Steve Riley [MSFT]


 
 

Re: How to overwrite a file in Vista Windows folder

Why are you trying to replace part of the operating system? Which DLL is
this, and what are you trying to replace it with?

--
Steve Riley
steve.riley@xxxxxx
http://blogs.technet.com/steriley
http://www.protectyourwindowsnetwork.com


"Les" <completelyfalse@xxxxxx> wrote in message
news:OZWNmTLFIHA.4628@xxxxxx
Quote:

> "DevilsPGD" <spam_narf_spam@xxxxxx> wrote in message
> news:fofoh392amcqr4d5maakc01rtlkcdnpvcr@xxxxxx
Quote:

>> In message <e4MhLbGFIHA.284@xxxxxx> "Les"
>> <leshayathome@xxxxxx> wrote:
>>
Quote:

>>>Trying to overwrite a .dll file in Windows folder with a newer version
>>>but
>>>fails silently - no error, no changes made. The same results if I try to
>>>rename the file.
>>
>> What tool are you using? Normally Explorer will pop up a dialog
>> warning you, then toss it over to UAC to elevate and complete the task.
>>
>> If you're using your own file management tool, you either need to start
>> it as an administrator, or it needs to learn to run as a limited user.
>>
>> Failing that, if you're fluent with the command line, run a command
>> prompt by right clicking and choosing the "Run as administrator" and you
>> should be able to do whatever you want from within that command prompt.
>>
>> --
>> You can get more with a kind word and a 2x4 than just a kind word.
>
>
> Just trying to use the standard Explorer delete/rename/copy/paste
> functions. But you mentioned UAC which I recently turned off - that must
> have been the culprit (or, to put it another way - I must be the culprit
>
>
> --
> regards,
> Les Hay, Livingston, Scotland
My System SpecsSystem Spec
Old 10-24-2007   #5 (permalink)
Les


 
 

Re: How to overwrite a file in Vista Windows folder

"Steve Riley [MSFT]" <steve.riley@xxxxxx> wrote in message
news:%231t2tDfFIHA.4628@xxxxxx
Quote:

> Why are you trying to replace part of the operating system? Which DLL is
> this, and what are you trying to replace it with?
>
> --
> Steve Riley
> steve.riley@xxxxxx
> http://blogs.technet.com/steriley
> http://www.protectyourwindowsnetwork.com
>
>
> "Les" <completelyfalse@xxxxxx> wrote in message
> news:OZWNmTLFIHA.4628@xxxxxx
Quote:

>> "DevilsPGD" <spam_narf_spam@xxxxxx> wrote in message
>> news:fofoh392amcqr4d5maakc01rtlkcdnpvcr@xxxxxx
Quote:

>>> In message <e4MhLbGFIHA.284@xxxxxx> "Les"
>>> <leshayathome@xxxxxx> wrote:
>>>
>>>>Trying to overwrite a .dll file in Windows folder with a newer version
>>>>but
>>>>fails silently - no error, no changes made. The same results if I try to
>>>>rename the file.
>>>
>>> What tool are you using? Normally Explorer will pop up a dialog
>>> warning you, then toss it over to UAC to elevate and complete the task.
>>>
>>> If you're using your own file management tool, you either need to start
>>> it as an administrator, or it needs to learn to run as a limited user.
>>>
>>> Failing that, if you're fluent with the command line, run a command
>>> prompt by right clicking and choosing the "Run as administrator" and you
>>> should be able to do whatever you want from within that command prompt.
>>>
>>> --
>>> You can get more with a kind word and a 2x4 than just a kind word.
>>
>>
>> Just trying to use the standard Explorer delete/rename/copy/paste
>> functions. But you mentioned UAC which I recently turned off - that must
>> have been the culprit (or, to put it another way - I must be the culprit
>>
>>
>> --
>> regards,
>> Les Hay, Livingston, Scotland
>
At the moment, I am changing into my 'super admin' account to
copy/rename/delete files which are .dll's associated with
a dumb USB device I have. I just wanted to be able to have such access in
the 'standard' account to do the same.

--
regards,
Les Hay, Livingston, Scotland

My System SpecsSystem Spec
Old 10-24-2007   #6 (permalink)
Steve Riley [MSFT]


 
 

Re: How to overwrite a file in Vista Windows folder

If that device is installing its own drivers in the Windows folder, the you
should throw it away. Actually, I'm curious now how that device got its
files there to begin with. What account were you logged in to when you used
the drive the first time, do you remember?

--
Steve Riley
steve.riley@xxxxxx
http://blogs.technet.com/steriley
http://www.protectyourwindowsnetwork.com


"Les" <completelyfalse@xxxxxx> wrote in message
news:#8cKgFkFIHA.6120@xxxxxx
Quote:

> "Steve Riley [MSFT]" <steve.riley@xxxxxx> wrote in message
> news:%231t2tDfFIHA.4628@xxxxxx
Quote:

>> Why are you trying to replace part of the operating system? Which DLL is
>> this, and what are you trying to replace it with?
>>
>> --
>> Steve Riley
>> steve.riley@xxxxxx
>> http://blogs.technet.com/steriley
>> http://www.protectyourwindowsnetwork.com
>>
>>
>> "Les" <completelyfalse@xxxxxx> wrote in message
>> news:OZWNmTLFIHA.4628@xxxxxx
Quote:

>>> "DevilsPGD" <spam_narf_spam@xxxxxx> wrote in message
>>> news:fofoh392amcqr4d5maakc01rtlkcdnpvcr@xxxxxx
>>>> In message <e4MhLbGFIHA.284@xxxxxx> "Les"
>>>> <leshayathome@xxxxxx> wrote:
>>>>
>>>>>Trying to overwrite a .dll file in Windows folder with a newer version
>>>>>but
>>>>>fails silently - no error, no changes made. The same results if I try
>>>>>to
>>>>>rename the file.
>>>>
>>>> What tool are you using? Normally Explorer will pop up a dialog
>>>> warning you, then toss it over to UAC to elevate and complete the task.
>>>>
>>>> If you're using your own file management tool, you either need to start
>>>> it as an administrator, or it needs to learn to run as a limited user.
>>>>
>>>> Failing that, if you're fluent with the command line, run a command
>>>> prompt by right clicking and choosing the "Run as administrator" and
>>>> you
>>>> should be able to do whatever you want from within that command prompt.
>>>>
>>>> --
>>>> You can get more with a kind word and a 2x4 than just a kind word.
>>>
>>>
>>> Just trying to use the standard Explorer delete/rename/copy/paste
>>> functions. But you mentioned UAC which I recently turned off - that must
>>> have been the culprit (or, to put it another way - I must be the culprit
>>>
>>>
>>> --
>>> regards,
>>> Les Hay, Livingston, Scotland
>>
>
> At the moment, I am changing into my 'super admin' account to
> copy/rename/delete files which are .dll's associated with
> a dumb USB device I have. I just wanted to be able to have such access in
> the 'standard' account to do the same.
>
> --
> regards,
> Les Hay, Livingston, Scotland
My System SpecsSystem Spec
Old 10-25-2007   #7 (permalink)
DevilsPGD


 
 

Re: How to overwrite a file in Vista Windows folder

In message <O7v65GrFIHA.3980@xxxxxx> "Steve Riley [MSFT]"
<steve.riley@xxxxxx> wrote:
Quote:

>If that device is installing its own drivers in the Windows folder, the you
>should throw it away. Actually, I'm curious now how that device got its
>files there to begin with. What account were you logged in to when you used
>the drive the first time, do you remember?
Assuming it's installer was called setup.exe or install.exe or looked or
smelled like an installer, it would have no trouble writing drivers
anywhere it wanted.

--
You can get more with a kind word and a 2x4 than just a kind word.
My System SpecsSystem Spec
Old 10-25-2007   #8 (permalink)
Steve Riley [MSFT]


 
 

Re: How to overwrite a file in Vista Windows folder

True, but the UAC prompt still comes up. Need a little bit more info from
Les to figure out what's really going on. Les, what is this USB device, and
how is its driver software installed?

--
Steve Riley
steve.riley@xxxxxx
http://blogs.technet.com/steriley
http://www.protectyourwindowsnetwork.com


"DevilsPGD" <spam_narf_spam@xxxxxx> wrote in message
news:tua0i3l36sivee8b7b0lvco0tdi563r95v@xxxxxx
Quote:

> In message <O7v65GrFIHA.3980@xxxxxx> "Steve Riley [MSFT]"
> <steve.riley@xxxxxx> wrote:
>
Quote:

>>If that device is installing its own drivers in the Windows folder, the
>>you
>>should throw it away. Actually, I'm curious now how that device got its
>>files there to begin with. What account were you logged in to when you
>>used
>>the drive the first time, do you remember?
>
> Assuming it's installer was called setup.exe or install.exe or looked or
> smelled like an installer, it would have no trouble writing drivers
> anywhere it wanted.
>
> --
> You can get more with a kind word and a 2x4 than just a kind word.
My System SpecsSystem Spec
Old 10-25-2007   #9 (permalink)
Les


 
 

Re: How to overwrite a file in Vista Windows folder

I probably used the 'super admin' account (what is the correct way to
discuss the super/normal admin accounts?)

The original driver came wrapped in 2 x .sys files and 1 x .inf file - none
of which I can understand. It's just that there are other drivers for the
device that I want to try out. I can do this via the 'super admin' account
but not through my normal everyday admin account.

Another example of what I am facing - there is a folder called Temp in my
windows folder. In the 'super admin' account, I can open Temp quite
normally, but in my daily use account, I get a dialog box with:

'You don't currently have permission to access this folder.' click Continue
to get access to this folder.

but when I click continue - dialog closes, folder screen bar at top slides
green and nothing else happens. I still don't get into the Temp folder. What
happened to the offer of access?

"Steve Riley [MSFT]" <steve.riley@xxxxxx> wrote in message
news:O7v65GrFIHA.3980@xxxxxx
Quote:

> If that device is installing its own drivers in the Windows folder, the
> you should throw it away. Actually, I'm curious now how that device got
> its files there to begin with. What account were you logged in to when you
> used the drive the first time, do you remember?
>
> --
> Steve Riley
> steve.riley@xxxxxx
> http://blogs.technet.com/steriley
> http://www.protectyourwindowsnetwork.com
>
>
> "Les" <completelyfalse@xxxxxx> wrote in message
> news:#8cKgFkFIHA.6120@xxxxxx
Quote:

>> "Steve Riley [MSFT]" <steve.riley@xxxxxx> wrote in message
>> news:%231t2tDfFIHA.4628@xxxxxx
Quote:

>>> Why are you trying to replace part of the operating system? Which DLL is
>>> this, and what are you trying to replace it with?
>>>
>>> --
>>> Steve Riley
>>> steve.riley@xxxxxx
>>> http://blogs.technet.com/steriley
>>> http://www.protectyourwindowsnetwork.com
>>>
>>>
>>> "Les" <completelyfalse@xxxxxx> wrote in message
>>> news:OZWNmTLFIHA.4628@xxxxxx
>>>> "DevilsPGD" <spam_narf_spam@xxxxxx> wrote in message
>>>> news:fofoh392amcqr4d5maakc01rtlkcdnpvcr@xxxxxx
>>>>> In message <e4MhLbGFIHA.284@xxxxxx> "Les"
>>>>> <leshayathome@xxxxxx> wrote:
>>>>>
>>>>>>Trying to overwrite a .dll file in Windows folder with a newer version
>>>>>>but
>>>>>>fails silently - no error, no changes made. The same results if I try
>>>>>>to
>>>>>>rename the file.
>>>>>
>>>>> What tool are you using? Normally Explorer will pop up a dialog
>>>>> warning you, then toss it over to UAC to elevate and complete the
>>>>> task.
>>>>>
>>>>> If you're using your own file management tool, you either need to
>>>>> start
>>>>> it as an administrator, or it needs to learn to run as a limited user.
>>>>>
>>>>> Failing that, if you're fluent with the command line, run a command
>>>>> prompt by right clicking and choosing the "Run as administrator" and
>>>>> you
>>>>> should be able to do whatever you want from within that command
>>>>> prompt.
>>>>>
>>>>> --
>>>>> You can get more with a kind word and a 2x4 than just a kind word.
>>>>
>>>>
>>>> Just trying to use the standard Explorer delete/rename/copy/paste
>>>> functions. But you mentioned UAC which I recently turned off - that
>>>> must have been the culprit (or, to put it another way - I must be the
>>>> culprit
>>>>
>>>> --
>>>> regards,
>>>> Les Hay, Livingston, Scotland
>>>
>>
>> At the moment, I am changing into my 'super admin' account to
>> copy/rename/delete files which are .dll's associated with
>> a dumb USB device I have. I just wanted to be able to have such access in
>> the 'standard' account to do the same.
>>
>> --
>> regards,
>> Les Hay, Livingston, Scotland
>


--
regards,
Les Hay, Livingston, Scotland

My System SpecsSystem Spec
Old 10-25-2007   #10 (permalink)
Les


 
 

Re: How to overwrite a file in Vista Windows folder

"DevilsPGD" <spam_narf_spam@xxxxxx> wrote in message
news:tua0i3l36sivee8b7b0lvco0tdi563r95v@xxxxxx
Quote:

> In message <O7v65GrFIHA.3980@xxxxxx> "Steve Riley [MSFT]"
> <steve.riley@xxxxxx> wrote:
>
Quote:

>>If that device is installing its own drivers in the Windows folder, the
>>you
>>should throw it away. Actually, I'm curious now how that device got its
>>files there to begin with. What account were you logged in to when you
>>used
>>the drive the first time, do you remember?
>
> Assuming it's installer was called setup.exe or install.exe or looked or
> smelled like an installer, it would have no trouble writing drivers
> anywhere it wanted.
>
> --
> You can get more with a kind word and a 2x4 than just a kind word.

Yes, the original was 'installed' in the normal way via the windows
installer, but the files I am now trying out are just a single
..dll file(s) which are to replace the one installed originally.

--
regards,
Les Hay, Livingston, Scotland

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Re: Event Logging and Move File OVERWRITE VB Script
Overwrite Text File in Loop VB Script
VS2005 Setup Project - How to prevent overwrite of file? .NET General
Can't create a new file or folder with in a shared folder on a Windows XP machine. Basic Vista networking questions Vista installation & setup
File overwrite Vista General


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