Solved

Win7, cannot copy or dir in folder with braces ie. system32\catroot\{F75...39}

Posted on 2013-11-08
7
595 Views
Last Modified: 2013-11-14
I need to install a driver by copying files into their proper locations, the driver installer doesn't have a silent mode.  On of those is in windows\system32\catroot\{f73502-....-295EE}.  There is a file in there (oem9.cat) but if I do a dir on the folder, it shows 0 files.  If I try to copy it says the system cannot find the file specified.  

I've tried this from both batch and command lines running as administrator.  UAC is off and I've given Everyone full control... still no luck.

How can I copy the file?
0
Comment
Question by:StarDusterII
  • 4
  • 2
7 Comments
 
LVL 9

Expert Comment

by:Timothy McCartney
ID: 39633653
You could try using Unstoppable Copier

Available here: http://www.roadkil.net/program.php/P29/Unstoppable%20Copier

Just make sure you run the program as administrator. It's pretty great at grabbing troublesome files.
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 39634076
StarDusterII--
Can you physically see the oem9.cat file?  If not it is probably a Hidden File.
To really show all hidden folders and files
1) In Explorer, click Organize in ToolBar|click "Folder and Search Options"|View|uncheck "Hide protected operating system files"|Yes|Apply|OK.  
2) And if not already done, under "Hidden Files and Folders", check "Show hidden files, folders,..." and uncheck "Don't show hidden files, folders...".

Now that you can see oem9.cat (or you always could see it), right click|Properties and change Permissions and Ownership as required.
http://www.addictivetips.com/windows-tips/windows-7-access-denied-permission-ownership/

Now can you do what you want with oem9.cat?
0
 

Author Comment

by:StarDusterII
ID: 39634553
I can see the files in Windows explorer.  I should have been more clear when I said I've given "Everyone" full control.   I took ownership of the folder and gave "Everyone" full permissions on the entire catroot folder.

If you do a dir from the command line (running as administrator), you can't see the file.  Copy is apparently running into the same issue.

I'll check out the Unstoppable Copier and see how that goes.
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

Author Comment

by:StarDusterII
ID: 39634767
Unstoppable Copier was able to copy the file.  Unfortunately, we can't use that approach since this will be given to a client who will use a script to install this package and must do it with xcopy or copy.

But maybe it will give you a hint as to why the regular copy won't work.
0
 

Accepted Solution

by:
StarDusterII earned 0 total points
ID: 39634805
Guess I'm having a blond moment today... I could see them in Windows Explorer but I was forgetting I needed a /A:H and /A:S when using dir to see hidden and system files... and an /H for xcopy.  Man, I'm glad the weekend is here!
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 39635997
StarDusterII --Don't you feel I helped a little by mentioning the issue of Hidden and System files in http:#a39634076 ?
0
 

Author Closing Comment

by:StarDusterII
ID: 39647397
My own fault for not realizing what I was looking at.  Dir and Copy both needed to explicitly specify hidden and system files
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…

777 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