Uncategorized

SCCM – Upgrade Microsoft Office

Recently I had the task to upgrade Microsoft Office from 2010 to 2016 (I now it’s year 2020 now 🙂 using SCCM. I was thinking that it shouldn’t be a big deal, but…. it turned out differently. There was lync client, custom add-in, old office uninstall failed with random errors… To cut the long story short – this is what I did at the end. All Guid’s credits goes to this guy Create Custom Task Sequence Step 1 – Kill Lync Client – Run Command Line taskkill /f /im communicator.exe /t Step 2 – Kill UCMapi – Run Command Line taskkill /f /im ucmpai.exe /t Step 4 -Uninstall Lync – Run Command Line msiexec /x… Read More »SCCM – Upgrade Microsoft Office

Server Core 2012 R2 Thoughts

Server 2012 R2 Core Thoughts Auto configured IP address is preferred – Solved Duplicated IP PoshFix Enable Remote Administration – Done – sconfig OR Check Firewall– Get-NetFirewallProfile Set Firewall – Set-NetFirewallProfile –Name Domain –Enabled False Check Remote Desktop -Get-ItemProperty -Path “HKLM:\System\CurrentControlSet\Control\Terminal Server” the one we’re interested is “fDenyTSConnections” – must be 0 Set Remote Desktop – Set-ItemProperty –Path HKLM:\System\CurrentControlSet\Control\Terminal Server” -Name “fDenyTSConnections” –Value 0 Set IP/DNS – sconfig OR Check – ipconfig /all OR Get-NetIPAddress Get Adapter index – Get-NetAdapter (ifIndex) Set – Set-IPAdd                ress 1.1.1.1 –InterfaceIndex (ifIndex) –AddressFamily IPv4 –Type Unicast –PrefixLenght (prefixlenght) Set-DnsClientServerAddress –InerfaceIndex (ifIndex) –ServerAddresses 1.1.1.1,2.2.2.2 (separated by comma, if DC I would put it’s own IP address as first, existing DC… Read More »Server Core 2012 R2 Thoughts

Don’t Ask……

“Don’t ask what the world needs. Ask what makes you come alive, and go do it. Because what the world needs is people who have come alive” – Howard Thurman

Message at startup

This works with Windows 8.1 too 🙂 http://www.door2windows.com/how-to-automatically-display-a-message-at-windows-startup/

Error 13 the data is invalid

After applying patches on server 2012, host of exchange 2013 I got Windows Process Activation Service cannot start, Error 13 The data is invalid and a lot of errors containing c:\Windows\system32\intesrv\config\applicationhost.config Line number: 1 Error:Configuration file is not well-formated XML. A lot of other services didn’t started as well Net.Tcp Listener Adapter Windows Process Activation Service World Wide Web Publishing Service and few other The solution turned to be simple – replace the applicationHost.config located in c:\Windows\System32\Inetsrv\config with the latest backup file located C:\inetpub\history That’s all, thank you glazenbakje

Thank you Zentyal

Thank you Zentyal for saving me from (two days of testing) all other beautiful, however, not working under hyper-v release like my favorite pfsense, ipcop, untangle and so on. Please Microsoft, give them a driver, but for now Zentyal is working flawessly on my Hyper-V!

Set a Cron Freebsd

If you ever wondered how to setup a cron on bsd(pfsense) The follwoing will run every 5 minutes */5 * * * * user command Every Minute – * * * * * Every 5 Minutes – 0,5,10,15,20,25,30,35,40,45,50,66 * * * * Every 5 Minustes (Simple) – */5 * * * * Every Hour – * */1 * * * and so on. More info here Field Meaning (input) 1 Minutes (0-59) 2 Hours (2-24) 3 Day of the Month (1-31) 4 Month (1-12) January thru December 5 Day of the week (0-6) Sun thru Sat 6 User to execute the command 7 Command to execute