Scheduled task run a PowerShell script

To run a PowerShell script using a scheduled task in Windows, you must set the Action to run a Program and configure it as below: 1 Program / Script: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe2 Add arguments (optional) : -file folder_and_file.ps1



Active Directory: installation and configuration of a domain controller

In this tutorial, we will see how to set up an Active Directory domain.

In summary, an Active Directory is a database (LDAP) that contains a set of objects (users, computers, etc.) and delivers several services:

Centralization of objects on the network in a single database
User Authentication
Rights management
Policy Application (GPO)



sqlserver error 0x80041010

Problem When opening the SQL Server xxxx Configuration Manager you get the following error message: “Unable to connect to the WMI provider.” You do not have the required permission or the server is not accessible. that you can manage SQL Server 2005 or later with SQL Server Configuration Manager Invalid Class [0x80041010] Cause According to …

Read more



Exchange: Removing Traces from an Exchange 2003 Server

In an Exchange environment that has been upgraded several times, the old “active” servers may be kept in case something has been left out. If for some reason, the old servers have not been decommissioned and it is no longer possible to do so, we can have blockages in the administration (basic removal …). Solution …

Read more



Can not connect in RDP with an RDS gateway

Symptom When you connect to an RDP server using an RDS gateway, you receive the following error message: Your computer can not connect to the Remote Desktop Gateway server.Contact your network administrator for help. Solution 1. Open the registry editor (regedit) and search for the key : 2. If the RDGClientTransport key exists, pass its …

Read more


ARR: Setting Up for Outlook Anywhere

Config proxy

Using ARR as a load balancer for Exchange requires special settings for Outlook Anywhere. IIS setting 1. Open the IIS console and click Request Filtering. 2. On the Actions menu, click Change Function Settings … 3. Change the value Maximum allowable length of the content: 2147483648 (2GB) then click OK. Farm configuration 1. Go to …

Read more



DNS configuration of a redirector

Presentation When setting up a DNS server on Windows Server, it may be necessary to configure one or more DNS forwarders to public servers to resolve external domain names instead of using root DNS servers. It is possible to use the servers “roots”, the resolution time can be “long”. Configure a DNS forwarder 1. Open …

Read more



DFS : installation and configuration – Distributed File System

DFS

The namespace of DFS makes it possible to provide shared, which are on different servers under the same name.

Instead of accessing a shared folder with the \\server-file\ computer address, we will use an address of the type \\domain-name\ share\ computer. The user will be redirected transparently on the “server-file” server.

In a simplified way, in the folder \\domain-name\share will be shortcuts to other shares that are several servers and this in a completely transparent way for the user.



Stand-alone certification authority: installation on Windows Server

CA

Presentation A Certificate Authority (CA) can issue certificates for internal internet sites, RDS connections … The advantage of having a CA is having to deploy a single certificate on the computers, and some Windows services require certificates from a CA to work: On Windows, there are two types of CAs (summary): Role installation 1. From …

Read more