2009-11-06

Troubleshooting Software Distribution Using Custom Error Codes

Troubleshooting Software Distribution Using Custom Error Codes
http://technet.microsoft.com/en-us/library/bb735865.aspx

2009-09-20

Usering OpenID as login ID

1. My blogger OpenID:
brothertu.blogspot.com

2. To allow OpenID users to post comments on your blog (for blogger only):
http://www.google.com/support/blogger/bin/answer.py?hl=en&answer=83064
Go to Settings->Comments tab and select "Registered Users" or "Anyone" for the "Who Can Comment" option



Reference reading:

Blogger Becomes an OpenID Provider
http://googlesystem.blogspot.com/2008/01/blogger-becomes-openid-provider.html

Federated Login for Google Account Users
http://code.google.com/intl/zh-CN/apis/accounts/docs/OpenID.html


OpenID 登陆的代码,支持Google 、Yahoo 、Windows Live ID,带演示
http://wangblog.org/2009/05/openid-google-yahoo-windows-live-id.html


Windows Live ID当作OpenID使用
http://wangblog.org/2009/04/windows-live-idopenid.html

Google的OpenID
http://wangblog.org/2009/04/googleopenid.html

2009-09-06

RSOP.MSC error: 64 help string specified more than once

Problem:
Got following errors when ran rsop.msc on a XP machine:
1. The latest versions of the adm files below are not available

2. The following error occurred in c:\windows\inf\aer_1044.amd on line 189:
error 64 help string specified more than once
The file can not be loaded.

Resolution:
Actually that's a bug: 574387 - DTS: Installation of .NET Framework causes Multi Language
Administrative Templates to display in RSOP console, you can call Microsoft to check it..
Also, you can follow steps below to resolve your issue:

Since there is no country specific version of .Net Framework 2.0 it
install the adm files for all of the languages supported. In order to only see the
results for US English remove the following adm files.
Search for the files with .adm extension, you may get the result as below.
AER_1025.ADM
AER_1028.ADM
AER_1029.ADM
AER_1030.ADM
AER_1031.ADM
AER_1032.ADM
AER_1035.ADM
AER_1036.ADM
AER_1037.ADM
AER_1038.ADM
AER_1040.ADM
AER_1041.ADM
AER_1042.ADM
AER_1043.ADM
AER_1044.ADM
AER_1045.ADM
AER_1046.ADM
AER_1049.ADM
AER_1053.ADM
AER_1055.ADM
AER_2052.ADM
AER_2070.ADM
AER_3076.ADM
AER_3082.ADM
The only AER_*.adm that needs to be there is AER_1033.adm. The 1033 designation is
the US country code.
So only keep AER_1033.adm file and delete rest of the files, close and reopen
RSOP.


additional information:
Have a look at %windir%\debug\usermode\userenv.log for more info.
If there's not enough info. in that log, enable verbose logging by settingthe following registry value to 30002 (Hex).
HKLM\ Software\ Microsoft\ Windows NT\ CurrentVersion\ Winlogon\UserEnvDebugLevel

Reference reading:
http://www.experts-exchange.com/Software/Server_Software/File_Servers/Active_Directory/Q_23762177.html

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_22628560.html

2009-09-04

How can a VPN user get the group policy remotely

Problem:
When connecting office network from home via VPN, the user is not getting group policy applied on his home machine even it's a member of office domain.

Scenarios:

Remote VPN (PPTP, L2TP)
If the tunnel is not available at the time of logon the GP will not be applied. i.e. if it is a VPN connection that you are establishing after the remote user logs on to the PC then it is not possible to apply group policies, unless cached from a previous connection, on the LAN.

In order for the client to get the Group Policy, Winlogon has to get invoked for the logon request and this only happens with the "Logon with Dial-Up Networking". You must use windows VPN client in this case.

Site to site VPN:
If it is a site to site VPN connection there should be no problem, though certain policy settings need to be applied from group policy to enable slow link over VPN.

http://technet.microsoft.com/en-us/library/cc759191(WS.10).aspx

2009-09-03

Detecting Visual Studio 2008 Service Pack 1

Detecting Visual Studio 2008 Service Pack 1
http://blogs.msdn.com/heaths/archive/2009/05/29/detecting-visual-studio-2008-service-pack-1.aspx

Detecting Visual Studio 2005 Service Pack 1
http://blogs.msdn.com/heaths/archive/2006/12/17/detecting-visual-studio-2005-service-pack-1.aspx

windows user cannot access sql server problem

Problem:
We are running SQL Server 2005 on a Windows 2008 server and I have a situation where some of my users are unable to connect to the SQL Server unless they are a member of the sysadmin group.
Any attempts by these users to login result in a login failed,
Error: 18456, Severity: 14, State: 11
Which indicates that it is a valid user who does not have access to this SQL Server.

Solution 1:
Add user to local admin group, then use "run as administrator" to start SQL management studio. Use can access sql server database.

solution 2:
Enabling the TSQL TCP endpoint for the 'public' role fixed the problem.SQL management studio -> server properties-> permission->public->enable "connectSQL"

Reference reading
Users are unable to connect to SQL Server 2005 unless they are in the sysadmin group
http://social.msdn.microsoft.com/Forums/en-US/sqlsecurity/thread/309236fa-d86d-4294-a156-729e2c28b63f

Understanding "login failed" (Error 18456) error messages in SQL Server 2005
http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx

Troubleshooting: Login Failed for User 'x'
http://msdn.microsoft.com/en-us/library/ms366351.aspx

2009-09-02

windows DNS problem and troubleshooting

netdiag errors:
no dns servers have the dns records for this dc registered

failed to enumerate dcs by using the browser


cannot find a primary authoritative dns server

redir and browser test failed

netbt name test failed, at least one of your netbt names is not registered properly



10 DNS Errors That Will Kill Your Network
http://rcpmag.com/Articles/2004/05/01/10-DNS-Errors-That-Will-Kill-Your-Network.aspx?Page=1

DNS FAILURE
http://rcpmag.com/Articles/2004/05/01/10-DNS-Errors-That-Will-Kill-Your-Network.aspx?Page=2


http://www.chicagotech.net/dnstroubleshooting.htm#How to ensure that DNS is registering the Active Directory DNS records

netbt name test failed

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_24281337.html

Going to provide you with a few links about DNS also for you to check out.

http://www.petri.co.il/dns.htm
http://www.petri.co.il/how_to_install_active_directory_on_windows_2003.htm
http://www.microsoft.com/technet/network/support/trblshoot/dnstshot.mspx
http://support.microsoft.com/kb/291382

Some are just the basics, but regardless if those basics are not setup correctly there are going to be problems for sure.



http://www.tomshardware.com/forum/195864-46-cannot-find-primary-authoritative-server-single

http://www.experts-exchange.com/Networking/Windows_Networking/Q_21577682.html

2009-09-01

backupexec "server paused" problem

Problem:
When i was trying to do something like backup, inventoty, import etc, the job just pending there and the job status shows " server pause"at the device staus, everything looks o.k.

Solution:
To remove the "server paused" simply do the following:
1. Select "Devices" tab in Backup Exec
2. Right-click on the server name and select "Paused" to "un-pause" the server.
Everything should now be back to "normal".

2009-08-27

"Set Network Location" dialog issue in vista

by Steven Bink

http://bink.nu/news/disable-the-set-network-location-dialog-in-windows-vista.aspx

Problem:

In vista, the system presents the "Set Network Location" dialog requesting to categorize the newly connected network as one of the following:
• Private
• Work
• Public
"Public" is the only option that can be chosen without using administrative rights on the system.

When an admin does not want this dialog to pop when one of his mobile computers is connected to non-trusted network, there is no option in Group Policy to stop the dialog from occurring.

Solutions 1:

The user has the option to disable the dialog from the UI:
• Right Click the network icon in the system tray
• Click Turn off/on notification of new networks

Solutions 2:

This is not the ideal option for the average admin. So this can be arranged from the registry:
On a per user basis
Set the value "Show" (REG_DWORD) to 0 in
HKCU\Software\Microsoft\Windows NT\CurrentVersion\Network\NwCategoryWizard

At the system level
Create a new Registry key (without any value) NewNetworkWindowOff in HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff

reference reading:
Clean Up the Vista Networks
http://blogs.msdn.com/knom/archive/2007/03/27/clean-up-the-vista-networks.aspx

Network Location Types in Windows Vistaby The Cable Guy
http://technet.microsoft.com/en-au/library/bb878110.aspx

New Networking Features in Windows Server 2008 and Windows Vista
http://technet.microsoft.com/en-us/library/bb726965.aspx

Network Location Settings in Windows Vista

http://blogs.technet.com/mattmcspirit/archive/2007/04/19/network-location-settings-in-windows-vista.aspx

2009-08-24

MDT 2008 settings detail

http://myitforum.com/cs2/blogs/smslist/archive/2009/06/10/mssms-mdt-2008-keyboardlocale-and-inputlocale-do-not-get-applied-correctly-r877qrqw.aspx


http://osman-shener-en.blogspot.com/2008/10/mdt-properties.html

http://msdn.microsoft.com/en-us/library/aa738790.aspx
http://technet.microsoft.com/en-us/library/cc766503(WS.10).aspx

http://technet.microsoft.com/en-us/library/cc772783(WS.10).aspx

http://technet.microsoft.com/en-us/library/cc772783(WS.10).aspx

http://ronni-pedersen.spaces.live.com/blog/cns!CF8D2BCE64196A5D!542.entry


http://social.technet.microsoft.com/Forums/en-US/configmgrosd/thread/9af61b5c-6407-44b9-87c4-a4044a94729c


http://blogs.ethz.ch/jlaville/2008/03/24/vista-and-windows-2008-deployment-with-wds-waik-and-mdt-litetouch-part-iv/


http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032382718&EventCategory=3&culture=en-US&CountryCode=US

Deploying Vista -Mitch Tulloch series

Deploying Vista
Mitch Tulloch
Part 1-31

Deploying Vista - Part 1: Understanding the Windows AIK
Deploying Vista - Part 2: Understanding Windows Setup and the Windows Imaging File Format
Deploying Vista - Part 3: Understanding Configuration Passes
Deploying Vista - Part 4: Understanding Deployment Scenarios
Deploying Vista - Part 5: Using Sysprep
Deploying Vista - Part 6: Using Windows SIM
Deploying Vista - Part 7: Creating a Minimal Answer File
Deploying Vista - Part 8: Unattended Install from DVD Method
Deploying Vista - Part 9: Automating the Machine OOBE
Deploying Vista - Part 10: Understanding the Windows Preinstallation Environment
Deploying Vista - Part 11: Working with Windows PE
Deploying Vista - Part 12: Understanding Image-Based Deployment
Deploying Vista - Part 13: Performing Image-Based Deployment
Deploying Vista - Part 14: Understanding Windows Deployment Services
Deploying Vista - Part 15: Implementing Windows Deployment Services
Deploying Vista - Part 16: Configuring Windows Deployment Services
Deploying Vista - Part 17: Working With the Windows DS Image Store
Deploying Vista - Part 18: Managing Windows Deployment Services
Deploying Vista - Part 19: Managing Windows Deployment Services (Continued)
Deploying Vista - Part 20: Working With Discover Images
Deploying Vista - Part 21: Working With Capture Images
Deploying Vista - Part 22: Deploying Images using Windows Deployment Services
Deploying Vista - Part 23: Unattended Image Deployment Using Windows Deployment Services
Deploying Vista - Part 24: Understanding Microsoft Deployment Toolkit
Deploying Vista - Part 25: Preparing Microsoft Deployment Toolkit for Deploying Vista
Deploying Vista - Part 26: Deploying Vista Using Microsoft Deployment Toolkit
Deploying Vista - Part 27: Automating a Light Touch Installation
Deploying Vista - Part 28: Configuring Distribution Shares
Deploying Vista - Part 29: Configuring Distribution Shares (Continued)
Deploying Vista - Part 30: Configuring Deployment Points
Deploying Vista - Part 31: Configuring Task Sequences

70-635 MCTS Microsoft Deployment Toolkit 2008, Desktop Deployment

70-635 MCTS Microsoft Deployment Toolkit 2008, Desktop Deployment
http://www.myitforum.com/myITWiki/70-635.ashx

Deploy Visual Studio 2008 via AD and GPO

Enterprise Deployment for Visual Studio 2008 using Active Directory http://blogs.msdn.com/joy/archive/2008/12/10/the-following-script-can-be-used-for-visual-studio-2008-deployment.aspx

Deploy Visual Studio 2008 Professional 9.x package
http://www.appdeploy.com/packages/detail.asp?id=1410

Microsoft Visual Studio 2008Administrator Deployment Readme
http://download.microsoft.com/download/4/9/0/490EADD1-19C0-47F9-9748-E901C926F925/adminreadme2008.htm

MS forum support for VS2008:

http://social.msdn.microsoft.com/forums/en-US/category/visualstudio/

VS2008 sp1 readme

http://go.microsoft.com/fwlink/?LinkID=119522

VS 2008 Service Pack 1 - Docs and Installation

http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2008/05/18/10418.aspx

VS2008 SP1 Beta fails to add "new item - ADO.NET Entity Data Model" Item Template

http://social.msdn.microsoft.com/forums/en-US/vs2008sp1beta/thread/de81a1f4-a31f-428a-bbd2-a286cdffb29a/


http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_21089219.html

How can I change the font in a chm file

Answer 1
You can decompile, modify, and recompile HTML Help (.chm) files with
Microsoft's HTML Help Workshop, which is available from here:
http://msdn.microsoft.com/library/en...pDownloads.asp

The decompilation process does not usually give you the project (.hhp)
file, which is needed in order to recompile the help file. Of the
available decompilers, the only one that is capable of regenerating the
..hhp file is KeyTools, available from here:

http://www.keyworks.net/keytools.htm

But... one important thing to note is that the decompile/recompile
process isn't a "round-trip" process. Certain features that the help
author added to the original help file can't be recovered when you
decompile it, so these may no longer work after you've recompiled. This
is especially true in the area of context-sensitive (F1) help, which
may be broken in the recompiled version of the file.

HTML Help files are inextricably bound up with IE because they use IE
as their "layout engine"; in effect, the topic pane of the help viewer
is an embedded IE window. However, if you modify the cascading style
sheets (.css) to which the help topics are linked so that they use
absolute rather than relative values, changes to the IE font settings
won't affect the display of help content. For example, you might
specify the style properties for

elements like this:

p { font-size: 10pt; }

rather than like this:

p { font-size: 90%; } or p { font-size: medium; }

When you decompile a HTML Help file, you'll usually find one or more
..css files among the output.

For what it's worth, I think that the amount of time and effort
required to modify more than a couple of help files greatly outweighs
any benefit you might derive from doing so. In other words, it's
something that you might try once and then give up on...


Answer 2
The chm font is changeable. It all depends on how the fonts are specified in the stylesheet of
the chm file. If you use fixed sizes in pix or mm (and you shouldn't), then
yes, the size can't be changed by the user. But if you specify it as
''size:small;" and everything else as relative, then it's changeable. Just
like any website.

Also, when you create your chm file, the chm compiler has a setting to add a
font size button on the menu. See for instance this file I created long ago:
http://www.gdargaud.net/Zips/Css.chm

Add font button to chm file:
Method 1
Just to add that, although Microsoft's HTML Help documentation and Help Workshop tool don't make any mention of it, it is possible to add a Font button to the toolbar of the HTML Help viewer. However, the technique requires you to edit the window settings in your HTML Help project (.hhp) file in a text editor, so I don't suppose that it will fit in very well with your H&M workflow.

See this article for details:

http://frogleg.mvps.org/helptechnologies/htmlhelp/hhtips.html#addfontbtnchm

Method 2
Alternatively, you can open the .hhp file in FAR and add the button there.

Reference reading:
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.helpauthoring&tid=98fb48f7-df3a-49b5-9695-fe02cc98c6b9&cat=en_US_40611250-1604-443c-8787-ea86cc64ae4e&lang=en&cr=US&sloc=&p=1

http://helpman.it-authoring.com/viewtopic.php?t=7841&highlight=&sid=18cf2089d07798e12186fd448bcffcc6

2009-08-19

Allow users to log on to domain controller remotely

Scenario:
A windows 2003 server has recently been upgraded to domain controller.User used to be able to RDC to it now failed with error:
"To log on to this remote computer,you must be granted the allow log on trhough terminal services right.By default, members of the remote desktop users group have this right. If you are not a member of the remote desktop users group that has this right, or if the remote desktop users group does not have this right, you must be granted this right manually."

To troubleshoot this issue:
1. make sure Remote desktop is enabled on the server
2. make sure Remoet desktop users group has right to log on through terminal services.start > run > gpedit.msc > computer config > windows settings > local policies > user rights assign > allow log on through terminal services > make sure Remote Desktop users group is listed .
3. Make sure you have configured permissions for the remote desktop user group in the terminal services configuration (right click RDP-tcp, properties > permissions > add user access to the group)

The reason that caused this issue is quite simple:
By default, only Administrators are allowed log on to the DC. If you wish to allow other users to log on to this DC with TS, you will need to change the security settings in GP after AD has been installed.
When you promote A Windows 2003 server to Domain Controller, you may receive this message: “Terminal Services is installed in this computer. Installing AD on this PC will change security policy on this PC so that only Administrators will be able to log on to the PC... If you wish to allow other users to log on to this PC with TS, you will need to changethe security settings in GP after AD has been installed”

For this kind of issue, basicall you want to try one or more of the following settings:
1. Assign the user to The Allow log on through Terminal Services right using local policy (gpedit.msc).
2. Assign permission to use TS Configuration. Go to that, select the properties of RDP-Tcp.
3. The Allow logon to terminal server check box under user properties.
4. Assign the user to Access this computer from network.
5. Assign the user to Allow log on locally.

Reference reading:http://www.chicagotech.net/RemoteAccess/ts15.htm

2009-08-18

Access Denied error when trying to open a folder in Vista

Many folders used by earlier versions of Windows have been moved to a new location or given a new name in Windows Vista. However, the old folders can still be seen if you have enabled Show Hidden Files, and they look like this: Notice they are displayed with a transparent icon and a shortcut symbol.
Although these look like folders, they are actually what is known as a junction. Junctions behave like shortcuts, but look just like regular folders.
Their purpose is to silently redirect programs that access them to their Windows Vista equivalent.
Since junctions aren't really folders, it is not possible to access them, and any attempt to do so will give you an "Access Denied" error.
Here is a list of all of the folders that have been moved in Windows Vista, along with their new location:

2009-08-17

The computer must be trusted for delegation and the current user account must be configured to allow delegation

Problem:
When running a SQL application you got error:
The requested operation cannot be completed. The computer must be trusted for delegation and the current user account must be configured to allow delegation. System.Security.Cryptography.CryptographicException: The requested operation cannot be completed. The computer must be trusted for delegation and the current user account must be configured to allow delegation.

Solution:
In the Active Directory Users and Computers snap-in, enable the SQL Server service account to be trusted for delegation.
http://technet2.microsoft.com/WindowsServer/en/library/bef202b0-c8e9-4999-9af7-f56b991a4fd41033.mspx?mfr=true



Reference reading:
How do I configure accounts so that they are trusted for delegation in a Windows Server 2003 Enterprise Edition environment?
http://windowsitpro.com/article/articleid/79498/jsi-tip-7359-how-do-i-configure-accounts-so-that-they-are-trusted-for-delegation-in-a-windows-server-2003-enterprise-edition-environment.html

2009-08-12

Some Nokia E65 resources

Nokia E65 manual:
http://www.gadgetsmanual.com/nokia-e65-user-guide-pdf.html

How to check Nokia E65 firmware:
type: *#0000#
It will show the firmware information:
2.0633.65.01
03-10-07
RM-208

How to reset E65 to factory setting
http://discussions.europe.nokia.com/discussions/board/message?message.uid=378406#

type *#7370#
You will be prompted: Reset all original phone settings?
press "Yes"
then it will ask for lock code, type: 12345
this will reset to factory settings.

How to fix cannot open gallery Problem?
my nokia e65 phone got very slow it takes couple of min to open the gallery files and other files too, in top of the phone there is one icon is always present like arrow, wen we send mssg it appears,n it indicate us, same like that, i formated my cell using *#7370#but is still slow

Solution:
check if your memory card that u have inserted is of how many GB, if more than 1GB reduce it to 1GB, sometiimes phones cannot take up so much high memory.

Tools and Utilities for ConfigMgr 2007

http://www.myitforum.com/myitwiki/SCCMTools.ashx

SCCM Client Center
http://sourceforge.net/projects/smsclictr/files/

2009-08-05

Exchange/outlook message: Delivery to the following recipients has been delayed.

1. MS KB,the Remote Simple Mail Transfer Protocol Service Rejected AUTH Negotiation
http://support.microsoft.com/kb/329636

2. Ensure Exchange SMTP virtual server is configured properly
Open your Exchange System Manager Console
Go to Administrative Group ==> Domain ==> Servers ==> Server ==> Protocol ==> SMTP
Right click on "Default SMTP Virtual Server"
STOP service
wait for couple of seconds
START service

3.Ensure local DNS is configured properly
It can be that the exchange server could not find any DNS servers.
Please edit the SMTP protocol in delivery - advanced - configure external DNS servers with your dns server of the ISP.
If after this all the messages should get out, then the problem is with your local dns server.

3.Test target mail server
Usually, this indicates a problem on their end. Perhaps the mailbox is full or their mail server is down. However, if you are able to send mail to those addresses from other accounts (Hotmail, Yahoo, etc.), but not your Exchange server account, then there could be other issues.
I am assuming that your mail server is Microsoft Exchange.

Common causes include:
- The recipient's mailbox is full. Usually, though, you would get a different error message.
- The address is invalid.
- Your mail server is on a blacklist. This can happen if you have an open relay, or if you are using dial-up (many sites block mail coming directly from known dial-up IP addresses). There are other ways to be added to public blacklists.
- Their mail server is on a blacklist. Exchange does not include the feature to check against blacklists, but there are third-party add-ons which can do this, such as antivirus and antispam software.
- A firewall is blocking access to their mail server. This could be your firewall or theirs.
- There are other routing problems between your server and their server.
Try the following.
- Open a command prompt.
- Type "NSLOOKUP" and press enter.
- Type "SET TYPE=MX" and press enter.
- Type in the domain name of the address that is giving you problems. For instance, if you are trying to send to BillGates@microsoft.com, you would type "microsoft.com" and press enter.
- A list should appear. This is a list of the mail servers (DNS MX records) that are assigned to that computer.
- Look for the server name with the lowest preference number. If they are all the same preference, just use one. In our example, it is maila.microsoft.com.
- Type "exit" and press enter to quit NSLOOKUP.
- Try to ping the address.
- If successful, try to connect to the mail server manually:
- Type "telnet maila.microsoft.com 25" and press enter, substituting the appropriate server name.
- You should see a server banner message (see example).
<<<>>>
- Type "HELO" and press enter (you might not see what you type. This is normal).
- Type "mail from:" substituting your address and press enter.
- Type "rcpt to:" substituting their address
- Type "data" and press enter.
- Type "Subject: Test message" and press enter TWICE.
- Type a short message. When you are done, press enter, type a period, and press enter again to end the message.
- Type "quit" and press enter to exit.
NOTE: If everything works, then the message will be sent to the address.Keep an eye out for any error messages during this process.Your session should look like the following:

---------------------------------
C:\>nslookup
Default Server: somednsserver.whatever.zzz
Address: 192.168.0.5> set type=mx
>microsoft.com
>Server: somednsserver.whatever.zzz
Address: 192.168.0.5microsoft.com MX preference = 10, mail exchanger = maila.microsoft.com
microsoft.com MX preference = 10, mail exchanger = mailb.microsoft.com
microsoft.com MX preference = 10, mail exchanger = mailc.microsoft.com
maila.microsoft.com internet address = 131.107.3.125
maila.microsoft.com internet address = 131.107.3.124
mailb.microsoft.com internet address = 131.107.3.122
mailb.microsoft.com internet address = 131.107.3.123
mailc.microsoft.com internet address = 131.107.3.121
mailc.microsoft.com internet address = 131.107.3.126

>exit

C:\>ping maila.microsoft.com
Pinging maila.microsoft.com [131.107.3.125] with 32 bytes of data:
Reply from 131.107.3.125: bytes=32 time=91ms TTL=50
Reply from 131.107.3.125: bytes=32 time=87ms TTL=50
Reply from 131.107.3.125: bytes=32 time=88ms TTL=50
Reply from 131.107.3.125: bytes=32 time=87ms TTL=50
Ping statistics for 131.107.3.125:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 87ms, Maximum = 91ms, Average = 88ms
C:\>telnet maila.microsoft.com 25
220 inet-imc-01.redmond.corp.microsoft.com Microsoft.com ESMTP Server Tue, 18 May 2004 14:57:17 -0700helo
250 nasmail02.psi.premier-system.com Hello [192.168.0.24]
mail from:testing@bogus.zzz
250 2.1.0 testing@bogus.zzz....Sender OK
rcpt to:billgates@microsoft.com
250 2.1.5 billgates@microsoft.com
Data
354 Start mail input; end with .
Subject: Test messageThis is a test.250 2.6.0 Queued
mail for delivery
quit
221 2.0.0 maila.microsoft.com Service closing transmission channel
Connection to host lost.
C:\>
---------------------------------


http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_23890828.html

mx record check tool

mx record check tools
http://mxtoolbox.com/index.aspx
MXlookup
diagnostics
blacklists

ABOUT MX LOOKUP
This test will list MX records for a domain in priority order. The MX lookup is done directly against the domain's authoritative name server, so changes to MX Records should show up instantly. You can click Diagnostics, which will connect to the mail server, verify reverse DNS records, perform a simple Open Relay check and measure response time performance. You may also check each MX record (IP Address) against 147 DNS based blacklists. (Commonly called RBLs, DNSBLs)

2009-08-04

tools to simulate slow network bandwidth

try Traffic Shaper XP you can easily limit speed of IE or other browser with this App and its also freeware
Traffic Shaper XPhttp://bandwidthcontroller.com/trafficShaperXp.html
If you do not mind configuring a Linux box I have found NIST Net (http://snad.ncsl.nist.gov/itg/nistnet/) to be a great free solution to my network emulation requirements.
My work uses this tool, and it seems quite good: http://www.dallaway.com/sloppy/
Best of luck.
TMnetSim Network Simulator version 2.4 32-bit (600KB)PC Platform software to simulate a bad WAN on a PC. Newer version than in ToolCrib, also does Packet Capture.http://www.tmurgent.com/download/TMnetsim32_02040000.zip
http://www.linuxfoundation.org/en/Net:NetemOn Linux, see netem: the kernel already contains support for traffic shaping, and can simulate high latency, low bandwidth, packet losses, and all sort of other adverse conditions, even on a loopback device (so you don't need a real, physical network to test across).

2009-08-03

the OSI model wiki

(wiki)
The OSI Model

7. Application Layer
NNTP · SIP · SSI · DNS · FTP · Gopher ·
HTTP · NFS · NTP · SMPP · SMTP ·
SNMP · Telnet (more)

6. Presentation Layer
MIME · XDR · SSL · TLS

5. Session Layer
Named Pipes · NetBIOS · SAP

4. Transport Layer
TCP · UDP · PPTP · L2TP · SCTP

3. Network Layer
IP · ICMP · IPsec · IGMP

2. Data Link Layer
ARP · CSLIP · SLIP · Frame Relay
· ITU-T G.hn DLL

1. Physical Layer
RS-232 · V.35 · V.34 · I.430 · I.431 ·
T1 · E1 · 802.3 Ethernet
· 10BASE-T · 100BASE-TX
· POTS · SONET · DSL
· 802.11a/b/g/n PHY · ITU-T G.hn PHY

iPhone battery tips

Charging Tips
iPhone 3G and iPhone 3GS cannot be charged with a FireWire power adapter or FireWire-based car charger. Make sure your computer is on while charging iPhone via USB. If iPhone is connected to a computer that’s turned off or is in sleep or standby mode, the iPhone battery may drain.
Maximum Battery Life
iPhone 3GS offers up to 5 hours of talk time on 3G, 12 hours of talk time on 2G, 5 hours of Internet use on 3G, 9 hours of Internet use on Wi-Fi, 10 hours of video playback, or 30 hours of audio playback on a full charge at original capacity. In addition, iPhone features up to 300 hours of standby time.
Charge Cycles
A properly maintained iPhone battery is designed to retain up to 80% of its original capacity at 400 full charge and discharge cycles. You may choose to replace your battery when it no longer holds sufficient charge to meet your needs.
Let It Breathe
Charging your iPhone while in certain carrying cases may generate excess heat, which can affect battery capacity. If you notice that your iPhone gets hot when you charge it, take it out of its case first.
Optimize Your Settings
Depending on how they are configured, a few features may decrease your iPhone battery life. For example, the frequency with which you retrieve email and the number of email accounts you auto-check can both affect battery life. The tips below apply to an iPhone running iPhone 3.0 or later software and may help extend your battery life.
§ Minimize use of location services: Applications that actively use location services such as Maps may reduce battery life. To disable location services, go to Settings > General > Location Services or use location services only when needed.
§ Turn off push notifications: Some applications from the App Store use the Apple Push Notification Service to alert you of new data. Those applications that extensively rely on push notifications (such as instant messaging applications) may impact battery life. To disable push notifications, go to Settings > Notifications and set Notifications to Off. Note that this does not prevent new data from being received when the application is opened. Also, the Notifications setting will not be visible if you do not have any applications installed that support push notifications.
§ Fetch new data less frequently: Applications such as Mail can be set to fetch data wirelessly at specific intervals. The more frequently email or other data is fetched, the quicker your battery may drain. To fetch new data manually, from the Home screen choose Settings > Mail, Contacts, Calendars > Fetch New Data and tap Manually. To increase the fetch interval, go to Settings > Mail, Contacts, Calendars > Fetch New Data and tap Hourly. Note that this is a global setting and applies to all applications that do not support push services.
§ Turn off push mail: If you have a push mail account such as Yahoo!, MobileMe or Microsoft Exchange, turn off push when you don’t need it. Go to Settings > Mail, Contacts, Calendars > Fetch New Data and set Push to Off. Messages sent to your push email accounts will now be received on your phone based on the global Fetch setting rather than as they arrive. If the global Fetch setting is set to Manually, you will not be able to locate your iPhone using the MobileMe Find My iPhone feature.
§ Auto-check fewer email accounts: You can save power by checking fewer email accounts. This can be accomplished by turning off an email account or by deleting it. To turn off an account, go to Settings > Mail, Contacts, Calendars, choose an email account, and set Account to Off. To remove an account, go to Settings > Mail, Contacts, Calendars, choose an email account, and tap Delete Account.
§ Minimize use of third-party applications: Excessive use of applications such as games that prevent the screen from dimming or shutting off or applications that use location services can reduce battery life.
§ Turn off Wi-Fi: If you rarely use Wi-Fi, you can turn it off to save power. Go to Settings > Wi-Fi and set Wi-Fi to Off. Note that if you frequently use your iPhone to browse the web, battery life may be improved by using Wi-Fi instead of cellular data networks.
§ Turn off Bluetooth: If you rarely use a Bluetooth headset or car kit, you can turn off Bluetooth to save power. Go to Settings > General > Bluetooth and set Bluetooth to Off.
§ Use Airplane Mode in low- or no-coverage areas: Because your iPhone always tries to maintain a connection with the cellular network, it may use more power in low- or no-coverage areas. Turning on Airplane Mode can increase battery life in these situations; however, you will be unable to make or receive calls. To turn on Airplane Mode, go to Settings and set Airplane Mode to On.
§ Adjust brightness: Dimming the screen is another way to extend battery life. Go to Settings > Brightness and drag the slider to the left to lower the default screen brightness. In addition, turning on Auto-Brightness allows the screen to adjust its brightness based on current lighting conditions. Go to Settings > Brightness and set Auto-Brightness to On.
§ Turn off EQ: Applying an equalizer setting to song playback on your iPhone can decrease battery life. To turn EQ off, go to Settings > iPod > EQ and tap Off. Note that if you’ve added EQ to songs directly in iTunes, you’ll need to set EQ on iPhone to Flat in order to have the same effect as Off because iPhone keeps your iTunes settings intact. Go to Settings > iPod > EQ and tap Flat.
§ Turn off 3G: Using 3G cellular networks loads data faster, but may also decrease battery life, especially in areas with limited 3G coverage. To disable 3G, from the Home screen choose Settings > General > Network and set Enable 3G to Off. You will still be able to make and receive calls and access cellular data networks via EDGE or GPRS where available.
Lock Your iPhone
It may seem obvious, but you should lock your iPhone when you aren’t using it. You will be able to receive calls and text messages while it is locked, but nothing happens if you touch the screen. To lock iPhone, press the Sleep/Wake button. You can also set the Auto-Lock interval so your iPhone will turn off more quickly after a period of inactivity. To set Auto-Lock, go to Settings > General > Auto-Lock and set the interval to a short time, such as 1 minute.
Use iPhone Regularly
For proper maintenance of a lithium-based battery, it’s important to keep the electrons in it moving occasionally. Be sure to go through at least one charge cycle per month (charging the battery to 100% and then completely running it down).

2009-08-02

Synchronize your iPhone contacts with Google contacts

Synchronize your contacts with Google contacts on your iPhone 3G
http://www.google.com/mobile/products/sync.html#p=apple

Basically you have two major tasks to get this done:

Task 1. Upload contacts to Google contacts from iPhone
Google Sync uses the Microsoft® Exchange ActiveSync® protocol.
When setting up a new Exchange ActiveSync account on your iPhone, all existing Contacts and Calendar events will be removed from your phone.
Please make sure to back up any important data before you set up Google Sync.

It is suggested to upload your existing iPhone contacts to Google first.

Check this for step by step guide.
http://www.google.com/support/mobile/bin/answer.py?answer=138744&topic=14252

Task 2. Setup Google sync on your iPhone
http://www.google.com/support/mobile/bin/answer.py?answer=138740

Tethering iphone

Poedgirl has made some carrier files that you can import into your iPhone and enable tethering and MMS without paying their exorbitant fees.

http://blog.poedsoft.com/2009/06/iphone-tethering/


1. To install them on your iPhone, open up Mobile Safari and navigate to the URL that corresponds with your carrier:

http://blog.poedsoft.com/3.mobileconfig

http://blog.poedsoft.com/optus.mobileconfig

http://blog.poedsoft.com/telstra.mobileconfig

http://blog.poedsoft.com/vodafone.mobileconfig

2.Restart iPhone
3. Got iPhone's settings->general->network->internet tethering-> enable it

More reading:

http://www.gizmodo.com.au/2009/06/aussie-iphone-tethering-guide-%E2%80%93%C2%A0all-carriers/

http://thekrzi.net/wordpress/?p=177

2009-07-12

Forward different port to internal service on SonicalWall firewall

Scenario:
You want to use other ports other than 3389 for remote desktop.
The plan is to use wan ip xx.xx.xxx.xxx:4000-xxxx for the other remote desktop users.

Solution one:
You could just forward 4000-xxxx to the windows servers and change the listening port for RDP: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp
Edit PortNumber, change it to decimal and specify the new port number.
Reboot the server

Solution two:
1. Create an Address Object allowing a WAN IP to access the Firewall.
a. Network > Address Object > Click Add button.
b. Name: WAN IP Access
c:Zone Assignment: Host
d. Type : Wan
e. IP Address: Whatever your External IP Address is.
f. Click OK
What you’ve done here is create a way for you to access this firewall from outside the network.

2. Next, create your custom port.
a. Go to Firewall > Services, put a bullet for Custom Services this will make it easier to see.
b. Scroll down to the Services area and click on the Add button.
c. From here is where you:
i. Name the port that you are opening and assign what port to be open.
ii. Protocol: for Remote Desktop is TCP (6)
iii. Port Range: For me I wanted my Remote Desktop users to start Using 9000. So the port Range is 9000-9000.
iv. And Sub Type I left alone. Then click OK .

3. To keep things organized we added Services to a Services Group
a. Click Add Group ex. Remote Desktop; for us since we had more than Remote Desktop users we called it External Ports.
b. Then select your newly created Service from the left column and put it on the right by highlighting and then using the arrow button.
c. Then click OK

4. Next we went to Network > Address Object; place a bullet in Custom Address Objects.
a. Click the Add Button
b. Name: Username PC
c. Zone Assignment: LAN
d. Type: Host
e. IP Address: Enter local IP address of computer or machine ex. 192.168.1.100
f. Click OK

5. Now, below Address Objects select NAT Policies ; place a bullet in Custom Policies.
This is what binds the Outside IP address to the local IP address using your custom port.
a. Original Source: Any (any request from the outside coming to the firewall)
b. Translated: Original (keep the request the same, say if you want to enter through port 3389)
c. Original Destination: Public IP Address (WAN IP/ External IP)
d. Translates: Username PC (Custom Address Objects)
e. Original Service: created Port 9000
f. Translated: Remotes Desktop
g. Interface Inbound: Any
h. Interface Outbound: Any
i. Click ok.

Reference reading:
http://www.sonicwall.com/downloads/C...Forwarding.pdf , Standard is pages 2 to the top of 3.
Above steps enhanced which started on page 3-7.

2009-07-09

Remote Server Administration Tools for Vista

Remote Server Administration Tools (RSAT) for Windows Vista allows administrators to use their Vista machines to manage their Windows 2000, Windows Server 2003, and Windows Server 2008 infrastructure.

1. Downloads:
Microsoft Remote Server Administration Tools for Windows Vista for x86-based Systems
http://www.microsoft.com/downloads/details.aspx?FamilyID=9ff6e897-23ce-4a36-b7fc-d52065de9960&DisplayLang=en

Microsoft Remote Server Administration Tools for Windows Vista for x64-based Systems
http://www.microsoft.com/downloads/details.aspx?FamilyID=d647a60b-63fd-4ac5-9243-bd3c497d2bc5&DisplayLang=en


2. Installation and configuration:
After you install this, open Control Panel -> "start Programs and Features"->"Turn Windows Features on or off" -> scroll down to the Remote Server Administration Tools ->turn on the the features you needed, or just simplely turn on all features.

3. To fix missing tab issue of "AD users and computers":
Specifically, in Active Directory Users and Computers (DSA.MSC) when you looked at the properties of a user, you do not see:

Terminal Services Profile
Environment
Sessions
Remote Control

This is a known issue and has now been fixed by MS KB960890: "Some tabs are not available in the properties of a user account in the Active Directory Users and Computers MMC snap-in after you install Remote Server Administration Tools (RSAT) on a computer that is running Windows Vista"
http://support.microsoft.com/default.aspx?scid=kb;EN-US;960890

4. Reference reading:
A guide to install and setup
http://www.trainsignaltraining.com/windows-vista-rsat/2008-04-03/

RSAT and ADUC: Getting the Terminal Services Tabs to Appear in AD Users and Computers
http://blogs.technet.com/askds/archive/2008/03/31/rsat-and-aduc-getting-the-terminal-services-tabs-to-appear-in-ad-users-and-computers.aspx

RSAT (Remote Server Administration Tools): what's included and what's NOT!!
http://trycatch.be/blogs/roggenk/archive/2008/04/08/rsat-remote-server-administration-tools-what-s-included-and-what-s-not.aspx

2009-06-30

Installing .net framework v1.1 on Vista

Installing .net framework v1.1 on Vista

http://www.mydigitallife.info/2007/12/27/install-microsoft-net-framework-11-on-windows-vista-fix-regsvcsexe-fails-error/

2009-06-23

Best Practice importing drivers in SCCM

Best Practice importing drivers in SCCM

What would be the required best practice steps on how to import new drivers in System Center Configuration Manager (SCCM), when building a new hardware model.
Kenny Buntinx introduced a good series of articles discussing on this issue.

SCCM 2007 : Best Practice importing drivers (Part 1) , creating a driver Package.
http://scug.be/blogs/sccm/archive/2009/02/27/sccm-2007-best-practice-importing-drivers-part-1-creating-a-driver-package.aspx

SCCM 2007 : Best Practice importing drivers (Part 2) , importing a driver into the SCCM Database.
http://scug.be/blogs/sccm/archive/2009/03/03/sccm-2007-best-practice-importing-drivers-part-2-importing-a-driver-into-the-sccm-database.aspx

SCCM 2007 : Best Practice importing drivers (Part 3) , Creating your search folders in SCCM.
http://scug.be/blogs/sccm/archive/2009/03/06/sccm-2007-best-practice-importing-drivers-part-3-creating-your-search-folders-in-sccm.aspx

SCCM 2007 : Best Practice importing drivers (Part 4) , adding drivers to your SCCM Driver Package.
http://scug.be/blogs/sccm/archive/2009/03/12/sccm-2007-best-practice-importing-drivers-part-4-adding-drivers-to-your-sccm-driver-package.aspx

SCCM 2007, WinXP deployment sound card problem

SCCM 2007 : Solution for audio issue when building your Windows XP SP3 Reference image
By Kenny Buntinx
http://scug.be/blogs/sccm/archive/2008/12/05/sccm-2007-solution-for-audio-issue-when-building-your-windows-xp-sp3-reference-image.aspx

When you deploy a Windows XP SP3 reference image, and you use the Task Sequence to add certain soundcard drivers you might face the problem that your soundcard drivers are installed but at the end there is no sound.

Apparently if you do not log in without a user on your XP SP3 windows can't detect a part of the soundcard device.

A possible solution is installing the sound device manually and using the application drivermax (http://www.innovative-sol.com/drivermax/) to capture the necessary drivers.

Import these drivers as a driver package in SCCM and deploy it with your task sequence.

Guidelines to build a greadt virtual machine

Building a great Virtual Machine
By Kim Oppalfens
http://scug.be/blogs/sccm/archive/2008/03/20/building-a-great-virtual-machine.aspx

Domain Name and Passwords should be keyboard agnostic (ie: be the same on azerty/querty )

  • Domain Example: Contoso.net
  • Password Example: Topsecret

The lab layout should be set as the background image, like in the screenshot

The lab should contain the lab credentials set with bginfo

The saved parameters file and the windows background should be saved to a folder called c:\bginfo

Create login script with saved bginfo parameters file to run as login script.

The machine should allow you to shutdown/ restart from the ctrl-alt-del box

The welcome page should be disabled

System restore should be disabled

The shutdown event tracker should be disabled

password complexity should be disabled

Changing the computer account password should be disabled.

Screensaver should be disabled

Showing icons on the desktop should be disabled (you didn't spend all this time on building backgrounds to have them cluttered with icons)

All passwords should be configured to not expire

Vm's should be running on the latest service pack

Your last login should be with the user that the people will need in the lab so that it is prefilled when pressing ctrl-alt-del

the c:\drive should contain a folder called buildguide and an rtf file with the steps taken to create the vm, this way you can see what preparative action has been taken to make the labs work.

So I created my lab environment in visio and saved the different visio's as bmp's

And set a lot of the above options using a gpo, I backupped the gpo and saved it. The gpo can be found here:http://scug.be/files/folders/sccm/default.aspx

And you could obviously import it back on any domain controller using gpmc.

SCCM2007 OSD : Customising your Task Sequence for Building a Client OS on your VMWare Workstation 6.0 or later
By Kenny Buntinx

This article provides detailed steps on how to build a reference image of your physical workstations onto your VMware Workstation so that people could play around

http://scug.be/blogs/sccm/archive/2009/04/20/sccm2007-osd-customising-your-task-sequence-for-building-a-client-os-on-your-vmware-workstation-6-0-or-later.aspx#1002

Deploying a Windows XP SP3 "Gold image" with SCCM 2007

Deploying a Windows XP SP3 "Gold image" with SCCM 2007

By Kenny Buntinx

http://scug.be/blogs/sccm/archive/2008/07/01/deploying-a-windows-xp-sp3-quot-gold-image-quot-with-sccm-2007.aspx

This post and subsequent posts will be a step by step on how to build a base XP SP3 image in SCCM. I will be outlining not necessarily pointing out every click. Hopefully others will find this helpful. This assumes an understanding of SCCM and uses what is referred to as a “Thin Image Strategy”.

1.Create a network access account, it only need be a domain user and its password should not expire. Add the account to the Computer Client Agent in the Client node under Site Settings

2. Import XP SP3 as an operating system Install Package.

3. Add a Distribution point to your new XP SP3 package created in step 1

4. Create the XP SP3 sysprep package in SCCM

4.1 The Deploy.cab included on the CD was not updated properly for XP SP3 so you must download a new version here.

4.2 Create a package that points at the extracted CAB file for its source

4.3 You do not need to create any programs for the package the build task sequence takes care of this

4.4 Add the package to a DP that can be used during your build

5. Create a package for the Config Mgr Client

5.1 Specify always obtain file from source directory

5.2 Usually here I create a share at \\SCCMSERVER\Souce$\SCCMClient.

5.3 Update the ccmsetup command line properties accordingly. Extensive information about command line properties on TechNet here.

5.4 Add the package to a DP that can be used during your build

6. Create a “Build and capture a reference operating system image” task sequence

6.1 Name the task sequence something appropriate like “Build & Capture Windows XP SP3 Gold 6.2 Image”

6.3 Select the x86 boot image

6.4 Select the Operating System Package you created in step 1

6.5 Enter a product key

6.6 Set the local admin password to any password

6.7 Join a workgroup

6.8 Select the Config Mgr client you created in step 4

6.9 Don’t add any software to the base image

6.10 Set your image properties

6.11 Select a location to save the image and make sure you include the full path including the .wim extension

6.12 Enter an account with rights to write to the share

6.13 Finish up

7. Change the task sequence to use “Quick Format”

7.1 Right Click on the Task Sequence and choose Edit

7.2 Select the “Partition Disk 0″ step

7.3 Choose properties on the Default (Primary) partition and check the “Quick Format” option

8. Create a collection to which you will advertise the task sequence; I usually use "customer" Base Builds

9. Advertise the task sequence to the collection you created in step 7 as optional

9.1 Right click Task sequence and choose advertise, follow the wizard

9.2 Make sure you select the check box “Make this task sequence available to boot media and PXE”

9.3 If you are in test and your boundaries are not defined make sure you select “When no local distribution points are available, use remote distribution point”

9.4 Make sure you completed step 1

10. Ensure that you have the network and mass storage drivers to boot the device on the boot image and in the driver store (If you have to do this in the future you must update the PXE and standard DPs)

11. Add the appropriate boot images (x86 / x64) to the PXE and standard DPs

12. Allow the client to boot from PXE

12.1 If this client previously had an SCCM agent on it you just need to add the client to the collection you created in step 6

12.2 If this is a new client and SCCM is pre-R2 add the client manually

12.2.1 Add the client by right clicking the Computer Associations node under OSD and choosing “Import Computer Information”

12.2.2 Enter the Name of the computer

12.2.3 Enter the MAC and or SMBIOS GUID

12.2.4 Add the computer to the collection you created in step 7

13. Boot the device up to PXE and choose your task sequence. In less than an hour you should have the start of a great XP Image

SCCM OSD Deployment with static IP address

SCCM OSD Deployment with static IP address

Scenario:
Deploy a new system via SCCM OSD, there is no DHCP in the LAN, hence have to setup static IP on the workstation.
But the problem is, the static IP lost after reboot the workstation.

Solution:

When there is no DHCP, the manually typed IP settings will gone after reboot if you don't fill the data again, becasue TS variables are just created as OS environment variables.

To resolve this, you can add 'Apply Network settings' step in task sequence
http://technet.microsoft.com/en-us/library/bb633293.aspx

Then write a custom script using the SMS.TSEnvironment COM object to set the TS variables to get this done.

Reference:
Apply Network Settings Task Sequence Action Variables
http://technet.microsoft.com/en-us/library/dd252744.aspx.

How to Use Task Sequence Variables in a Running Configuration Manager Task Sequence
http://msdn.microsoft.com/en-us/library/cc145669.aspx

SCCM: OSD Task Sequence fails to join the PC to the domain during system build

ConfigMgr 2007: OSD Task Sequence fails to join the PC to the domain during Windows setup
http://blogs.technet.com/smsandmom/archive/2008/12/01/configmgr-2007-osd-task-sequence-fails-to-join-the-pc-to-the-domain-during-windows-setup.aspx

Issue: When running a SCCM 2007 OSD Task Sequence deployment to a PC, the PC will be successfully download the image, however when it runs through Windows Setup, the PC will eventually fail to join the domain and the Task Sequence will fail. Inspecting the "Apply Network Settings" task in the Task Sequence shows that all settings and accounts being used in the task are correct.

Looking at the SMSTS.log, the following error message will be repeat throughout the log:

Sending StatusMessage
Formatted header:
1dc5ca47-2e4e-42ef-9c32-231959eb878emp:[http]MP_StatusManagerdirect:OSD336002008-11-03T21:10:05ZhttpStatusReceiverSync

CLibSMSMessageWinHttpTransport::Send: URL: :80 CCM_POST /ccm_system/request
Error. Received 0x80072ee7 from WinHttpSendRequest.
unknown host (gethostbyname failed)
hr, HRESULT=80072ee7 (e:\nts_sms_fre\sms\framework\osdmessaging\libsmsmessaging.cpp,7714)
sending with winhttp failed; 80072ee7
Will retry in 5 second(s)
Retrying...
CLibSMSMessageWinHttpTransport::Send: URL: :80 CCM_POST /ccm_system/request
Error. Received 0x80072ee7 from WinHttpSendRequest.
unknown host (gethostbyname failed)
hr, HRESULT=80072ee7 (e:\nts_sms_fre\sms\framework\osdmessaging\libsmsmessaging.cpp,7714)
sending with winhttp failed; 80072ee7
Will retry in 10 second(s)
Retrying...
CLibSMSMessageWinHttpTransport::Send: URL: :80 CCM_POST /ccm_system/request
Error. Received 0x80072ee7 from WinHttpSendRequest.
unknown host (gethostbyname failed)
hr, HRESULT=80072ee7 (e:\nts_sms_fre\sms\framework\osdmessaging\libsmsmessaging.cpp,7714)
sending with winhttp failed; 80072ee7
Will retry in 22 second(s)
Retrying...
CLibSMSMessageWinHttpTransport::Send: URL: :80 CCM_POST /ccm_system/request
Error. Received 0x80072ee7 from WinHttpSendRequest.
unknown host (gethostbyname failed)
hr, HRESULT=80072ee7 (e:\nts_sms_fre\sms\framework\osdmessaging\libsmsmessaging.cpp,7714)
sending with winhttp failed; 80072ee7
Will retry in 45 second(s)
Retrying...
CLibSMSMessageWinHttpTransport::Send: URL: :80 CCM_POST /ccm_system/request
Error. Received 0x80072ee7 from WinHttpSendRequest.
unknown host (gethostbyname failed)
hr, HRESULT=80072ee7 (e:\nts_sms_fre\sms\framework\osdmessaging\libsmsmessaging.cpp,7714)
sending with winhttp failed; 80072ee7
End of retries
Send (pReply, nReplySize), HRESULT=80072ee7 (e:\nts_sms_fre\sms\framework\osdmessaging\libsmsmessaging.cpp,2052)
failed to send the request
DoRequest (sReply, false), HRESULT=80072ee7 (e:\nts_sms_fre\sms\framework\osdmessaging\libsmsmessaging.cpp,3835)
Failed to send status message (80072ee7)
smStatusMessage.Send(), HRESULT=80072ee7 (e:\nts_sms_fre\sms\client\tasksequence\executionengine\utility.cxx,529)


Cause: This is caused by a missing NIC driver in the Windows installation. Either the NIC driver was missing or not available during the driver injection (Apply Device Drivers, Auto Apply Drivers, or Apply Driver Package tasks) of the Task Sequence and driver installation portion of Windows Setup. Because of this reason, the PC has no network connectivity, cannot join the domain, and the Task Sequence eventually fails. However, a NIC driver was present as part of the WinPE Boot Image, which allowed the deployment to get far along enough in the deployment process where it dropped the image down on the PC.

Resolution: To correct the problem follow the steps below:

1) Make sure that the appropriate NIC drivers for the model PC, Windows OS version, and architecture have been imported into the Operating System Deployment --> Drivers node in the SCCM 2007 Admin console.

2) Make sure that the imported NIC drivers from step 1 have been added to a Driver Package under the Operating System Deployment --> Driver Packages node in the SCCM 2007 Admin console.

3) Make sure that the Driver Package from step 2 has been copied to distribution points (DPs) that are accessible to the PC during the OSD Task Sequence deployment.

4) If using the "Apply Driver Package" task in the Task Sequence, make sure that Driver Package that contains the NIC driver is selected in the "Apply Driver Package" task next to the field "Driver Package". If filtering Driver Package by model using WMI queries under the Options tab of the "Apply Driver Package" task, ensure that the WMI query is correct and you choose the correct model PC.

Enable portfast on CISCO switch to fix SCCM error 0x80072ee7

ConfigMgr 2007: Task Sequence may fail to run with error code 0x80072ee7
http://blogs.technet.com/smsandmom/archive/2008/12/09/configmgr-2007-task-sequence-may-fail-to-run-with-error-code-0x80072ee7.aspx

If you're PXE booting machines and they're throwing 0x80072ee7 errors along with getting APIPA addresses then you might try turning on portfast if you're using a Cisco Spanning Tree Protocol (STP) enabled switch to see if that helps:


Issue: When attempting to PXE Boot and install an OS Image with SCCM 2007, the Task Sequence may error out and reboot the machine. The SMSTS.LOG files may show error code 0x80072ee7 that points to a name resolution and/or networking issue. Additionally, you may notice that WINPE boots and gets an IP address from the DHCP server initially, however, once it gets to the Graphical User Interface portion of WINPE and try and run the Task Sequence it reverts to an Automatic Private IP Address (APIPA) of 169.354.x.x.

Note: If you use Task Sequence Boot Media and manually configure a static IP address and subnet mask, etc. then the Task Sequence runs as expected.

Cause: This can occur if portfast is not enabled on your SPT enable Cisco switch. If portfast is not enabled then the port using STP may remain in blocking mode long enough to prevent the client computer from communicating over the network.

Resolution: To resolve this issue you can turn on "spanning tree portfast enable" on the Cisco switch. For more information on this feature contact your switch manufacturer or see the following article on Cisco.com's website:

http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a00800f0804.shtml

2009-06-17

TechNet Virtual Labs: Windows System Administration Scripting

TechNet Virtual Labs: Windows System Administration Scripting http://technet.microsoft.com/en-au/virtuallabs/bb512930.aspx

Step into the Windows Scripting Virtual Labs for Free

It's simple: no complex setup or installation is required to try out Windows System Administration Scripting running in the full-featured TechNet Virtual Lab. You get a downloadable manual and a 90-minute block of time for each module. You can sign up for additional 90-minute blocks any time.

Virtual labs
TechNet Virtual Lab: Using Microsoft Windows PowerShell for Administration and Customization of Microsoft Windows SharePoint Services 3.0
TechNet Virtual Lab: Writing Scripts with Windows Powershell
TechNet Virtual Lab: Using PowerShell in Windows Server 2008 Beta 3
TechNet Virtual Lab: Introduction to Windows PowerShell
TechNet Virtual Lab: System Administration Scripting
TechNet Virtual Lab: Active Directory Scripting
VBScript tools for windows
http://www.computerperformance.co.uk/ezine/tools.htm

Contents of Guy's VBScript Tool Kit
ADSI - Check LDAP properties
Cacls - Set permissions
Connections web site
CDVDE - Bulk import / export accounts
CMDHere
LDIFDE - Bulk import / export accounts
Link Checker
NetSh - Network Shell
OH (Open Handles)
RoboCopy
Scriptomatic
StringConverter.exe - LDIFDE Password generator
TaskKill
Tasklist
WBEMTEST
Windiff - Compares two files
WinExit.scr
WSH client for Windows 9x and NT 4.0
VBScript tools for windows
http://www.computerperformance.co.uk/ezine/tools.htm

Contents of Guy's VBScript Tool Kit
ADSI - Check LDAP properties
Cacls - Set permissions
Connections web site
CDVDE - Bulk import / export accounts
CMDHere
LDIFDE - Bulk import / export accounts
Link Checker
NetSh - Network Shell
OH (Open Handles)
RoboCopy
Scriptomatic
StringConverter.exe - LDIFDE Password generator
TaskKill
Tasklist
WBEMTEST
Windiff - Compares two files
WinExit.scr
WSH client for Windows 9x and NT 4.0

ADSI Scriptomatic

ADSI Scriptomatic

What is the ADSI Scriptomatic?
The ADSI Scriptomatic -- as we keep trying to tell you -- is designed to help you write ADSI scripts; that is, scripts that can be used to manage Active Directory. As if that isn’t enough (and we learned the hard way that things are never enough), the ADSI Scriptomatic also teaches you an important point about ADSI scripting: like WMI, there are consistent patterns to ADSI scripts. For example, the ADSI Scriptomatic will help you write a script to delete a user account. It will also help you write scripts for deleting groups and organizational units. And if you take a close look at the scripts for deleting different objects, you’ll see something very interesting: theyre practical identical! What is this, some kind of a rip-off?

Well, it might be. But the reason the scripts look so similar is because ADSI uses a consistent approach for deleting objects, regardless of the type of object being deleted. What does that mean? Well, if you take the time to study the scripts created by the ADSI Scriptomatic (and if you read the ADSI chapter from the Windows 2000 Scripting Guide), you’ll understand how you can delete pretty much anything from Active Directory. For example, we wanted to keep the ADSI Scriptomatic relatively simple; as a result, weve limited the objects you can work with. The ADSI Scriptomatic will write a script that deletes a user account, but it won’t write a script that deletes a published printer. But, hey, so what? After you understand the pattern, you can write your own script for deleting published printers. (OK, OK, well consider creating the DeletePublishedPrintersOmatic. But don’t hold your breath.)

Find for details from here:
http://technet.microsoft.com/en-us/scriptcenter/dd939958.aspx

Download ADSI Scriptomatic
http://www.microsoft.com/downloads/details.aspx?FamilyID=39044e17-2490-487d-9a92-ce5dcd311228&DisplayLang=en

Take Advantage of Scriptomatic 2.0 to Maximize Your WMI Scripting Efforts

Scriptomatic 2.0 resources

Take Advantage of Scriptomatic 2.0 to Maximize Your WMI Scripting Efforts
http://windowsitpro.com/article/articleid/44360/take-advantage-of-scriptomatic-20-to-maximize-your-wmi-scripting-efforts.html

The simplest and most obvious use for Scriptomatic is reading and displaying a class's properties and their values. When Scriptomatic 2.0 loads, it defaults to the root\CIMV2 namespace, then loads the classes in that namespace. You select a WMI class, such as Win32_ComputerSystem, to generate a script.

After Scriptomatic 2.0 generates the code, you can immediately run the script or save it to a file so that you can use it to create more complex code. If you run the script, you can output the results as command output in the command-shell window, as a text file for viewing in Notepad or another editor, as an HTML or XML file for viewing in a browser such as Microsoft Internet Explorer (IE), or as a comma-separated value (CSV) file for viewing in Microsoft Excel or another spreadsheet program.

Scriptomatic 2.0 alone won't give you a complete picture, which is why you need several WMI-specific tools and references in your toolkit. Here's a list of essential WMI tools and documentation that you can use to expand on the information Scriptomatic 2.0 provides:

Using Contrast as an Effective Learning Tool

Scriptomatic 2.0 lets you select other WMI namespaces besides the common root\CIMV2 namespace. CIMV2 is the only namespace available in version 1.0. In version 2.0, you can gain insight on whether a namespace (i.e., provider) is available on other platforms. For example, the root\MicrosoftIISv2 provider is available on Windows 2003 computers running Microsoft IIS 6.0. In contrast, this namespace isn't available on computers running Windows XP and IIS 5.1 because the MicrosoftIISv2 provider is available only on IIS 6.0.

Download Scriptomatic 2.0:

http://www.microsoft.com/downloads/details.aspx?FamilyID=09dfc342-648b-4119-b7eb-783b0f7d1178&displaylang=en

VB Scripts generated by Scriptmatic, ready for use.

VB Scripts generated by Scriptmatic, ready for use.

http://www.thescriptlibrary.com/Default.asp?Action=Browse&Level=Category1&ScriptLanguage=VBScript&Category1=Scriptomatic

VBScript > aspnet(14)
VBScript > CCM\invagt(7)
VBScript > CCM\Policy\Machine(40)
VBScript > CIMV2(495)
VBScript > CIMV2\Applications\Exchange(5)
VBScript > CIMV2\Applications\MicrosoftIE(10)
VBScript > CIMV2\Dell(50)
VBScript > CIMV2\SMS(2)
VBScript > DEFAULT(2)
VBScript > directory\LDAP(3)
VBScript > IntelNCS(38)
VBScript > Microsoft\SqlServer\ComputerManagement(15)
VBScript > MicrosoftActiveDirectory(7)
VBScript > MicrosoftDNS(37)
VBScript > MicrosoftExchangeV2(3)
VBScript > MicrosoftIISv2(337)
VBScript > MicrosoftNLB(20)
VBScript > MOM(14)
VBScript > MSAPPS11(121)
VBScript > perfmon(1)
VBScript > Policy(2)
VBScript > RSOP(2)
VBScript > ServiceModel(80)
VBScript > subscription(1)
VBScript > WMI(378)

2009-06-13

Everything About Labels in Blogger.

http://www.blogdoctor.me/2007/06/everything-about-labels-in-blogger.html

Ubuntu自动启动程序

Ubuntu自动启动程序

首先,linux随机启动的服务程序都在/etc/init.d这个文件夹里,里面的文件全部都是脚本文件(脚本程序简单的说就是把要运行的程序写到一个文件里让系统能够按顺序执行,类似windows下的autorun.dat文件),另外在/etc这个文件夹里还有诸如名为rc1.d, rc2.d一直到rc6.d的文件夹,这些都是linux不同的runlevel,我们一般进入的X windows多用户的运行级别是第5级,也就是rc5.d,在这个文件夹下的脚本文件就是运行第5级时要随机启动的服务程序。需要注意的是,在每个rc (1-6).d文件夹下的文件其实都是/etc/init.d文件夹下的文件的一个软连接(类似windows中的快捷方式),也就是说,在 /etc/init.d文件夹下是全部的服务程序,而每个rc(1-6).d只链接它自己启动需要的相应的服务程序!
要启动scim(某一程序),我们首先要知道scim程序在哪里,用locate命令可以找到,scim在/usr/bin/scim这里,其中usr表 示是属于用户的,bin在linux里表示可以执行的程序。这样,我就可以编写一个脚本程序,把它放到/etc/init.d里,然后在rc5.d里做一个相应的软链接就可以了。
这个脚本其实很简单,就两行:
#!/bin/bash
/usr/bin/scim
第一行是声明用什么终端运行这个脚本,第二行就是要运行的命令。
还需要注意的一点是,在rc5.d里,每个链接的名字都是以S或者K开头的,S开头的表示是系统启动是要随机启动的,K开头的是不随机启动的。这样,你就可以知道,如果我要哪个服务随机启动,就把它名字第一个字母K改成S就可以了,当然,把S改成K后,这个服务就不能随机启动了。因此,我这个链接还要起名为SXXX,这样系统才能让它随机启动。

在RH下,rc.local是默认启动的最后一个脚本文件,所以,

如果你想要随机启动,还有一种方法就是在rc.local的尾部加入/usr/bin/scim,这样就可以了。