Only tested with IIS 7 on Server 08 R2 Open ‘CMD’ and navigate to ‘C:WindowsMicrosoft.NETFramework<.NET version number> Type ‘aspnet_regiis.exe -ir’ If this is a fresh version of IIS (no other sites running on it) or you’re not worried about the hosted sites breaking with a framework change you can use -i instead of -ir. At…
Category: Server 2008/R2
Symbolic Links 2008/Vista+
This applies to Server 2008 R2 and Windows 7 as well, of course. While this may be old news to some, MaxPC had a good article in their latest issue about using symbolic links in Vista. To paraphrase, symbolic links are like shortcuts but at the OS level, not the file system level. Starting in…
Allow non-admins to start and stop system services
Step 1 – Create the Console We need to open a hidden console snap-in Click Start > Run (or press WIN + R) and type “mmc.exe” This opens an empty Microsoft Management Console. Click File > Add/Remove Snap-in… (Ctrl+ M) Scroll down the list of available Snap-ins and select Security Configuration and Analysis Click Add…
Issue with drive mappings
Error with either Kix32, manually mapping drives, and/or internet issues. The error I was getting: ‘The mapped network drive could not be created because the following error has occurred: An extended error has occurred.’ – Side note, MS should really rethink the wording on this error. Run these commands as an admin on the machine:…
Anonymous LDAP requests
I strongly recommend against this. Many applications communicate with directory services through LDAP, but the LDAP Request for Comments (RFC) specification stipulates that an LDAP bind should support the passing of a credential. Connecting anonymously really shouldn’t be needed. You may have many Unix-style applications that currently use an anonymous LDAP bind to other directory…
Remote Access to Event Viewer for non-Admins – Windows Server 2003/2008
In 2008, this is a doddle. Add the user to the built in Event Viewers group! In 2003 however, there’s a bit more to it. You’ll need to amend the registry. The security of each log is configured locally through the values in the following registry key: HKEY_LOCAL_MACHINESystemCurrentControlSetServicesEventlog The Application log Security Descriptor is configured through the following…
‘aspnet_regiis -i’ and IIS
It is very common for posters on newgroups to recommend that solution seekers run the “aspnet_regiis -i“ command to fix various problems and ASP.NET maladies. Unfortunately, the -i flag of the aspnet_regiis command does much more than is usually required to fix most problems. It is a sledge hammer when the pennyweight would be a…
Windows 2008/R2 “Windows could not prepare the partition…”
Server 2008 and/or R2 On the Windows 2008 disk partition install, I get the error “Windows could not prepare the partition selected for installation”. Boot to Command Prompt and type in the following diskpart list disk select disk <disk number> detail disk
Setting up a KMS server
Server 2008 R2 “Windows Server 2008 R2 Std/Ent KMS B” key Installation process Load up a VM or physical machines using the “Windows Server 2008 R2 Std/Ent KMS B”. Click on OK on the warning of using a Key Management Service key Thats it for installing the service!
LDAP over SSL with a CA server
MS AD 2008 Server 2008 CA server (Not a DC) Notes: This way won’t force a connection so it will allow both SSL & non-SSL connections. (Which is what I wanted) Make sure to edit the template before pushing out to the domain controllers to edit how long the certificate is valid for. Fails on…