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
~ a sysadmin's cheat sheet ~
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
2014/04/22
Renew Exchange Server certificate - How to convert binary request to base64
The renew exchange server certificate function within the exchange server console provides you with a binary request file. Your (Windows) CA accepts only a base64 request file. Convert the binary to base64 the following easy way:
certutil -encode binary.req base64.txt
certutil -encode binary.req base64.txt
Labels:
CA,
Certificate,
certutil,
Exchange Server
2014/03/27
Live Migration failed with error 0x00002745
I just got a strange error message during a failed live migration.
Type: Error
Event-ID: 21502
Source: Hyper-V-High-Availability
Message:
”Virtual Machine {server}' live migration did not succeed at the source
....
Could not send data to the remote node: An Established connection was aborted by the software in your host machine (0x00002745)
or in german stating
"Es konnten keine Daten vom Remoteknoten empfangen werden: Eine bestehende Verbindung wurde softwaregesteuert durch den Hostcomputer abgebrochen. (0x00002745)"
Long story short: Live Migration failed, we tried a quick migration which worked "well" but couldn't start the VM. After opening the console of the vm and trieing to start the saved quick migrated state we saw the real error "not enough memory available"
Type: Error
Event-ID: 21502
Source: Hyper-V-High-Availability
Message:
”Virtual Machine {server}' live migration did not succeed at the source
....
Could not send data to the remote node: An Established connection was aborted by the software in your host machine (0x00002745)
or in german stating
"Es konnten keine Daten vom Remoteknoten empfangen werden: Eine bestehende Verbindung wurde softwaregesteuert durch den Hostcomputer abgebrochen. (0x00002745)"
Long story short: Live Migration failed, we tried a quick migration which worked "well" but couldn't start the VM. After opening the console of the vm and trieing to start the saved quick migrated state we saw the real error "not enough memory available"
Labels:
Hyper-V,
Live Migration,
Windows Server 2008 R2
2012/10/29
SnapManager Exchange or SQL Service failed to start
or why .NET-Applications need long to start: "A common cause that I have seen often recently is Certificate Revocation List (CRL) checking when generating Publisher Evidence for Code Access Security (CAS)."[1]
In my case the Exchange Sever didn't had anymore direct access to the internet. The CRL checking during the SM Serverice Startup failed. This took longer than 30 seconds and causes the service start to time out. Adding some lines to the SnapMgrService.exe.config prevent the service to do the online CRL check. No further timeouts, services starts.
In my case the Exchange Sever didn't had anymore direct access to the internet. The CRL checking during the SM Serverice Startup failed. This took longer than 30 seconds and causes the service start to time out. Adding some lines to the SnapMgrService.exe.config prevent the service to do the online CRL check. No further timeouts, services starts.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<generatePublisherEvidence enabled="false"/>
</runtime>
...
Same issue some month's later with a SnapManager SQL installation. Good to have a cheat sheet for the most wired thing online.
[1] Best Practice - <GeneratePublisherEvidence> in ASPNET.CONFIG
2012/03/19
Granting Permissions to Domain Admin group on SQL Server 2008 Instance
I just wondered about why i couldn't login as member of the domain administrators group to the SQL-Server after i added this group to the SQL as sysadmin. If i add me as user itself the login workes fine. Here is the right "procedure":
- Add Domain Admins group in the SQL Server Security Login
- Give Sysadmin rights to the Domain Admins group
AND (if you login as member of the group)
- Disable UAC or start the SQL Server Management Studio as an Administrator
- Add Domain Admins group in the SQL Server Security Login
- Give Sysadmin rights to the Domain Admins group
AND (if you login as member of the group)
- Disable UAC or start the SQL Server Management Studio as an Administrator
2011/09/22
Backup Exec 2010 - Some Hints
LU1805 - LiveUpdate was unable to find any products to Update
NDMP Backup to disk to tape
Can cause troubles... In case of troubles use 2 jobs: one ndmp to tape, one ndmp to disk
... continued
[1] http://www.symantec.com/business/support/index?page=content&id=TECH66265
- Open the command prompt and browse to the following directory {DEFAULT.EN_US} C:\Program Files\Symantec\Backup Exec\
- Run BeUpdateOps.exe -AddBE -OptOut
- Run Live Update
NDMP Backup to disk to tape
Can cause troubles... In case of troubles use 2 jobs: one ndmp to tape, one ndmp to disk
... continued
[1] http://www.symantec.com/business/support/index?page=content&id=TECH66265
Subscribe to:
Posts (Atom)