Backtrack:

showing posts tagged with 'server'

by lunarg on October 6th 2017, at 12:49

Although unsupported, it is possible to install Microsoft Security Essentials on a Windows Server 2012.

To do this, set the compatibility of the downloaded file to Windows 7, then start that file with the parameter /disableoslimit.

The installation goes without a problem, and as far as I can tell, there are no compatibility issues.

by lunarg on June 8th 2015, at 10:36
Upon unauthorizing a Windows DHCP server, you may get the following error:

DHCP
The parameter is incorrect.

Most commonly, there are two reasons for this error to occur.

If you have just unauthorized a DHCP server, it may take a while for AD to replicate the change to other domain controllers. As a result, the DHCP server may still think it's authorized, whereas it is not. Either wait for, or trigger AD replication throughout your network.

Another reason for this error to occur is the presence of another DHCP server in AD that no longer exists. You can check this with the netsh dhcp command, available on any server with the DHCP server role installed:

netsh dhcp show server

Run the com  ...
by lunarg on April 10th 2015, at 15:43
Installation of Windows 7/2008 R2 Service Pack may fail with error 0x800f0a12 if access to the BCD was denied during installation, which is required during the installation of the service pack. This can occur if the volume automount policy was set to disabled, or, in rarer cases, if the BCD database is corrupt or missing, or if something is wrong with the boot partition (where the bootloader lives).

Open an elevated command prompt, and run DISKPART.

Enable the automount policy:

DISKPART> automount enable

Restart the server, and try installing the service pack again.

If the above did not resolve the issue, there may be a problem with the boot partition.

Make sure the partition is mar  ...
by lunarg on February 18th 2015, at 14:19

ViewDbChk is a free tool that helps you overcome and clean up database inconsistencies for VMware Horizon View, the VMware solution for VDI.

https://labs.vmware.com/flings/viewdbchk

by lunarg on January 20th 2015, at 17:04

Open an EMS (Exchange Management Shell), and type these in, one by one:

Get-GlobalAddressList | update-GlobalAdressList
Get-OfflineAddressBook | Update-OfflineAddressBook

Some users report having to restart the Exchange File Distribution service after running these PS cmdlets.

by lunarg on November 20th 2014, at 15:16
Lingering objects in Active Directory are a pest, and require a lot of work to properly dispose of them. Luckily, there's repldiag.exe, part of Active Directory Utils. This particular tool resolves lingering objects by automating the required procedure and set of commands to run to clean up lingering objects.

In normal circumstances, you would have to look up and run various commands to completely clean out the AD database on each DC. Using repldiag.exe does the hard work for you by looking up the DC's and running the clean up on each DC, cross-referencing with the other DC's, and it does so by using the built-in commands and API's (such as those used by repladmin and other commands).

Down  ...

by lunarg on May 8th 2014, at 12:28

When deploying KMS on a Server 2012 R2, you may run into the error message saying nothing more but STATUS_SUCCESS.

The reason for this is that the KMS TCP Listening Port in the wizard, is by default set to 0, which is of course incorrect. Typing in the correct default value (1688) resolves the issue.

by lunarg on March 24th 2014, at 14:00
You can easily set up your proxy settings for Windows Update and other background processes by using the commandline utility netsh.

Show the current settings:

netsh winhttp show proxy

Set up a basic proxy server:

netsh winhttp set proxy ip-or-host:port

Set up a proxy with a bypass list: "ip-or-domain" will not use the proxy:

netsh winhttp set proxy myproxy:80 ";ip-or-domain"

Set up individual proxy servers for each protocol accept for those in the bypass list:

netsh winhttp set proxy proxy -server= "http=ip-or-host:80 ;https=ip-or-host:88" bypass-list= "*.contoso.com"

To import the settings from Internet Explorer:

netsh winhttp import proxy source=ie

To clear and reset t  ...
by lunarg on February 14th 2014, at 09:33
If you have users that were created in AD but not through the SBS console, you'll notice they will not be present in the SBS console. This can be a nuisance for management purposes when you're used to using the SBS console for administering users, but it can also become a problem for some SBS functionality, such as the SBS POP3 Connector. There is a way for your users to be added to the SBS console without having to recreate them, though.

When querying the list of users, the SBS console in fact looks for a certain AD attribute inside each user. This attribute, when set, will enable listing in the SBS console. So, by setting the attribute, you will in fact "import" the us  ...

by lunarg on February 14th 2014, at 09:31

You can add RDS servers to the list of computers in Remote Web Workplace, making them available to anyone with access to RWW. The process is simple, requires no reboot and is immediately active.

1. Fire up regedit.
3. Add a new key called RemoteUserPortal.
4. Under the new key, create a MultiString value called TsServerNames. Edit the value and insert the name (FQDN or NBN) of your RDS server. If you have more than one, add them on separate lines.

Note that this will only work if your RDS server is inside the SBSServers OU or a sub-OU (i.e. you're allowed to create other OU's inside the SBSServers OU).

by lunarg on February 13th 2014, at 12:12
If for some mysterious, unknown reason, your backup suddenly stops working and throws VSS errors, it's usually a good idea to check the following:

If your server is an SBS 2008 or 2011, and have installed updates, you may have to reconfigure Sharepoint:
WSB fails on SBS 2011 after updating Sharepoint (0x800423f0 or 0x800423f3).

If you get errors about VSS failing to create a snapshot, and you have not changed anything on your server recently, it's a good idea to check the presence of a lot of old shadow copies, taking up space. Although old copies will be purged automatically, the VSS Writer doesn't wait around for it, and fails the backup.
So try deleting shadow copies or increase the sh  ...

by lunarg on January 10th 2014, at 13:05

The NETLOGON folder is in fact a subfolder of the SYSVOL directory. Unless this location is changed, you can find it here:

C:\WINDOWS\sysvol\*yourdomain*\scripts

(replace *yourdomain* with the DNS name of your Windows domain)

by lunarg on August 23rd 2013, at 09:23
Since Windows 2008 and certain versions of 2003, automounting of iSCSI volumes is enabled by default. While this is fine for most setups, it is sometimes required that the volumes on your iSCSI targets are not automatically mounted when the server starts up (e.g. on a VMware backup server where you don't want to mount VMFS volumes).

There are several ways to disable automount.

Open an elevated command prompt and run either:

mountvol /N

or

diskpart automount disable

This will turn off automount so volumes will not be mounted automatically on a next reboot.

You can verify (and set) the automount status through the registry. Look at the value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSe  ...
by lunarg on April 19th 2013, at 13:19

The (rather verbose) logs for the Windows SBS 2008 and 2011 POP3 Connector are located in the folder:

C:\Program Files\Windows Small Business Server\Logs\pop3connector

by lunarg on April 10th 2013, at 15:51
A very quick install guide to installing the 2X Application Server.

Install RDS roles and set up RDS licensing on your server (i.e. you need a working RDS/TS set up on your server).

Starting from 2008, configure the firewall so connections to port 80/tcp are accepted.

The same pointers to installing the 2X Cloud Portal. I assume 2X Application Server is already installed.

Install the following roles:IIS and dependencies

Application Development → ASP, ASP.NET 3.5 ASP.NET 4.5

IIS Management Scripts & Tools

Disable caching in IIS: in IIS Man  ...

by lunarg on April 5th 2013, at 16:14

ALTER LOGIN User WITH
GO

by lunarg on April 3rd 2013, at 10:15
Currently, vCenter Server 5.1 is not supported on Windows Server 2012. Trying to install usually results in several errors, but they can be resolved with some workarounds and things to consider. This post is a gathering of (some of) those things.

First of, be sure to install .NET 3.5 using the Server Manager. It can be found as a feature. The installation delivered in the vCenter installation cannot be installed.

It's best to install the required components (SSO and Inventory Service) separately to ensure the installation of the different components goes smoothly. You will have to type in and remember the SSO passwords though.

Upon installation of the vCenter Server, it will insta  ...
by lunarg on February 23rd 2013, at 11:13
Windows SBS has a nasty habbit of taking forever to shutdown/restart. This is because there's a built-in waiting mechanism to allow enough time for the Exchange-services to shutdown. Unfortunately this delay is usually a whole lot longer than it normally would take if you were to stop the Exchange-services yourself. Because the delay does no longer occur when the Exchange-services are already stopped manually, I usually tend to stop Exchange first, then do the shutdown/restart.

Because Exchange consists of many services, at work, we wrote some helper scripts to stop all Exchange-services with only a mouse click, allowing for a quicker shutdown/restart of a server. I've decided to share thes  ...

by lunarg on October 18th 2012, at 12:13

Some direct links to useful Windows 2003 tools:

by lunarg on November 4th 2011, at 14:06
In SBS2008 and 2011, there's a wizard allowing you to move the WSUS repository to another partition/disk. However, it does not move the state database, which, over time, can grow a bit large. Luckily, one could manually move the database by stopping WSUS, detaching the database, move the files, reattaching it, and finally, starting WSUS again.

First of, stop the required services (WSUS and IIS Admin Service)

net stop "update services"net stop w3svc

Next, detach the database:

sqlcmd -E -S np:\\.\pipe\MSSQL\$MICROSOFT##SSEE\sql\query -Q "sp_detach_db 'SUSDB'"

Move the SUSDB.mdf and SUSDB_log.ldf to their new location. Then, reattach the database:

sqlcmd -E -S np:\\.\pi  ...

showing posts tagged with 'server'
 « ‹ November 2018 › » Sun Mon Tue Wed Thu Fri Sat 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30