O Windows 10 não pode executar .exe do compartilhamento de rede [closed]

2

Eu tinha dois servidores Windows que compartilhavam arquivos SERVER1 (Windows 2008), SERVER2 (Windows2012).

Em uma parte eu tenho o arquivo .exe que é uma aplicação muito simples - simple.exe. Ele funciona muito bem enquanto é colocado no SERVER1 - posso executá-lo diretamente do SERVER1, da máquina de estação de trabalho do Windows 7 e do Windows 10. Quando eu estou copiando este. Exe para SERVER2 share - Ele ainda funciona em máquinas SERVER2, Windows 7, mas eu tive grandes problemas para executá-lo em máquinas Windows10. E aqui está a parte mais estranha para mim:

    O arquivo
  • simple.exe pode ser executado no Windows 10 diretamente após a reinicialização
  • depois de fechar o aplicativo - ele não pode ser executado, mostra erro sobre o .NET (descrito aqui: )
  • após o fechamento da mensagem de erro O arquivo simple.exe não é visível no compartilhamento de rede para essa máquina específica do Windows 10 (embora ela exista em compartilhamento e possível de ser executada em servidores e máquinas Windows 7)
  • para torná-lo visil novamente proces explore.exe deve ser eliminado no Windows 10

O ambiente é baseado em AD, o acesso direto ao arquivo exe é exatamente o mesmo no SERVER1 e no SERVER2. O arquivo simple.exe roda ok no Windows10 sempre que é colocado na unidade local.

O UAC no Windows 10 está desativado, o SERVER2 é adicionado em "Opções da Internet", a entrada de registro EnableLinked ... é adicionada.

Desativar o Firewall nos dois lados não ajuda Desativar AV nos dois lados não funciona

Capturei erros no Visualizador de Eventos:

Application: app1.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
   at System.Diagnostics.FileVersionInfo.GetVersionInfo(System.String)
   at System.Configuration.ClientConfigPaths.SetNamesAndVersion(System.String, System.Reflection.Assembly, Boolean)
   at System.Configuration.ClientConfigPaths..ctor(System.String, Boolean)
   at System.Configuration.ClientConfigPaths.GetPaths(System.String, Boolean)
   at System.Configuration.Internal.ConfigurationManagerInternal.System.Configuration.Internal.IConfigurationManagerInternal.get_ExeProductName()
   at System.Configuration.ApplicationSettingsBase.get_Initializer()
   at System.Configuration.ApplicationSettingsBase.CreateSetting(System.Reflection.PropertyInfo)
   at System.Configuration.ApplicationSettingsBase.EnsureInitialized()
   at System.Configuration.ApplicationSettingsBase.get_Properties()
   at System.Configuration.SettingsBase.GetPropertyValueByName(System.String)
   at System.Configuration.SettingsBase.get_Item(System.String)
   at System.Configuration.ApplicationSettingsBase.GetPropertyValue(System.String)
   at System.Configuration.ApplicationSettingsBase.get_Item(System.String)
   at CodeComparator.Properties.Settings.get_login()
   at CodeComparator.HomePage..ctor()
   at CodeComparator.Program.Main()

Faulting application name: app1.exe, version: 0.0.0.0, time stamp: 0x5a27c260
Faulting module name: KERNELBASE.dll, version: 10.0.15063.726, time stamp: 0x32774c02
Exception code: 0xe0434352
Fault offset: 0x000ecbb2
Faulting process id: 0x38a8
Faulting application start time: 0x01d36f93614d1cf8
Faulting application path: I:\pathto\app1.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 5df493a4-d442-475e-8b85-1cd8f9d13acf
Faulting package full name: 
Faulting package-relative application ID:

Application: app1.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an internal error in the .NET Runtime at IP 73A516E9 (738D0000) with exit code 80131506.

 Faulting application name: app1.exe, version: 0.0.0.0, time stamp: 0x5a27c260
Faulting module name: clr.dll, version: 4.7.2115.0, time stamp: 0x59af88f2
Exception code: 0xc0000005
Fault offset: 0x001816e9
Faulting process id: 0x3850
Faulting application start time: 0x01d36f9364d4f9ba
Faulting application path: I:\pathto\app1.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Report Id: 31b42ecf-1b01-4e98-8bd0-f4032585bb26
Faulting package full name: 
Faulting package-relative application ID: 

Para ser mais engraçado: ao tentar depurar app1.exe com WinDBG - ele é executado bem depois de 2 vezes ele lança exceção:

ModLoad: 00000000'5df20000 00000000'5df93000   C:\WINDOWS\System32\wow64win.dll
(22e8.28f0): Break instruction exception - code 80000003 (first chance)
ntdll!LdrpDoDebuggerBreak+0x30:
00007ff8'cea071b8 cc              int     3

ModLoad: 00000000'744e0000 00000000'746a2000   C:\WINDOWS\SysWOW64\KERNELBASE.dll
(22e8.28f0): WOW64 breakpoint - code 4000001f (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
ntdll_779f0000!LdrpDoDebuggerBreak+0x2b:
77a9db9b cc              int     3

Todas as ideias são apreciadas, já que estou ficando sem opções.

    
por beria-pl 01.12.2017 / 09:18

0 respostas

Tags