ivan

SCCM Reports Service Account

If you have to change the Report Server service account password (never happens, right?!?) do yourself a favor and before rebuilding the entire report service go to Administration –> Security –> Accounts, double click on the account in question, click SET and enter the new password. Symptoms are: 1. Cannot impersonate user for data source2. Cannot change data source user – you change it and it’s reverting back3. Other logon errors after reporting works for few seconds

Dell Workstations (3630) UEFI Bios settings – no bootable device found

Recently I had to install windows through SCCM and Remote Distribution point with enabled PXE support in remote site which doesn’t have an IT technician available and this turned to a challenge for a regular user. I’m using MDT Task sequence and we support secure boot. In order to make it work few settings in the BIOS needs to changed, the factory default setup wouldn’t work. Under System Configuration Integrated NIC – Enabled w/PXE, make sure that Enable UEFI network stack is checked as well SATA Operation – AHCI Secure Boot – Enabled, Legacy Support Disabled – If your environment doesn’t support secure boot disable it, however, it’s not that hard to support it in… Read More »Dell Workstations (3630) UEFI Bios settings – no bootable device found

SCCM – Change Site Code on multiple computers

If you had to change the sccm client site code on multiple computers (after sccm migration or new/upgraded server installation) nowadays you might have discovered that it’s not as easy as it should be. You could push the new site client to all computers generating a lot of heat to the network or try deprecated wmic (miserably fails). I wanted to avoid mass client push and found that the following quick and dirty script works well: First create a list of all computers using your favorite method, I already have a text file with them so I’ll just use it, it’s named mycomps.txt and it is in my current folder.

PSWriteHTML is awesome

Recently I was playing with the excellent PSWriteHTML powershell module and ended up creating a dashboard from events. Since I had a hard time going through all of the dashboard option, I’ve decided to share what I did, may be it will help someone. The example script requires PSWriteHTML module installed. Event properties I got from here, don’t know is this the original author, anyway, I wish all good to the author, whoever he is! I do not pretend this is the best code ever, however, IMHO it is doing the job right, It works out of the box, just adjust server names ($srv), taking the reboots for the last 30 days with max events… Read More »PSWriteHTML is awesome

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

PowerShell HTML System Report

I’ve been playing with HTML in PowerShell and ended creating not so bad script including function that creates HTML report with system info for a remote computer/server. In includes Operating System, CPU, Memory and Hard Disk, CD-Rom Info which are exported to a html file. It’s not a piece of art, have some basic error suppression, but if someone needs some info quickly it will do the job. Enjoy and leave me a comment if you need help using the script. Special thanks to Ansgar Wiechers and StackOverflow How to use: From the script folder (start powershell as admin) The entire package can be downloaded from the link below: Get-SystemReport

WSUS on secondary SCCM site

WSUS on Secondary Site   Generally speaking if everything is OK you install WSUS role with the same setup as your primary site, launch the console once, close it, install SUP from the SCCM  and configure it and that’s it. However, sometimes the WSUS breaks and when that happens it is usually a pain to get it back. These are just my two cents. Good post on SUP installation could be read here. Setting up WSUS + SUP on a Secondary Site (SCCM2012) Uninstallation TIPS: I would uninstall the WSUS and WID roles, and DELETE any resource used by WSUS. This includes: The %ProgramFiles%\Update Services folder The ~\WSUS folder tree The HKLM\Software\Microsoft\Update Services registry key. –… Read More »WSUS on secondary SCCM site

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

Microsoft Windows Security Audit Event Accesses IDs

I’m working on a powershell script extracting the file server audit log and creating a human readable html out of it when I got stumbled by the beautiful codes below (which are really hard to find) and decided that they deserve a re-post. Thanks to this guy for translating them. The list below is from WinXP, there are more codes in the newer windows versions, however, these are still valid. Here is the link to the TechNet post. BTW the Resource Hacker  still works and you can use it to extract the codes from %windir%\system32\msobjs.dll . Please note that you’ll have to translate them from HEX to decimal to receive the values you got from the… Read More »Microsoft Windows Security Audit Event Accesses IDs

Windows 10 search not working

After the October patch Tuesday taskbar search suddenly stopped working along with the search itself – when something was typed search simply disappears, taskbar turns black/empty. I found in the log  the following errors: Faulting application name: SearchUI.exe, version: 10.0.14393.953, time stamp: 0x58ba5a2f Faulting module name: SearchUI.exe, version: 10.0.14393.953, time stamp: 0x58ba5a2f Exception code: 0xc000027b And: Activation of app Microsoft.Windows.Cortana_cw5n1h2txyewy!CortanaUI Please note that i disabled Cortanta through the registry long time ago – I don’t use and so on, no matter the reason, I just don’t want it. So it seems that after the last patches Microsoft tried to shove it down my throat again, of course, without asking me do I want it at… Read More »Windows 10 search not working