Topic ""CreateFile failed; code 5 - Access is denied" when install"

Author Message
relamine
[View user's profile]

Joined: 05 Jun 2008
Posts: 1
Location: Washington, DC
I get the following message as soon as I select install: "CreateFile failed; code 5 - Access is denied"

I got this on both the 4.0.7 version and the 4.1.3. I 'm installing it on a Win XP Professional SP 2 laptop.

Any assistance would be appreciated.[/img]
Advertisements
prikryl
[View user's profile]
Site Admin
Joined: 10 Dec 2002
Posts: 19680
Location: Prague, Czech republic
Can you post an installer log?
See documentation to learn how to enable logging.
_________________
Martin Prikryl
ALF4

Guest


During installation of WinSCP 4.3.7 the error "Unable to execute file: c:\<path>\winSCP.exe
CreateProcess failed; code 5. Access is denied". This happens while "adding installation directory to search path" and while"

Once install has completed if you leave the tick box to start winSCP the same error message is shown.

Once installed if you doiuble click the WinSCP icon the follow error occurs: "Windows cannot access the specified device, path or file. You may not have appropriate permissions."

Now I am an Enterprise Admin, Domain Admin and local Admin and even if I move the directory local to say c:\winscp instead of the usuall program files directory I get the same error.

The following appears in eventvwr when attempting to start the program:

Log Name: Application
Source: Windows Error Reporting
Date: 24/05/2012 12:33:18
Event ID: 1001
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: RIS2C413812D729.LG.TLG.PRIVATE
Description:
Fault bucket , type 0
Event Name: PCA2
Response: Not available
Cab Id: 0

Problem signature:
P1: WinSCP.exe
P2: 4.3.7.1679
P3: WinSCP: SFTP, FTP and SCP client
P4: WinSCP
P5: Martin Prikryl
P6: 200
P7: -1
P8:
P9:
P10:

Attached files:
C:\Users\<username>\AppData\Local\Temp\{476f218c-67be-461a-b346-6dcaece23d66}\appcompat.txt
C:\Users\<username>AppData\Local\Temp\Tab9A92.tmp

These files may be available here:
C:\Users\<username>\AppData\Local\Microsoft\Windows\WER\ReportQueue\NonCritical_WinSCP.exe_a17b7f79991c785c95132de86404eae57c2de93_cab_102e9c16

Analysis symbol:
Rechecking for solution: 0
Report Id: 41610587-a594-11e1-a249-402cf41824a7
Report Status: 4
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Error Reporting" />
<EventID Qualifiers="0">1001</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2012-05-24T11:33:18.000000000Z" />
<EventRecordID>15639</EventRecordID>
<Channel>Application</Channel>
<Computer><machineName></Computer>
<Security />
</System>
<EventData>
<Data>
</Data>
<Data>0</Data>
<Data>PCA2</Data>
<Data>Not available</Data>
<Data>0</Data>
<Data>WinSCP.exe</Data>
<Data>4.3.7.1679</Data>
<Data>WinSCP: SFTP, FTP and SCP client</Data>
<Data>WinSCP</Data>
<Data>Martin Prikryl</Data>
<Data>200</Data>
<Data>-1</Data>
<Data>
</Data>
<Data>
</Data>
<Data>
</Data>
<Data>
C:\Users\<username>\AppData\Local\Temp\{476f218c-67be-461a-b346-6dcaece23d66}\appcompat.txt
C:\Users\<username>\AppData\Local\Temp\Tab9A92.tmp</Data>
<Data>C:\Users\dav<username>\AppData\Local\Microsoft\Windows\WER\ReportQueue\NonCritical_WinSCP.exe_a17b7f79991c785c95132de86404eae57c2de93_cab_102e9c16</Data>
<Data>
</Data>
<Data>0</Data>
<Data>41610587-a594-11e1-a249-402cf41824a7</Data>
<Data>4</Data>
</EventData>
</Event>


Could this be a problem with accessing the registery?

we use this application across a large number of desktops/workstations which we have had to upgrade to windows 7 and to have to fins another app to replace this would be vdery unfortunate.

Regards

ALFA
prikryl
[View user's profile]
Site Admin
Joined: 10 Dec 2002
Posts: 19680
Location: Prague, Czech republic
ALF4 wrote:
Could this be a problem with accessing the registery?

I do not think so.

Can you post a screenshot of Effective permissions tab of Security settings for winscp.exe for your account?
_________________
Martin Prikryl
ktrock
[View user's profile]

Joined: 29 Jun 2012
Posts: 2
Location: New Jersey
prikryl wrote:
ALF4 wrote:
Could this be a problem with accessing the registery?

I do not think so.

Can you post a screenshot of Effective permissions tab of Security settings for winscp.exe for your account?


Ah, this helped me. On that tab I had to click unblock file since this install file "may have come from another machine". The box it's on is Win 2003 Enterprise.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License