Solved

Administrator on Windows 7 could not copy file into c:\program files <x86>\Microsoft office\OFFICE11

Posted on 2014-07-16
5
1,344 Views
Last Modified: 2014-07-16
Dear Experts,
http://support.microsoft.com/kb/837910/en-us, after
download MouseWheel fix for  Excel 2003  VBA editor mousr scroll bar issue  from the site,
 From the instruction, I try to run regsvr32 <path>\VB6IDEMouseWheelAddin.dll  that is not working, probably it is permission issue , so that I try copy the dll file into MS Excell office system directory,
After checking on control-panel on window, my account on window 7 is adminstrator but
I could NOT copy one file into  c:\Program Files <x86>Microsoft Office\Office11

The CMD command is

copy d:\temp\VB6IDEMouseWheelAddin.dll c:\Program Files <x86>Microsoft Office\Office11
save/write reject
Copy   0 files

Why ?
Any place where I can change the permission mode for doing the command
Supposed amdinstrator could do any command ? Right ?

Duncan
0
Comment
Question by:duncanb7
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 31

Expert Comment

by:merowinger
ID: 40198908
Maybe the spaces in the path are a problem. Also there is missing a backslash. Try this:

copy d:\temp\VB6IDEMouseWheelAddin.dll "%ProgramFiles(x86)%\Microsoft Office\Office11"
0
 
LVL 13

Author Comment

by:duncanb7
ID: 40199394
just typing mistake in the post, but I type the comannd with the correct one that is  not working
0
 
LVL 54

Accepted Solution

by:
Joe Winograd, EE MVE earned 500 total points
ID: 40199489
Even though you're an admin, that's not good enough. Try running in an elevated command prompt. There are numerous ways to get an elevated prompt. One is Start>All Programs>Accessories then right-click on Command Prompt and select "Run as administrator". Regards, Joe
0
 
LVL 13

Author Comment

by:duncanb7
ID: 40199760
regsvr32 the dll file that is working but it is not imported into VBA ADDin
from http://office.microsoft.com/en-us/excel-help/add-support-for-the-scroll-wheel-to-the-microsoft-visual-basic-for-applications-6-environment-HA010117590.aspx

So make the new thread for solving other issue from addin for VBA
copy d:\temp\VB6IDEMouseWheelAddin.dll "%ProgramFiles(x86)%\Microsoft Office\Office11"
is working if run cmd.exe with as administrator
Thanks for your reply
Duncan
0
 
LVL 54

Expert Comment

by:Joe Winograd, EE MVE
ID: 40199773
You're welcome, Duncan. And thanks to you for providing the further details. I'm glad it's working now. Regards, Joe
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question