Windows RunAs command syntax and examples

Windows-RunAs-commandRunAs is a very useful command on Windows OS. This command enables one to run a command in the context of another user account. One example scenario where this could be useful is: Suppose you have both a normal user account and an administrator account on a computer and currently you are logged in as normal user account. Now you want to install some software on the computer, but as you do not have admin privileges you can’t install the same from the current account. One option is to switch user and login as administrator. Instead, you can do the same by simply using runas command. You just need to launch the installer from command prompt using runas command and by providing administrator login id and password. Continue reading

Skype for Business Server 2019 Monitoring Reports Error: Cannot get the ReportServerWebService URL

When deploying a recent Skype for Business Server 2019 deployment, I came across an issue when installing monitoring reports on a server. In previous editions of SQL Server, SQL Server Reporting Services (SSRS) was installed and configured by default. With the release of SQL Server 2017, this is now a seperate download that only installs the service. After installing SSRS, the Report Server Web Service/Report Manager in Reporting Services Configuration Manager needed to be configured.

Continue reading

Install-CsDatabase error: The network name cannot be found.

skype-for-businessWhile publishing Skype for Business topology when new databases has to be created on Backend servers there may be an error publishing topology upon execution of Install-CsDatabase cmdlet:
Error: The network name cannot be found.
▼ Details
└ Type: IOException
└ ▼ Stack Trace
└ at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at Microsoft.Rtc.Common.Data.DatabaseManager.CreateDatabase(String dbFileBase, String dbPath, String logPath, Int32 dbSizeMB, Int32 logSizeMB, Int32 dbGrowthMB, Int32 logGrowthMB, Int32 maxDbSizeMB, Int32 maxLogSizeMB)
at Microsoft.Rtc.Common.Data.DatabaseManager.CleanInstallDatabase(String dbFileBase, String initialScripfilePath, String dbPath, String logPath, Int32 dbSizeMB, Int32 logSizeMB, Int32 dbGrowthMB, Int32 logGrowthMB, Int32 maxDbSizeMB, Int32 maxLogSizeMB)
at Microsoft.Rtc.Common.Data.DbSetupBase.CleanInstallDatabase()
at Microsoft.Rtc.Common.Data.DbSetupBase.CreateOrUpdateDatabase()
at Microsoft.Rtc.Management.Deployment.Tasks.DatabaseCreator.CreateDatabaseForFeature(String featureName, Boolean clean, Boolean update, String sqlServer, String instanceName, String databaseType, List`1 databaseNames, Boolean collocated, Boolean backup, Boolean noreindex, DatabasePathAssignment[] pathAssignments, Boolean broadCast, String& logfile)

Continue reading

Repair Windows 10 Using DISM and SFC

dism online checkhealth

If the system files in your Windows 10 computer become corrupt and the System File Checker (SFC /scannow) is unable to reinstate the critical system files, it’s due to corruption of Component Store located at the C:\Windows\WinSxS directory. This directory contains the files needed for SFC utility to restore missing or damaged system files. The Component store stores all the Windows system files grouped by components and as hard links.

This post tells you how to fix Windows 10 if some system files or the component store are damaged. Continue reading

Get latest Windows 10 ISO Images Using MCT, Direct Download or Rufus

media creation tool - download windows 10 iso, usb installation mediaMicrosoft software downloads page offers you the Media Creation Tool (MCT) which can be used to upgrade Windows 10, download Windows 10 ISO locally or create a USB installation drive. MCT is the officially recommended way to get a copy of the latest Windows 10 ISO.

Though MCT is the only advertised way to get the Windows 10 ISO, there is another way to download the ISO directly and I will explain how you can do this below Continue reading

Slipstream Windows 10: Integrate Updates with Original Setup Disk

iso dvd header image

Monthly Cumulative Updates released for Windows 10 bump the build number which means your Windows 10 ISO becomes outdated after a Cumulative Update gets released. You can integrate the Cumulative Update and other required updates, and build an updated ISO containing the latest version and build of Windows.

The process of integrating Windows update packages into the Windows Setup disk is known as Slipstreaming. Continue reading

Error 0x800F0954 Installing .NET Framework 3.5 or Windows Feature

When you attempt to install .NET Framework 3.5 or any other optional feature using “Windows Features” (optionalfeatures.exe) dialog or using DISM command-line, error 0x800F0954 may popup.

enable feature .net framework 3.5

After enabling .NET Framework 3.5 and clicking OK, the following error may appear:

Windows couldn’t complete the requested changes.

The changes couldn’t be completed. Please reboot your computer and try again.

Error code: 0x800F0954

Continue reading

Skype for business 2015: Limit fabric tracing logs growth

Skype for Business server fabric traces are enabled by default. You can find the fabric traces in following location: C:\ProgramData\Windows Fabric\Log\Traces. Sometimes Windows Fabric logs can be very abundant and in conjunction with not a big size of disk partition can fill up your system drive space. Following article may help you to reduce the fabric traces logs to one day.

Continue reading

Install Skype for Business 2019 Prerequisites

 

skype-for-business

Skype for Business Server 2019 is available now, along with a new set of demands to install it right on your Windows Server.

Microsoft recommends Windows Server 2019 and Windows Server 2016 only as host operating systems

Skype for Business 2019 supports .NET Framework 4.8 !

Here are the list of prerequisites that should be installed before you begin your Skype for Business 2019 installation: Continue reading

How to recursively set permissions for ACL in FreeBSD

freebsdThis is not too difficult however as not as straightforward as it can be done in Linux.

setfacl command in Linux has -R directive to set permissions recursively in the same way as with chmod command.

In FreeBSD setfacl does not have -R directive. Use the following examples to recursively set ACL permissions in FreeBSD: Continue reading

Load more