2010-07-29

command line to check remote share folder permission

User MS rmtshare.exe to check remote share folder permissions
Microsoft has placed the RMTShare.exe program on their FTP site at ftp://ftp.microsoft.com/bussys/winnt/winnt-public/reskit/nt40/i386/RMTSHAR.EXE

After downloading RMTSHAR.EXE, double-click it to extract the Readme.txt and Rmtshare.exe files. Copy Rmtshare.exe to a folder in your path.
Syntax:
RMTSHARE \\server
                      \\server\sharename
 
Windows shares and NTFS file permissions, show/create/modify

http://copenhagens.blogspot.com/2007/11/windows-shares-and-share-permissions.html

2010-07-06

mplist procedure reports error but mpcert and mplist1 seems ok

Many people run through a problem with a MP on a primary site after upgrade from SMS 2003 SP2. The mpcontrol manager states that the MP is not responding to HTTP requests. "Internal Server Error 500".

When testing MP service with the following:
http://servername/sms_mp/.sms_aut?MPCERT Works
http://servername/sms_mp/.sms_aut?MPLIST Fails with "Internal Server Error 500"
http://servername/sms_mp/.sms_aut?MPLIST1 Works

There are a several queries you can execute against the SMS database to confirm this issue:
exec mp_getmplistforsite 'sitecode'
Select * from sites
exec mp_getlistofmpsinsite 'sitecode','0'

Open SQL Management Studio, go to:
*servername*\Databases\*sms/sccm database*\Programmability\Stored Procedures\dbo.MP_GetListOfMPsInSite
Click "new query" and run the following query:
exec MP_GetListOfMPsInSite "Central Site code","0"
This should return you a list of all MP's.
Now check the 4th column where it says "Capabilities" all MP's should have the following value there:


If there are sites that have no (blank) value or a NULL value, these are the cause of your HTTP 500 error, all MPcontrol.log files on all your secondary sites and your central site will return that HTTP 500 error.

A full reinstall of a site could resolve this issue.

How to quickly test to see if SCCM MP is responding to http or not

We are using SCCM OSD to deploy Vista workstations and SMP is used for USMT.
From time to time the build failed due to MP/SMP stopped responding.

Seeing error in SCCM system status:
SMP Control Manager detected SMP is not responding to HTTP requests. The http status code and text is 500, Internal Server Error.
Or:
MP Control Manager detected MP is not responding to HTTP requests. The http error is 12029.

Possible cause: DMP service is not started or not responding on all DMP physical machines.
Solution: Manually restart the SMS Agent Host service on the DMP.

Possible cause: IIS service is not responding.
Solution: Manually restart the W3SVC service on the MP.

For more information, refer to Microsoft Knowledge Base article 838891

You can find some details of the problem from this server log file: mpcontrol.log

Apart from the above mentioned resolution on how to fix it, you can do a quick check to see if MP server is responding to http or not:
http://MP-server-name:portnumber/sms_mp/.sms_aut?MPcert
http://MP-server-name:portnumber/sms_mp/.sms_aut?MPlist
http://MP-server-name:portnumber/sms_mp/.sms_aut?MPlist1
where the "portnumber" is the http port number configured in IIS for your MP server. By default it's "80" but it could be changed to something else by your administrator. You need to find it out first from IIS configuration.

Related information:
Troubleshooting Management Point Issue : Steps to be taken
http://systemcentersupport.blogspot.com/2010/01/troubleshooting-management-point-issue.html

Chris Stauffer posted an updated version of his Client Health Script, version 1.7.
Check it out here:
http://myitforum.com/cs2/blogs/cstauffer/archive/2009/12/18/sccm-sp2-health-check-startup-script-1-7.aspx

2010-07-04

Outlook sending / receiving duplicate email problem

An good post discussing this issue:
http://www.anti-dupe.com/products/prevent_outlook_duplicate.aspx

Other things you can try:
To stop receiving duplicate e-mails, check the following:
1.Check the Rules that you have configured to be sure that copies are not being made to the Inbox,
2.Ensure that all your rules end in "Stop Processing" actions.
3.Check the windows task manager to ensure that there is only one instance of Outlook running. If they are two instances of outlook.exe running, it may produce two messages arriving at the same time.
4.Delete or remove all your e-mail accounts and recreate them.
I5.f your running Outlook XP, ensure that you have service pack 2 or later. If you need to upgrade, just go to Microsoft Product Updates.
6.If you have two different POP3 e-mail accounts set up in your outlook, then you might receive duplicate e-mails. Check this article on Microsoft's website which explains the problem.
http://support.microsoft.com/?kbid=284404.




To prevent sending duplicate e-mails, check the following:
The reason for your PC sending multiple email messages might due to an anti-virus that is configured to check Outlook emails. When the Anti-Virus scans your outgoing emails, it might send it out twice. You can either change the settings on your anti-virus or refer your anti-virus manual for other alternatives.

SCCM OSD basic troubleshooting guide

SCCM OSD basic troubleshooting guide
http://www.network-tutorial.com/sccm-osd-basic-troubleshooting/

ConfigMgr 2007: OSD deployment errors out within a few seconds after WinPE loads and then automatically reboots
http://blogs.technet.com/b/smsandmom/archive/2008/08/26/configmgr-2007-osd-deployment-errors-out-within-a-few-seconds-after-winpe-loads-and-then-automatically-reboots.aspx
Problem:
Your OSD failed and found error from smsts.log:
"Failed to connect to "\\servername.com\SMSPKGC$\10000001" (86) TSMBootstrap 1/9/2009 1:45:57 PM 1460 (0x05B4)"



Solution:
code "86" means "The specified network password is not correct." So double check the password of your network access account.