How to find the physcial machine name a virtual machine is hosted on
By peter.stilgoe
To find the physical machine name hosting your VM do the following:
Start –> Run –> Regedt32
Then navigate to:
HKLM\Software\Microsoft\Virtual Machine\Guest\Parameters\PhysicalHostName
More From pstilgoe
K2 Blackpoint Blackpearl: Communication with the underlying transaction manager has failed
By peter.stilgoe
When deploying a new K2 Blackpoint or K2 Blackpearl you may get the following error:
(K2Project) SmartObject Server Exception: Could not publish SmartObject Definition to server: Error refreshing Service Instance ‘WorkflowReportingService’. Service returned : ‘Workflow Reporting SO Service: Communication with the underlying transaction manager has failed.
SmartObject: [Test - Process Instances]
If you do checking the following may help:
1) Specifically allow the Distributed Transaction Coordinator access through the Windows Firewall on the servers ‘allowed programs list’
2) The servers might have been cloned causing the MSDTC GUIDS to be duplicated. Remove and re-install the MSDTC components on the servers to fix this
3) Troubleshoot using DTCping & DTCtester (You need to make sure any firewalls allow the RPC port range through – http://support.microsoft.com/kb/154596)
4) In Component Services in Administrative Tools on your servers select the “No Authentication” option in the MSDTC configuration options.
More From pstilgoe
Sharepoint – How to setup a one way trust & required ports
By peter.stilgoe
1. Open Command Prompt.
2. Type: netdom trustTrustingDomainName/d:TrustedDomainName/add
TrustingDomainName – Specifies the DNS name (or NetBIOS name) of the trusting domain in the trust being created.
TrustedDomainName – Specifies the DNS name (or NetBIOS name) of the domain that will be trusted in the trust being created.
• To perform this procedure, you must be a member of the Domain Admins group or the Enterprise Admins group in Active Directory, or you must have been delegated the appropriate authority. As a security best practice, consider using Run as to perform this procedure. For more information, see Default local groups [http://technet2.microsoft.com/WindowsServer/en/library/f6e01e51-14ea-48f4-97fc-5288a9a4a9b11033.mspx], Default groups [http://technet2.microsoft.com/WindowsServer/en/library/1631acad-ef34-4f77-9c2e-94a62f8846cf1033.mspx], and Using Run as [http://technet2.microsoft.com/WindowsServer/en/library/8782f8ab-9538-4111-8a68-7bfd130c21c01033.mspx].
• To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.
• This command-line method requires the Netdom Windows support tool. For information about installing Windows support tools, see Related Topics.
• Other switches can be used to assign a password or determine the direction of the trust. For example, to make a two-way, transitive trust, you can use the following syntax:
netdom trustTrustingDomainName/d:TrustedDomainName/add/twoway
• To view the complete syntax for this command, at a command prompt, type:
netdom trust | more
One Way trust validation
Inbound
————–
LDAP 389 UDP and TCP
MS DS 445 TCP
DCE Endpoint resolution – portmapper 135TCP
Netlogon fixed port
Using object / people picker
Outgoing
—————
LDAP 389 UDP and TCP
LSA fixed port
Kerberos 88 UDP
DCE endpoint 135 TCP
Netlogon to external forest with NTLM
Outgoing
————
DCE endpoint 135 TCP
netlogon fixed port
Characteristics of different RAID configs
By peter.stilgoe
RAID 0 (Stripe set without parity)
•No Fault Tolerance
•Best read and write performance
•I/O per disk calculation: (reads + writes) / number of disks
RAID 1 (Mirrored Volume)
•Fault Tolerance: 1 Disk may fail
•Performance: Good read, Acceptable write
•I/O per disk calculation: [(Reads + (2 x Writes)] / 2
RAID 5 (Stripe set with parity)
•Fault Tolerance: One disk may fail
•Performance: Excellent read, fairly poor write
•I/O per disk calculation: [(Reads + (4 x Writes)] / Number of Disks
RAID 10 (Stripe of Mirrors)
•Fault Tolerance: Half of the disks may fail (but not both disks in any mirrored pair)
•Performance: Excellent read and write
•I/O per disk calculation: [(Reads + (2 x Writes)] / Number of Disks
RAMMap – How Windows manages memory, analyze application memory usage, how RAM is being allocated
By peter.stilgoe
Have you ever wondered exactly how Windows is assigning physical memory, how much file data is cached in RAM, or how much RAM is used by the kernel and device drivers? RAMMap makes answering those questions easy. RAMMap is an advanced physical memory usage analysis utility for Windows Vista and higher. It presents usage information in different ways on its several different tabs:
Use Counts: usage summary by type and paging list
Processes: process working set sizes
Priority Summary: prioritized standby list sizes
Physical Pages: per-page use for all physical memory
Physical Ranges: physical memory addresses
File Summary: file data in RAM by file
File Details: individual physical pages by file
Use RAMMap to gain understanding of the way Windows manages memory, to analyze application memory usage, or to answer specific questions about how RAM is being allocated. RAMMap’s refresh feature enables you to update the display and it includes support for saving and loading memory snapshots.
More From pstilgoe
ADFS – Federated Web SSO with Forest Trust Scenario and its Limitations
By peter.stilgoe
Hi, it’s Adam Conkle again. Today I’d like to talk about an ADFS case I had recently where the customer ran into some limitations with their Federated WebSSO with Forest Trust setup. They had their environment set up similar to what is described in Read Adams complete post here
More From pstilgoe
Bulk Uploading Files to Sharepoint – Illegal characters
By peter.stilgoe
Uploading bulk files into Sharepoint can be a nightmare when file names contain illegal / reserved characters. A useful utility called Name Munger can assist you in renaming all your files quickly & easily so that they are Sharepoint compliant.
Name Munger (pronounced “Name Munjer”) is a powerful, yet simple-to-use batch file renaming utility. Simply drag one or more files or folders onto the Name Munger icon and you can easily add text before or after the existing name, change one or more occurrences of part of the name or even remove some of the name. In a snap you can rename dozens or even hundreds of files.
Name Munger Features
Quickly rename one file or a thousand with a simple drag-n-drop!
Add to the beginning of file and folder names.
Add to the end of file and folder names.
Replace text anywhere in a file or folder name.
Remove text from anywhere in a file or folder name.
Strip any character or set of characters from file or folder names.
Strip leading and/or trailing spaces from a file or folder name.
Change file names to ALL UPPER CASE, all lower case, Title Caps, or Initial caps.
Add customizable numbers before, after or instead of file or folder names.
Renames items in nested folders or just those you select.
Preview your changes before applying them.
More From pstilgoe
Useful tool for analysing your files to be migrated to your document management system / moss
By peter.stilgoe
No more fumbling with My Computer or Windows Explorer, wishing you could print information about all your files. Karen’s Directory Printer can print the name of every file on a drive, along with the file’s size, date and time of last modification, and attributes (Read-Only, Hidden, System and Archive)! And now, the list of files can be sorted by name, size, date created, date last modified, or date of last access.
More From pstilgoe
Sharepoint MOSS 2007 Web Front End Server Event ID 6398 6482 7076
By peter.stilgoe
Article ID : 946517
Last Review : August 7, 2008
Revision : 4.0
SYMPTOMS
Consider the following scenario. You have a process that has more than one thread. Additionally, the process uses the Internet Information Services (IIS) Active Directory Service Interfaces (ADSI) provider to access IIS. Two threads access IIS at the same time. In this scenario, you may be unable to manage IIS by using Server Manager.
When this problem occurs, you must restart IIS, or you must restart the process that uses the IIS ADSI provider.
This problem is likely to occur for the SharePoint Timer service (OWSTimer.exe) in Microsoft Office SharePoint Server 2007. When this problem occurs for the SharePoint Timer service, you may experience the following symptoms:
• In SharePoint Server 2007, tasks that are scheduled do not run.
• On the SharePoint Web front-end server, you see repeated errors in the Application log in Event Viewer. These errors usually include one of the following three events:
• Event ID 6398
• Event ID 6482
• Event ID 7076
For example, you may see an error message that resembles the following:
Event Type: Error
Event Source: Windows SharePoint Services 3
Event Category: (964)
Event ID: 6398
Date: 11/7/2007
Time: 5:45:38
PM User: N/A
Computer: 44MOSSAGRUK
Description:
The Execute method of job definition Microsoft.Office.Server.Administration.ApplicationServerAdministrationServiceJob
(ID 02b5e3f2-21e3-4552-bf1d-6e152749458a) threw an exception. More information is included below.
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
• When you try to manage IIS by using Server Manager, you receive a blank page, or you receive the following error message:
the path specified cannot be used at this time
RESOLUTION
Hotfix information
A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.
If the hotfix is available for download, there is a “Hotfix download available” section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.
More From pstilgoe
How do I determine which version of IIS / ASP I’m running?
By peter.stilgoe
If you are running Windows Server 2003, you are running IIS 6.0 / ASP 3.0 (though some people like to call this ASP 4.0).
If you are running Windows XP, you are running IIS 5.1 / ASP 3.0.
If you are running Windows 2000, you are running IIS 5.0 / ASP 3.0.
More From pstilgoe
SBS 2003 SP2 Broadcom NIC’s & slow network !
By peter.stilgoe
Using the above & network performance is nothing short of shocking ?!? Broadcom TOE nics ? (all TOE enabled nics will prob need these edits)
It looks like that due to the fact that SP2 includes Scalable networking pack, the Checksum offloading stuff and Receive Side Scaling might be causing some issues and the symptoms you will see is slow file copies, problems accessing web sites and DHCP issues where your workstations won’t pick up an IP address, Secure NAT and VPN issues especially with Premium boxes. To disable this do the following:
To disable checksum offloading:
From the registry you can do:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Click Edit, point to New, and then click DWORD Value.
Type DisableTaskOffload as the entry name, and then press ENTER.
Right-click DisableTaskOffload, and then click Modify.
In the Value data box, type a value of 1 , and then click OK.
Disable RSS (Receive side scaling)
http://support.microsoft.com/kb/912222/en-us
1. Click Start, click Run, type regedit , and then click OK.
2. Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
3. On the Edit menu, point to New, click DWORD Value, and then type EnableRSS .
4. Double-click EnableRSS, type 0 , and then click OK.
More From pstilgoe
SBS 2003 SP2 Broadcom Event ID 1053 1054 RPC Errors !!
By peter.stilgoe
After four frustrating days I have finally managed solve the “SBS 2003 SP2 Broadcom Event ID 1053 1054 RPC Error” problem !
OK basically we bought a new Dell server with Broadcom Extreme II NIC’s & SBS 2003 premium. Went through the basic setup & install all pretty straightforward, join the domain OK, DNS all working OK etc etc.
Install ISA all still working OK, the I install SP2 for SBS2003 & now client cannot join the domain & exisiting members are not getting group policy updates applied, in the event log they are getting ID 1053 & 1054 RPC server unavailable, after days of troubleshooting it appears the problem lied with the SP2 update & the broadcom NIC’s.
If you are getting this problem its due to RSS (Receive Side Scaling) on the NIC which you need to disable in the registry:
Use the steps in KB 927695 to disable Receive Side Scaling (RSS) by adding a DWORD registry key value for
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip
\Parameters\EnableRSS
and setting it to 0.
(Like the KB article says, usual caveats about having a backup, etc apply before making any registry changes).
You will also need to edit the advanced properties of your NIC to disable the RSS at driver level.
Once you have done both of these, reboot your server & the “SBS 2003 SP2 Broadcom Event ID 1053 1054 RPC Error” problem will be solved ! (well it was in my case)
More From pstilgoe
Basic xcopy backup script
By peter.stilgoe
@ECHO OFF
@Echo Micross Backup – Please make sure all users are logged out
Pause
SET CMD_PATH=C:\WINDOWS\system32\cmd.exe
%CMD_PATH% /c “xcopy M:\DATA\micross\** f:\”\/c/h/d/i/e/k/r/y
@ECHO Finished backups.
@PAUSE
More From pstilgoe
Cannot open firewall on SBS 2003 ipnat.sys
By peter.stilgoe
By default, the firewall is disabled on SBS SP1 because the SBS uses the
Basic Firewall in RRAS to protect the LAN and the SBS itself. Also, since
SBS host many services, if you enable the Windows firewall on SBS, it will
result in many problems. When you enable the option, then a Windows
Firewall bounce box will occur which tell that you can not enable the
firewall.
If you are using SBS Premium, ISA server is used to protect the security
of your network.
More From pstilgoe
Windows could not start because the following file is missing or corrupt: \WINDOWS\SYSTEM32\CONFIG\SYSTEM
By peter.stilgoe
This error arises when the System registry hive is either deleted or corrupt. System registry hive contains configuration information necessary for the system to boot.
The first thing to try is to run chkdsk command from the Recovery Console and then reboot the system.
If chkdsk does not solve the problem, then the System file should be restored from backups. There are two places to look for the backups, one is the System Restore folder and the other is \Windows\Repair folder.
From the Recovery Console, navigate to the folder \System Volume Information of the root drive, using the command:
cd “C:\System Volume Information”
Here, locate and navigate to the folder whose name begins with _restore using the command:
cd _resto~1
This folder contains many subfolders which have names of the form RPxxx, where xxx is a number indicating the restore point. Locate an RPxxx folder which has the highest number as its suffix (highest xxx) using the command dir command. Then navigate into that folder using the command:
cd RPxxx (don’t forget to replace xxx with the corresponding number!)
Now, there will be a folder named snapshot. Navigate to this folder using the command:
cd snapshot
There should be a file named _REGISTRY_MACHINE_SYSTEM, copy this file to the \Windows\System32\Config folder with the name System using the command:
copy _REGISTRY_MACHINE_SYSTEM C:\Windows\System32\Config\System
Then reboot the system. This method works only when the System Restore feature of Windows XP is enabled.
While installing Windows, the setup backs up the System registry hive in Repair folder. If the System Restore feature is turned off, then this backup can be used to restore the System hive. From the Recovery Console, navigate to folder \Windows\Repair, using the command:
cd C:\Windows\Repair
and then copy the System file to its original location using the command:
copy System C:\Windows\System32\Config\System
and reboot the system.
The disadvantage of this method is that, since the backup is created during the installation of Windows, by restoring this backup all the system configuration and driver installations made after it will be lost.
Source: http://swatrant.blogspot.com/
More From pstilgoe
Planning a migration from Novell Netware to MS Windows Server 2003
By peter.stilgoe
If your planning a migration like me from Netware to Microsoft Windows Server 2003 then you will find this guide a very valuable resource!
NetWare to Windows Server 2003 Migration Planning Guide
This guide is intended for customers planning to migrate all or part of their Novell NetWare environment to the Windows Server 2003 operating system and Active Directory directory service. Using the utilities included in the Microsoft Windows Services for NetWare product, you can facilitate directory management and improve data availability by establishing directory interoperability. Best practices for planning and preparing for a migration are discussed and detailed step-by-step instructions for both staged and direct migrations are provided.
Included in This Document
• Overview of Migrating from NetWare to Windows Server 2003
• Using MSDSS to Support Migration
• IT Infrastructure Analysis
• Mail Systems
• Outline of Migration Steps
• Installing Novell Client for Windows on an Active Directory Domain Controller
• Installing MSDSS on an Active Directory Domain Controller
• Directly Migrating NetWare 3.x Accounts and Groups
• Directly Migrating NetWare 4.x, 5.x, or 6.x NDS
• Migrating NetWare 3.x Files to Active Directory
• Migrating NetWare 4.x, 5.x, or 6.x Files to Active Directory
• NetWare to Windows Server 2003 Migration Checklist
Download the guide @ NetWare to Windows Server 2003 Migration Planning Guide
More From pstilgoe
I am connected to the VPN but cannot access the Internet.
By peter.stilgoe
This occurs when “Use default gateway on remote network” in the TCP/IP settings is checked.
To check for this in Windows XP:
Click Start -> Control Panel
Click on the Network and Internet Connections icon and then click “Network Connections”. If your Control Panel is in classic view, simply double click the “Network Connections” icon.
Right click on the new VPN connection and select Properties
Select the “Networking” tab
Verify that Internet Protocol (TCP/IP) is highlighted
Click on the Properties button
Within the Internet Protocol (TCP/IP) properties window, click on the “Advanced…” button.
Within the Advanced TCP/IP Settings window, REMOVE the check mark next to Use default gateway on remote network
Click “OK” to close all open windows
However this is not recommended as it results in something known as ‘Split tunneling’ effectively this turns your VPN client into a bridge between the outside world & your internal network!
More From pstilgoe
Microsoft FileMon – monitors and displays file system activity on a system in real-time
By peter.stilgoe
FileMon monitors and displays file system activity on a system in real-time. Its advanced capabilities make it a powerful tool for exploring the way Windows works, seeing how applications use the files and DLLs, or tracking down problems in system or application file configurations. Filemon’s timestamping feature will show you precisely when every open, read, write or delete, happens, and its status column tells you the outcome. FileMon is so easy to use that you’ll be an expert within minutes. It begins monitoring when you start it, and its output window can be saved to a file for off-line viewing. It has full search capability, and if you find that you’re getting information overload, simply set up one or more filters.
FileMon works on NT 4.0, Windows 2000, Windows XP, Windows XP and Windows Server 2003 64-bit Edition, Windows 2003 Server, Windows 95, Windows 98 and Windows ME.
Installation and Use
Simply run FileMon (filemon.exe). You must have administrator privilege to run FileMon. When FileMon is started for the first time it will monitor all local hard drives. Menus, hot-keys, or toolbar buttons can be used to clear the window, select and deselect monitored volumes including network volumes (Windows NT/2K/XP), save the monitored data to a file, and to filter and search output.
If you’ve specified filters then FileMon will ask you to confirm filters used from the last session each time you start it. To start FileMon without it prompting you specify the /q switch on the command line. When FileMon starts it automatically captures file system activity. To start it with capture disabled use the /o switch on the command-line.
As events are printed to the output, they are tagged with a sequence number. If Filemon’s internal buffers are overflowed during extremely heavy activity, this will be reflected with gaps in the sequence number.
Each time you exit FileMon it remembers the filters you’ve configured, position of the window and the widths of the output columns.
Filemon information & download
More From pstilgoe
Setup has detected that unInstallShield is in use
By peter.stilgoe
This problem is caused by one of two things:
1) Verify that the user has administrator rights on the local PC.
2) Delete all versions on IsUninst.exe from the Windows directory and try running setup again. If it cannot be deleted because the file is in use, reboot the machine & try again.
More From pstilgoe
How to report on users & groups in Active Directory domains
By peter.stilgoe
NET USERS /DOMAIN >USERS.TXT
This command will return the user accounts from the Primary Domain Controller (PDC) of the current domain, and write them to a file called USER.TXT
NET ACCOUNTS /DOMAIN >ACCOUNTS.TXT
This command will return the account policy information from the PDC of the current domain, and write it to a file called ACCOUNTS.TXT
NET GROUP /DOMAIN >DGRP.TXT
This command will return the global groups on the PDC of the current domain, and write them to a file called GRP.TXT.
NET LOCALGROUP >LGRP.TXT
This command will return the local groups on the local machine, and write them to a file call LGRP.TXT.
NET VIEW /DOMAIN:DOMAINNAME >VIEW.TXT
This command will return the resources in the specified domain, and write them to a file called VIEW.TXT.
NET CONFIG SERVER >SERVER.TXT
This command will return the server name, version of Windows, active network adapter information/MAC address, Server hidden status, Maximum Logged On Users, Maximum open files per session, Idle session time, and assign it to a file called SERVER.TXT
NET CONFIG WORKSTATION >WKST.TXT
This command will return the workstation name, user name, version of Windows, network adapter, network adapter information/MAC address, Logon domain, COM Open Timeout, COM Send Count, COM Send Timout, and write it to a file called WKST.TXT.
There are also many free LDAP tools/browsers available for download which can export all your active directory data requirements to text files for reporting etc.



May 4th, 2011
