Networknet.nl Blog
Stay Connected
Stay Connected
Jan 31st
When installing Windows Server 2008 R2 out of the box the configuration does not support wireless networking. If drivers are available Windows will find them with plug and play installation but not enable the functionality. Since Windows 7 and Windows Server 2008 R2 supports booting from a VHD file from local disks I am now building a standard image which I will use for testing and development. The new VHD boot feature is amazing in helping IT professionals having multiple VHD files which they can boot from. Last night I needed to update my system with all latest patches and system settings therefore I needed to access the Internet without any wired connection.
Not connected. No Connections are available after checking my adapters.
Microsoft released new tool named DISM.exe (Deployment Image Servicing and Management tool) which ships with Windows 7 and Windows Server 2008 R2.
DISM enumerates, installs, uninstalls, configures, and updates features and packages in Windows images. The commands that are available depend on the image being serviced and whether the image is offline or running.
Open elevated command prompt and query all available features “dism /online /get-features /format:table”
WirelessNetworking is disabled. To enable this feature execute “dism /online /enable-feature:WirelessNetworking”
dism enables the WirelessNetworking feature and after I check my available wireless network connections the WIFI networks are not shows.
Jan 31st
The following PowerShell script recipe will help you delete a remote file based on a list of computers stored in a text file. New PowerShell function will be created during the session which will be piped from the text file.
Generate C:\Scripts\Active_Computers.txt with computer names.
[PowerShell]
function delete-remotefile {
PROCESS {
$file = "\\$_\c$\install.exe"
if (test-path $file)
{
echo "$_ install.exe exists"
Remove-Item $file -force
echo "$_ install.exe file deleted"
}
}
}
Get-Content C:\Scripts\Active_Computers.txt | delete-remotefile
[/PowerShell]
Jan 31st
The following PowerShell script recipe will help you check a remote file based on a list of computers stored in a text file. A new PowerShell function will be created during the session which will be piped from the text file.
In the following PowerShell example I will check if install.exe exists on the remote systems and echo the computername if the file is there.
Create new text file named C:\Scripts\Active_Computers.txt and populate the file with computer names.
[PowerShell]
function check-remotefile {
PROCESS {
$file = "\\$_\c$\install.exe"
if (test-path $file)
{
echo "$_ file install.exe exists"
}
}
}
Get-Content C:\Scripts\Active_Computers.txt | check-remotefile
[PowerShell]
Dec 31st
No new emails were delivered for my Networknet.nl domain. Second configured MX record received new emails for my personal email address. I logged on the Exchange 2007 server but at first glance I could not see any issues. I opened Internet Explorer and browsed to http://centralops.net/co/EmailDossier.aspx.
Email Dossier from Centralops.net Allows you to validate and investigate email addresses.
SMTP session
[Contacting mx1.networknet.nl ...]
[Connected]
220 w2k8.Networknet.nl Microsoft ESMTP MAIL Service ready at Wed, 30 Dec 2009 17:41:56 +0100
EHLO hexillion.com
250-w2k8.Networknet.nl Hello [70.84.211.98]
250-SIZE 10485760
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-AUTH
250-8BITMIME
250-BINARYMIME
250 CHUNKING
MAIL FROM:<HexValidEmail@hexillion.com>
452 4.3.1 Insufficient system resources
MAIL FROM:<>
452 4.3.1 Insufficient system resources
[Unfavorable reply code, cannot continue]
RSET
[Contacting mx2.networknet.nl ...]
[Connected]
Message 452 4.3.1 Insufficient system resources was shown during the SMTP session. I went back to the Exchange 2007 server and saw that I only had 700mb free on my C:\ volume. I opened Server Manager and checked Applications eventviewer and than I filtered for Error events. The result showed following error evenid 15006:
Log Name: Application
Source: MSExchangeTransport
Date: 12/30/2009 5:50:22 PM
Event ID: 15006
Task Category: ResourceManager
Level: Error
Keywords: Classic
User: N/A
Computer:w2k8
Description:
The Microsoft Exchange Transport service is rejecting message submissions because the available disk space has dropped below the configured threshold.
Resource utilization of the following resources exceed the normal level:
Queue database and disk space ("C:\Program Files\Microsoft\Exchange Server\TransportRoles\data\Queue\mail.que") = 97% [Medium] [Normal=94% Medium=96% High=98%]
Queue database logging disk space ("C:\Program Files\Microsoft\Exchange Server\TransportRoles\data\Queue\") = 97% [Medium] [Normal=94% Medium=96% High=98%]
No components were disabled because of back pressure.
The following resources are in the normal state:
Version buckets = 0 [Normal] [Normal=80 Medium=120 High=200]
Private bytes = 0% [Normal] [Normal=71% Medium=73% High=75%]
Physical memory load = 81% [limit is 94% before message dehydration occurs.]
So my free diskspace was low and the Microsoft Exchange Transport service stopped. I run the Windows Backup utility to backup my Exchange 2007 server and truncate the exchange log. This Exchange 2007 environment is hosted in a lab and no scheduled backup jobs are yet set. Something I should do quickly.
Dec 16th
The following script will help you to silently install the East Asian languages for Windows XP. This checkbox can be easy set during the winnt.sif installation or when the image is syspreped. What happens if you did not set this option and you need to change this on more than 500+ Windows XP clients.
When checking the “Regional and Language Options” in Control Panel the checkbox is not set.
Create file c:\temp\east_asian.txt
[RegionalSettings] LanguageGroup="7","8","9","10"
Create file c:\temp\east_asian.cmd
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ /v SourcePath /d \\server\share\windows_xp\ /f %windir%\System32\rundll32.exe shell32,Control_RunDLL intl.cpl,/s:\\server\share\windows_xp\i386",/f:"C:\temp\east_asian.txt
Make sure you have the Windows XP source files on the network as the installation will need them. In 5 minutes the East Asian language files were installed.