Printer Defaults OSX

active webinterface:
run this command in terminal: cupsctl WebInterface=yes

access webinterface:
http://localhost:631

User name off the user (Casesentitive) get username by using the command who, look for the console line

Cisco Anyconnect: Failed to initialize connection subsystem windows update

UPDATE: You can use kb3023607

 

This issue was introduced by windows update KB3023607 and KB3034682 and KB3021952

fix1 (work for me)
uninstall KB3023607, KB3034682 , KB3021952
reinstall the cisco anyconnect client (I used version 3.1.06079)

fix option 2:

  1. Close the Cisco AnyConnect Window and the taskbar mini-icon
  2. Right click vpnui.exe in the “Cisco AnyConnect Secure Mobility Client” folder. (I have it in “C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client\”
  3. Click on the “Run compatibility troubleshooter” button
  4. Choose “Try recommended settings”.
  5. The wizard suggests Windows 8 compatibility.
  6. Click “Test Program”.  This will open the program.
  7. Close

sources:
1. http://christierney.com/2015/02/11/cisco-anyconnect-failed-to-initialize-connection-subsystem/
2. http://www.reddit.com/r/sysadmin/comments/2vk5w6/cisco_anyconnect_error_failed_to_initialize/

Exchange 2010 – Single Common Name SSL Certificate

Exchange 2010 – Single Common Name SSL Certificate

Create SRV record:
Service: _autodiscover
Protocol: _tcp
Port Number: 443
Host: mail.example.net

 

$URLName="mail.example.net"
$ComputerName="exch-svr"    
Get-AutodiscoverVirtualDirectory | Set-AutodiscoverVirtualDirectory –InternalUrl "https://$URLName/Autodiscover/Autodiscover.xml"
Get-ClientAccessServer | Set-ClientAccessServer –AutodiscoverServiceInternalUri "https://$URLName/Autodiscover/Autodiscover.xml"
Get-WebservicesVirtualDirectory | Set-WebservicesVirtualDirectory –InternalUrl "https://$URLName/Ews/Exchange.asmx"
Get-OabVirtualDirectory | Set-OabVirtualDirectory –InternalUrl "https://$URLName/Oab"
Get-OwaVirtualDirectory | Set-OwaVirtualDirectory –InternalUrl "https://$URLName/Owa"
Get-EcpVirtualDirectory | Set-EcpVirtualDirectory –InternalUrl "https://$URLName/Ecp"
Get-ActiveSyncVirtualDirectory -Server $ComputerName | Set-ActiveSyncVirtualDirectory -InternalUrl "https://$URLName/Microsoft-Server-ActiveSync"
Get-AutodiscoverVirtualDirectory | Set-AutodiscoverVirtualDirectory –ExternalUrl "https://$URLName/Autodiscover/Autodiscover.xml"
Get-webservicesVirtualDirectory | Set-webservicesVirtualDirectory –ExternalUrl "https://$URLName/Ews/Exchange.asmx"
Get-OabVirtualDirectory | Set-OabVirtualDirectory –ExternalUrl "https://$URLName/Oab"
Get-OwaVirtualDirectory | Set-OwaVirtualDirectory –ExternalUrl "https://$URLName/Owa"
Get-EcpVirtualDirectory | Set-EcpVirtualDirectory –ExternalUrl "https://$URLName/Ecp"
Get-ActiveSyncVirtualDirectory | Set-ActiveSyncVirtualDirectory -ExternalUrl "https://$URLName/Microsoft-Server-ActiveSync"

Run get-exchangecertificate and note the thumbprint on the new certificate (watch out for dublets!)

Run Enable-exchangecertificate -thumbprint <TUMBPRINT> -services SMTP,IIS,POP,IMAP

Run iisreset

Restart the Microsoft Exchange services

Restart Clients Pc’s

source: http://www.cohesivelogic.com/exchange-2010-single-name-ssl-certificates/

Remove password expiration Office 365

Remove password expiration Office 365

I wrote this powershell script to remove password expiration for all users, so that the users password not expires

Password_expiration.ps1

$Cred = Get-Credential

Read-Host 'Press Enter to continue to Connect to Office 365' | Out-Null
Write-Host "Continueing..."
$s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic –AllowRedirection

Import-PSSession $s

Read-Host 'Press Enter to continue to remove password from expires for all users' | Out-Null
Write-Host "Continueing..."
Connect-MsolService –Credential $cred

Get-MSOLUser | Set-MsolUser -PasswordNeverExpires $true

Read-Host 'Press Enter to exit script, All Done' | Out-Null

Change Retention Policy – Office 365

Change Retention Policy – Office 365

I wrote this powershell script to remove the Retention Policy that delete all emails in Users Deleted Items folder that are older then 30 days

Retention_Policy.ps1

$Cred = Get-Credential

Read-Host 'Press Enter to continue to Connect to Office 365' | Out-Null
Write-Host "Continueing..."
$s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic –AllowRedirection

Import-PSSession $s

Read-Host 'Press Enter to continue to Remove 30 days Deleted Items rule' | Out-Null
Write-Host "Continueing..."
Enable-OrganizationCustomization

Set-RetentionPolicyTag "Deleted Items" -RetentionEnabled $false

Read-Host 'Press Enter to exit script, All Done' | Out-Null

Live migration of ‘Virtual Machine’ failed. Event 21502

Live migration of ‘Virtual Machine1’ failed.

Virtual machine migration operation for ‘Virtual Machine1’ failed at migration destination ‘NodeX’. (Virtual machine ID xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)

The virtual machine ‘Virtual Machine1’ is using processor-specific features not supported on physical computer ‘NODEX’. To allow for migration of this virtual machine to physical computers with different processors, modify the virtual machine settings to limit the processor features used by the virtual machine. (Virtual machine ID xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)

fix:
stop VM
Set-VMProcessor “Virtual Machine1” -CompatibilityForMigrationEnabled $true

Move Outlook 2010 AutoComplete Cache / Suggested Contacts

This mini guide explains how to Move Outlook 2010 AutoComplete Cache / Suggested Contacts

Outlook 2010 AutoComplete Cache

old pc:
Close outlook
Go to this folder:

 %LOCALAPPDATA%\Microsoft\Outlook\RoamCache 
( C:\Users\[username]\AppData\Local\Microsoft\Outlook\RoamCache )

look for a file named Stream_Autocomplete_0_xxxxxxxxxxxxxxxx.dat (random number like Stream_Autocomplete_0_1AF176FB82536A41BFE4932FD077DF0F.dat)

if there is more then one, look at the timestam or the size, to select the rigth one

copy the file to the new pc

new pc:
open outlook
send a email to a emailadress that you type in (not using contacts)
close outlook
open outlook
send another mail to the same emailadress, you should see that the autocorret list suggests the email, then close outlook

Go to this folder:

 %LOCALAPPDATA%\Microsoft\Outlook\RoamCache 
( C:\Users\[username]\AppData\Local\Microsoft\Outlook\RoamCache )

look for a file named Stream_Autocomplete_0_xxxxxxxxxxxxxxxx.dat (random number like Stream_Autocomplete_0_1AF176FB82536A41BFE4932FD077DF0F.dat)

if there is more then one, look at the timestam, to select the rigth one

copy the filename and rename the file to eg. Stream_Autocomplete_0_xxxxxxxxxxxxx.dat.Old
copy the stream file from the old outlook to this folder, and rename the file to what the other file name was
open outlook and now you should have your AutoComplete Cache / Suggested Contacts

tips:
Always make a backup of the .dat file, before entering outlook on the new pc. some times (1 out of 50) outlook deletes the file on startup, if this should happens, just copy the file on more time, this time it should work

Key Not Valid for Use in Specified State error installing Anyconnect

If you get this error upon trying to install Cisco Anyconnect:
Key Not Valid for Use in Specified State

Danish translation:
Nøglen er ikke gyldig for anvendelse i den angivne tilstand.

Do the following:

Move the folder RSA from

C:\Users\AppData\Roaming\Microsoft\Crypto\RSA to say C:\RSA (just in case there should be a need to restore it) then try installing again.
This folder appears to act as a cache and should be rebuilt automatically as required.

Source https://discussions.apple.com/thread/6514053