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

[Solved] Windows 10 : Disable Windows 10 autoupgrade

This script disables the automatic upgrade to Windows 10, by placing 2 regkeys if not set already.

Opening a pdf file sometimes shows only a blank white page [Solved]

When opening a pdf file in the browser, you sometimes only see a white page, and no pdf file.

This is due to a security setting of adobe.

Edit => Preferences

Disable “Enable protected mode on startup” on the Security (Enhanced) tab.

And now your able

Read more… Opening a pdf file sometimes shows only a blank white page [Solved]

Move files to sub folders based upon year and month LastWriteTime [Solved]

Very often I hear my colleagues say that zipping, deleting or archiving a folder takes to many time, and resources of the server they are working on.

This is due to the large amount of files in these folders.

 

In order to help then I write this simple script,

Read more… Move files to sub folders based upon year and month LastWriteTime [Solved]

How to connect to a domain-joined Exchange server from a stand-alone PC [Solved]

Special thanks to my colleague Eric Snijders for his contribution!

 

Be Aware:

This is not the best practice!

We have done this in order to decommission the current mail server!

 

This week I encountered some troubles connecting from my

Read more… How to connect to a domain-joined Exchange server from a stand-alone PC [Solved]

Working with Powershell and modules. [Solved]

For some time now I worked with Functions in Powershell, but wanted to go to the next level, working with modules.

Creating modules isn’t rocket science, but working with modules the right way is something completely different.

At first is I placed my modules at C:\Windows\system32\WindowsPowerShell\v1.0\Modules\

But later I found

Read more… Working with Powershell and modules. [Solved]

Start powershell with the same settings everytime.

Do you need to add the same command’s in powershell everytime you start powershell?

This can be done automatically !

 

I always start powershell with start-stranscript and change the default location to C:\Scripts.

You can execute this automatically :

 

First check wetter there is a Profile in use

Read more… Start powershell with the same settings everytime.

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.

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]

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)