Management

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 787 other subscribers

Social

  • LinkedIn
  • RSS Feed for Posts
  • Twitter
  • StumbleUpon

Script to create a Windows backup using a VHD file.

Updated : 10-31-2014 => Added Version 4.0

 

This scripts can create a windows backup to a VHD file, on any location in your network.

The only thing needed is setting the correct variables in the xml file.

The script is generating a log file in the backup location, these

Read more… Script to create a Windows backup using a VHD file.

W2008R2 Error starting Azure Active Directory-Module : Import-Module : Could not load file or assembly file:///C:\Windows\system32 \WindowsPowerShell\v1.0\ Modules\MSOnline\Microsoft Online Administration Automation PSModule dll or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. [Solved]

This week I had an fresh installation of an AD FS server for federating a local domain with Office 365.

After the installation of the Windows Azure Active Directory-Module, there was an error starting the module

 

 

Import-Module : Could not load file or assembly ‘file:///C:\Windows\system32\Wi

ndowsPowerShell\v1.0\Modules\MSOnline\Microsoft.Online.Administration.Automatio

n.PSModule.dll’

Read more… W2008R2 Error starting Azure Active Directory-Module : Import-Module : Could not load file or assembly file:///C:\Windows\system32 \WindowsPowerShell\v1.0\ Modules\MSOnline\Microsoft Online Administration Automation PSModule dll or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. [Solved]

W2008R2 Windows Backup Error : Detailed error: ERROR – A Volume Shadow Copy Service operation error has occurred: (0x800423f0) [SOLVED]

This week I had an issue with one of the servers. Windows backup failed every time with these errors:

 

The backup operation stopped before completing.

A Volume Shadow Copy Service operation failed. Please check “VSS” and “SPP” application event logs for more information.

Detailed error: ERROR – A

Read more… W2008R2 Windows Backup Error : Detailed error: ERROR – A Volume Shadow Copy Service operation error has occurred: (0x800423f0) [SOLVED]

Win 7-8-2008-2012 : Get-EventLog : The network path was not found. At SomePowershellScript.ps1:1 char:1 [Solved]

This week I had to do some powershell scripting on different servers.

There was one server who reacted not in the same order as the other servers.

 

For example:

Executing the command :

get-eventlog -computername ServerName –list

Returns with the error :

Get-EventLog : The network path was

Read more… Win 7-8-2008-2012 : Get-EventLog : The network path was not found. At SomePowershellScript.ps1:1 char:1 [Solved]

SQLEXPRESS : Windows could not start the SQL Server (SQLExpress) on local Computer. Service-specific error code 10048. [SOLVED]

This week I had a SQL installation, on which the SQLEXPRESS service didn’t want to start.

When starting the service I received the error :

Windows could not start the SQL Server (SQLExpress) on local Computer. For more information, review the System Event log. If this is a non-Microsoft service,

Read more… SQLEXPRESS : Windows could not start the SQL Server (SQLExpress) on local Computer. Service-specific error code 10048. [SOLVED]

Windows 2008 (R2) : The .adm file is not in a valid format and must be replaced. Details: There are unmatched quotes at line number [SOLVED]

When an adm(x) file is corrupt, or you have copied some files to the wrong directory, you may receive this error message :

Error:

The following errors were encountered:

The .adm file “C:\Windows\inf\WindowsRemoteShell.admx” is not in a valid format and must be replaced. Details: There are unmatched quotes at line

Read more… Windows 2008 (R2) : The .adm file is not in a valid format and must be replaced. Details: There are unmatched quotes at line number [SOLVED]

Server 2008 R2 : The operation failed because: The attempt at remote directory server to remove directory was unsuccessful. “Access is denied.” [SOLVED]

When trying to demote a Domain controller with DCPROMO, you may receive this error

Error:

Network Credentials

The operation failed because: The attempt at remote directory server <Servername> to remove directory <servername to remove> was unsuccessful. “Access is denied.”

Click Next

Optional select “Reboot on completion”

Error

Read more… Server 2008 R2 : The operation failed because: The attempt at remote directory server to remove directory was unsuccessful. “Access is denied.” [SOLVED]

HOW TO: Create a software list in powershell on server 2008 (R2) + 2012 (R2)

This week I had to compare software on multiple Remote Desktop Servers.

To do this quicly I wrote this little Powershell script, to create a CSV file of the software, in order to compare the lists.

 

You can create a list by means of:

Get-WmiObject -class win32_product

 

Creating

Read more… HOW TO: Create a software list in powershell on server 2008 (R2) + 2012 (R2)

How to : Start Windows Powershell ISE as an administrator

Off course you can start a program as an administrator bij right clicking the program, and select ‘Run as administrator’.

But sometimes this is not possible, for example bij using a script.

In this case you can use the Start-Process command in Powershell ( This does not work in cmd

Read more… How to : Start Windows Powershell ISE as an administrator

Server 2008 R2 : Active Directory Best Practices Analyzer Error : Strict replication consistency is not enabled on the domain controller FQDN. [SOLVED]

Problem:

When using the Active Directory Best Practices Analyzer, you may receive an error:

Title:

Strict replication consistency should be enabled on all domain controllers in this forest

Severity:

Warning

Date:

4/2/2014 3:22:03 PM

Category:

Configuration

Issue:

Strict replication consistency is not enabled on the domain controller DC21.DOMAIN.NL.

Read more… Server 2008 R2 : Active Directory Best Practices Analyzer Error : Strict replication consistency is not enabled on the domain controller FQDN. [SOLVED]