Solved

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

Posted on 2014-07-16
5
1,333 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
  • 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 53

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 53

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

840 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