How To Copy A Locked File On Windows 7

October 7th, 2011 9 comments

When you watch an online video, the FLV file is temporarily stored on your computer and then deleted when the video gets to the end. During the playback, the video file is locked so you can’t pause the video, locate the temporary file and copy it to a permanent location as you would do with non-temporary files.

Although I did manage to do this for some videos playing in the chrome browser, but a large file >100MB was stored in a diffrerent location and locked.

To be able to see temporary files you need to go to Control Panel > Appearance and Personalization > Folder Options and select “Show hidden files and folders”. To get there quickly, search on “hidden” in the start menu search box.

Now you can browse your user data folders to find the hidden files. Here is where I found the temporary video file for Chrome: C:\Users\MyName\AppData\Local\Temp Sorting by “Name” or “Date Modified” helps you to find the file which will have a weird name. Another place to look may be: “C:\Users\YourName\AppData\Local\Google\Chrome\User Data\Temp”. This may have been the folder where the temporary files were not locked.

With the video having fully downloaded (progress bar completed) and paused before it finishes playing, you can try to copy the temporary file, but you are likely to receive a warning that it can’t be done since it is still in use.

Before Windows 7 I could use a simple unlocker utility that was added to windows explorer, where you right-click on a file and use the unlocker to copy it. But this didn’t seem to work in Windows 7.

What did work is a free program called ShadowCopy.exe. This makes use of the Windows Volume Snapshot Service which needs to be available on your system. I found this running as a service in the Windows task manager (press CTRL+ALT+DEL to access the task manager) listed as VSS.

With ShadowCopy.exe installed, you should now be able to copy locked files on Windows 7. Initially ran it as a batch file with a command like:
“C:\Program Files (x86)\Runtime Software\ShadowCopy\shadowcopy.exe” C:\Users\MyName\AppData\Local\Temp\fla98xyz.tmp C:\Users\MyName\Desktop

i.e. the line above was saved to copy.bat and this was run from a command window (enter cmd into the start menu search box, and open a command window as an administrator {right click}).

Then I discovered that it works equally well when you open the application up from Windows as an administrator. Then you have to fill in the form fields for the source and destination paths, along with the file name.

Note that the time taken to process the file copy is 10s of seconds long, check the progress via the messages displayed at the bottom of the application’s window.

If you don’t run this as an administrator, you will get a permission denied error. Once the file is copied (to the Desktop in my case), rename it to something.flv and it should play in kmplayer or vlc media player.

If you have any questions or tips about how to copy a locked Windows 7 file please post a comment to stimulate discussion on the topic.

Post to Twitter

Categories: Technique Tags:

Offline Business Hosting

September 14th, 2011 1 comment

Hi folks, if you are a fan of multiple income streams (which I think you should be) then I highly recommend taking a look at the latest offline business hosting launch from GVO. This is a spin-off from Kiosk web hosting that I have used for several years as an alternative to Host Gator. Like a [...]

Categories: News Tags:

How To Hide ClickBank Affiliate Links

September 8th, 2011 No comments

Here is how to hide ClickBank affiliate links in your posts to the web.

When you get your ClickBank affiliate link it is best to go for the encoded version. This looks something like: 3aa6b2rhnd05g83j35ob3kepfp.hop.clickbank.net/?tid=BLOG Here I have included a tracking code: BLOG This helps when viewing your reports to see where the conversion came from.

My method [...]

Categories: Code Tags:

Clearing a Backlog of Internet Marketing Ideas

September 5th, 2011 5 comments

If you are like me then I bet you have a backlog of Internet marketing ideas, and dormant domain names to go with them.

It is so frustrating to be reminded of these when the time renew the domain names comes up. Also, it’s a waste of money and a risk that one of the ideas may [...]

Categories: Strategy Tags:

High Converting Affiliate Site Webinar Replay

August 11th, 2011 No comments

Today, one of my static-content affiliate websites generated $18.55 in commission for a $185 sale while I was out cycling on my bike. I found out when I checked my e-mail after returning home.

This is the beauty of set and forget affiliate income, but it does take some up-front research into a profitable niche, setting up [...]

Categories: Conversion, Technique Tags:

Matrix Linker Plugin

August 4th, 2011 2 comments

I was really pleased to get my first public WordPress plugin accepted into the WordPress plugin repository. As you may guess from the title of this post, it’s called Matrix Linker.

What it does is to facilitate inter-linking between websites (not just blogs). If you know anything about the topic of search engine optimization, you will realize [...]

Categories: SEO Tags:

Strategy For Creating Profitable Sites

July 26th, 2011 No comments

Having built many websites, it’s become clear to me that the ones that succeed are the ones that I have a personal interest in the topic. This means that it is easy to create new original content, and stick with the site for the long haul as with this blog.

Compare this to a topic that you [...]

Categories: SEO, Strategy Tags:

Off-Page SEO And Link-Building

July 19th, 2011 3 comments

Ever since Google invented the Page Rank algorithm, off-page SEO and link-building has been one of the most important aspects of SEO. This is based on the premise that a link to your site is like a vote in favour of your site or page (in the case of a deep link).

Before SEO services came about [...]

Categories: SEO Tags:

Concrete5 Blog Block

June 1st, 2011 No comments

I was thinking about how to implement a blog with the Concrete5 CMS and came across a solution that although good, seemed to be going against the Concrete5 way of doing things.

This solution seemed to be trying to mimic WordPress with one custom block. If you want to mainly blog, then why not use WordPress? Or [...]

Categories: Code Tags:

Business Entity

May 29th, 2011 No comments

Hopefully I used the right work here? The point is that when you are in business, it is important to take steps to establish your business identity. In the most basic sense this will be to declare to your local authorities that you started up in business and are ready to pay National Insurance contributions, get [...]

Categories: Strategy Tags: