Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Exe file locked temporarly with unknown user id

26 Jun 2012   #1

windows 7 proffesional 64 bit
Exe file locked temporarly with unknown user id

Hi Guys,

Similar problem to others in forum. I'm creating an EXE with gcc and visual studio and sometimes the EXE gets locked for a short time (say 2 or 3 minutes). During this time, I can't delete the EXE and I can't use any of the suggested fixes in other parts of the forum. Unlocker doesn't work; command line security commands don't work; trying to take ownership doesn't work.
On investigation, the EXE was owned by me, but the compiler creates a new EXE with an unknown user as owner and although I am administrator, I can't change ownership, change permission or do anything with the file. After a while the file reverts to being owned by me and I can use it again.
Very puzzling. I'm using Avira as a virus checker and am wondering if it is to blame, but I can't shut Avira down unless I uninstall it. Any ideas?

Chris Seddon

My System SpecsSystem Spec
28 Jun 2012   #2

W7 Pro SP1 64bit

Uninstall Avira just for a test - go off line in that makes you feel safer.

You can also try process monitor and filter on the tool doing the exe build.
My System SpecsSystem Spec

 Exe file locked temporarly with unknown user id

Thread Tools

Similar help and support threads
Thread Forum
Change File Associaton to Unknown File Type for .sdf file
I am using Windows 10 64 bit.At first the .sdf was not associated to any file type association like notepad etc.It was coming look for an app in store.I accidentally clicked on a file type association now can't find a solution to change it back to the default one(i.e pick an app from store) and...
Performance & Maintenance
User account control shows "Publisher: Unknown" for File Operation
Hello. My computer recently (less than a day ago) started to display User Account Control prompts whenever I deleted or copied that weren't in the "Users" folder, such as the Program Files folder. I am using an Administrator account, and the User Account Control is set to notify when programs...
System Security
Unknown user showing in user accounts - possibly compromised?
Hi all, Hoping someone might be able to help. Recently, a few strange things have happened with the PC, which first started when I found I couldn't use the Backup & Recovery software in Windows 7. Whenever I clicked on one of the buttons with a shield, nothing would happen at all. I've looked...
System Security
User is Locked
hi Guys Another stupid question form Down Under. When I leave my PC for a while... the screen goes black and when I try to start it by moving the mouse .. it says I am LOCKED. This really annoyes me... how can you fix this?? regards Dan
General Discussion
Windows 7 User file is locked - cannot edit misspelled name.
When I was setting up my computer for the first time, I misspelled my user name. When I go to My Computer > Local Disk > Users, I am unable to change the name of my User file. I have corrected how the user name appears when logging in, via User Accounts, but this "source" seems un-editable. It...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:29.
Twitter Facebook Google+