Rebelz – We have one of Europe’s widest ranges of BJJ & Grappling gear.

Windows 7

Since a few weeks back I’ve been running Windows 7 (build 7000) 64-bit on my laptop, a HP Compaq nw8440.  Everything is working great and I’m very pleased with Win 7! My feeling is that 7 is much faster and more stable than Vista.

The following applications are runnig smoothly on Windows 7 build 7000 64-bit:
Adobe Reader 9.1
Adobe Flash Player 10.0.22.87 ActiveX (Internet Explorer)
Adobe Flash Player 10.0.22.87 Plugin (Mozilla Firefox)
Apple iTunes 64-bit 8.2.0.23
Citrix XenCenter 5.0.0 build 13192
CutePDF Writer 2.7
FileZilla 3.2.4.1
HP Data Protector User Interface 6.0 (DPWIN_00386 & DPWIN_00402)
Java 6 Update 13
Microsoft Office Enterprise 2007 SP1 12.0.6215.1000
Microsoft Windows Live Messanger 2009 build 14.0.8064.206
Mozilla Firefox 3.0.10
Symantec AntiVirus Corporate Edition 64-bit 10.2.1.1000
VLC media player 0.9.9
Win RAR 64-bit 3.90 Beta 1

SharePoint crawl problem, event id 2436 & 10036 and HTTP 401

I had the following warning message in the Windows application log.
Source: Office Server Search
Catagory: Gatherer
EventID: 2436
Type: Warning
Description: The start address <https://intranet.company.com> cannot be crawled.
Context: Application ‘SharedServices’, Catalog ‘Portal_Content’Details: Access is denied. Check that the Default Content Access Account has access to this content, or add a crawl rule to crawl this content. (0x80041205)

This message appears every time a crawl starts. I also can’t access my SharePoint site using Internet Explorer 7 localy on my SharePoint server. The site uses integrated authentication and the FQDN is listed in the local intranet zone in IE 7. When I try to access my SharePoint site I get promted for username and password. I can’t logon with my username & password. After a few tries I get HTTP 401.

I’m running Windos Server 2003 R2 SP2 and Office SharePoint Server 2007.

I found this KB: support.microsoft.com/kb/896861
Method 1 didn’t solve the problem, but method 2 did. I can now access my SharePoint site localy from my SharePoint server. I then started i crawl and got this messages in the Windows application log:

Source: Office Server Search
Catagory: Gatherer
EventID: 2436
Type: Warning
The start address <https://intranet.company.com> cannot be crawled.
Context: Application ‘SharedServices’, Catalog ‘Portal_Content’
Details: Element not found. (0x8002802b)

Source: Office Server Search
Catagory: Gatherer
EventID: 10036
Type: Error
Details:  A database error occurred.
Source: Microsoft OLE DB Provider for SQL Server
Code: 1205 occurred 1 time(s)
Description: Transaction (Process ID 59) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
Context: Application ‘SharedServices’

After a quick search I found this hotfix: support.microsoft.com/default.aspx?scid=kb;EN-US;963022. I then noticed that I haden’t installed 2007 Microsoft Office Servers Service Pack 1 & Windows SharePoint Services 3.0 Service Pack 1. After installing SP1 the crawl started working again.

Install MSI packages as administrator

On Windows Vista you don’t see “Run as administrator” in the context menu when you right click on a MSI package.

1. Run regedit.exe as administrator.
2. Create the following key: HKEY_Classes_Root\Msi.Package\shell\RunAs. Add the following data to the default value: Install &as administrator
3. Create the following key: HKEY_Classes_Root\Msi.Package\shell\RunAs\command. Add the following data to the default value : msiexec /i “%1”
4. Right click on a MSI package and you should now see “Install as administrator”.

Configurate Windows 2008 Server Core

Here are som useful stuff when installing and configurate Windows 2008 Server Core.

Network
Show network interfaces
> netsh interface ipv4 show interfaces

Rename network interface
> netsh interface set interface name = <interface name> newname = <new interface name>

Change static IP-address
> netsh interface ipv4 set adress ”<interface name>” static 192.168.0.1 255.255.25.0 192.168.0.1

Change to DHCP
> netsh interface ipv4 set addresses name=”<interface name>” source=dhcp

Show IP-address
> netsh interface ipv4 show addresses

Add primery DNS server
> netsh interface ipv4 set dnsserver name=”<interface name>” source=static address=<primery dns servers ip-address>

Add secondary DNS server
> netsh interface ipv4 add dnsserver name=”<interface name>” address=<secondary dns servers ip-address>

Enable Remote Administration in firewall
> netsh advfirewall firewall set rule group=”Remote Administration” new enable=yes

Enable Windows Firewall Remote Administration in firewall
> netsh advfirewall firewall set rule group=”Windows Firewall Remote Management” new enable=yes

Disable firewall
> netsh firewall set opmode disable

Enable firewall
> netsh firewall set opmode enable

Show computername
> hostname

Change computername
> netdom renamecomputer <computer name> /newname:<new computer name>

Change name of a domain-joined server
> netdom renamecomputer %computername% /NewName:<new computer name> /userd:<domain\username> /password:*

Join a domain
> netdom join %computername% /domain:<domain> /userd:<username> /passwordd:*

Remove computer from domain
> netdom remove

Enable Remote Desktop. Only support Windows Vista/2008 clients
> Cscript %windir%\system32\SCRegEdit.wsf /ar 0

Enable Remote Desktop. Support Windows XP/2003/Vista/2008 clients
> Cscript %windir%\system32\SCRegEdit.wsf /ar 0
> Cscript %windir%\system32\SCRegEdit.wsf /cs 0

Users, Groups & seciruity
Add a user to the local Administrators group
> net localgroup Administrators /add <domain>\<username>

Remove a user from the local Administrators group
> net localgroup Administrators /delete <domain>\<username>

Change administrator password
> net user administrator *

Show security settings on a folder or file
> cacls <file or folder path>

KMS (
Key Management Service)
Install KMS
> slmgr -ipk <KMS key>

KMS activation
> slmgr -ato

Display KMS license information
> slmgr – dlv

Check for KMS in DNS
> nslookup -type=srv _vlmcs._tcp

Misc
Configure the paging file
>wmic pagefileset where name=”<path/filename>” set InitialSize=<initialsize>,MaximumSize=<maxsize>

Reboot server
> shutdown /r /t 0

Shutdown server
> shutdown /s /t 0

List event logs type
> wevtutil el

List running services
> sc query
> net start

Start a service
sc start <service name> or net start <service name>

Stop a service
> sc stop <service name>

> net stop <service name>

Stop/kill a process
> taskkill /PID <process ID>

Move file
> move “z:\Windows6.0-KB950050-x64.msu” “c:\Windows6.0-KB950050-x64.msu”

Copy file
> copy “z:\Windows6.0-KB950050-x64.msu” “c:\Windows6.0-KB950050-x64.msu”

Roles
Show server roles
> oclist

Install server roles
> ocsetup

example:
> start /w ocsetup Microsoft-Hyper-V

Hyper-V
Install virtual machine integrated components
Mount integrated components cd from action menu.
D:\support\amd64\setup.exe or D:\support\x86\setup.exe

Update Hyper-V
Download and copy Windows6.0-KB950050-x64.msu to your core server.
Example:
Download Windows6.0-KB950050-x64.msu to your fileserver.

From Core server:
> net use z: \\fileserver\share\
> Z:
> copy Windows6.0-KB950050-x64.msu c:\
> C:
> net use z: delete
> Windows6.0-KB950050-x64.msu

1 4 5 6