Wired... Since some days i'm not able to use the "run with" command within my windows 8(.1). I always fot the error message:
This file does not have a program associated with it for performing this
action. Please install a program or, if one is already installed,
create an association in the Default Programs control panel.
or in german
Der Datei ist kein Programm zum Ausführen dieser Aktion zugeordnet.
Installieren Sie ein entsprechendes Programm, oder erstellen Sie in der
Systemsteuerung unter "Standardprogramme" eine Zuordnung wenn bereits
ein Programm installiert ist.
After a longer search i finally found a working solution [1]. After importing the following registry entries the error was gone.
[-HKEY_CLASSES_ROOT\Unknown]
[HKEY_CLASSES_ROOT\Unknown]
"AlwaysShowExt"=""
"TypeOverlay"=""
"QueryClassStore"=""
[HKEY_CLASSES_ROOT\Unknown\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,\
65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,30,00,00,00
[HKEY_CLASSES_ROOT\Unknown\shell]
@="openas"
[HKEY_CLASSES_ROOT\Unknown\shell\InvokeDefaultVerbInOtherProcess]
"ProgrammaticAccessOnly"=""
[HKEY_CLASSES_ROOT\Unknown\shell\InvokeDefaultVerbInOtherProcess\command]
"DelegateExecute"="{e44e9428-bdbc-4987-a099-40dc8fd255e7}"
[HKEY_CLASSES_ROOT\Unknown\shell\Open]
"ProgrammaticAccessOnly"=""
"MultiSelectModel"="Single"
[HKEY_CLASSES_ROOT\Unknown\shell\Open\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4f,00,70,00,\
65,00,6e,00,57,00,69,00,74,00,68,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,\
00,31,00,22,00,00,00
"DelegateExecute"="{e44e9428-bdbc-4987-a099-40dc8fd255e7}"
[HKEY_CLASSES_ROOT\Unknown\shell\openas]
@=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,\
68,00,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,35,\
00,33,00,37,00,36,00,00,00
"MultiSelectModel"="Single"
[HKEY_CLASSES_ROOT\Unknown\shell\openas\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4f,00,70,00,\
65,00,6e,00,57,00,69,00,74,00,68,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,\
00,31,00,22,00,00,00
"DelegateExecute"="{e44e9428-bdbc-4987-a099-40dc8fd255e7}"
[HKEY_CLASSES_ROOT\Unknown\shell\OpenWithSetDefaultOn]
"ProgrammaticAccessOnly"=""
"MultiSelectModel"="Single"
[HKEY_CLASSES_ROOT\Unknown\shell\OpenWithSetDefaultOn\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4f,00,70,00,\
65,00,6e,00,57,00,69,00,74,00,68,00,2e,00,65,00,78,00,65,00,20,00,2d,00,6f,\
00,76,00,65,00,72,00,72,00,69,00,64,00,65,00,20,00,22,00,25,00,31,00,22,00,\
00,00
"DelegateExecute"="{e44e9428-bdbc-4987-a099-40dc8fd255e7}"
[1] http://www.eightforums.com/tutorials/34736-open-choose-default-program-error-fix.html
2014/05/15
Tired of a huge amount off IIS logs?
$Location = [adsi]"IIS://localhost/w3svc" | select LogFileDirectory | %{$_.LogFileDirectory}
Dir "$Location\w3svc1\*.log" | ?{$_.LastWriteTime -lt (Get-Date).AddDays(-14)} | del
Add a scheduled task and call the powershell script using a cmd-wrapper
powershell.exe -command "& 'PathToYourScriptAbove.ps1'
$Location = [adsi]"IIS://localhost/w3svc" | select LogFileDirectory | %{$_.LogFileDirectory}
Dir "$Location\w3svc1\*.log" | ?{$_.LastWriteTime -lt (Get-Date).AddDays(-14)} | del
Add a scheduled task and call the powershell script using a cmd-wrapper
powershell.exe -command "& 'PathToYourScriptAbove.ps1'
Labels:
Exchange Server,
IIS,
Web Server,
Windows Server
Subscribe to:
Posts (Atom)