myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


  


package/advertisement to fix duplicate GUIDs

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003 >> package/advertisement to fix duplicate GUIDs Page: [1]
Login
Message << Older Topic   Newer Topic >>
package/advertisement to fix duplicate GUIDs - 10/10/2007 1:19:03 PM   
barkills

 

Posts: 4
Score: 0
Joined: 10/10/2007
Status: offline
I've read the Microsoft whitepaper Managing Duplicate GUIDs in SMS 2003. Following the guidance of that whitepaper, I've setup a collection of clients with duplicate GUIDs. Also following the guidance of that whitepaper, I've setup a package to run the TranGUID utility, and created a mandatory advertisement of that package to that collection. Depending on the package definition details, I either:
a) always get a failure with an error code of 1
OR
b) I get an error that the program "could not be run because the policy contains an invalid combination of requirements"

Now, the whitepaper unfortunately uses curly quotes in it's description of the contents of the batch file needed to successfully run the TranGUID utility. net.exe does not accept the curly quote character. So I've caught that error which Microsoft introduced. But I need some assistance in getting beyond this stalemate.

Here are the details of my program in the two configurations noted above:

a) command line: tranguid.bat
which contains the following:
---
net stop "SMS Agent Host"
\\nikon\sms-staging$\tranguid\tranguid /R
net start "SMS Agent Host"
---
can run on any platform
program can run whether or not a user is logged on
run with administrative rights (neither sub check box selected)
runs with UNC name

b) command line: tranguid.bat
which contains the following:
---
net stop "SMS Agent Host"
tranguid /R
net start "SMS Agent Host"
---
can run on any platform
program can run whether or not a user is logged on
run with administrative rights (neither sub check box selected)
requires a drive letter
----------------------------------------
The whitepaper doesn't include enough detail to create the program correctly, and clearly my inexperience creating SMS packages which deploy batch scripts is insufficient to get around this. Please help! :)
Post #: 1
RE: package/advertisement to fix duplicate GUIDs - 10/10/2007 1:44:16 PM   
bmason505

 

Posts: 2031
Score: 114
Joined: 1/23/2003
From: Minneapolis, MN
Status: offline
We don't bother to stop SMS and it works fine.  Just a simple tranguid /R


_____________________________

Brian Mason
MCSA\MCSE\MS MVP - SCCM
Wells Fargo
http://www.miscusergroup.org/

(in reply to barkills)
Post #: 2
RE: package/advertisement to fix duplicate GUIDs - 10/12/2007 1:31:15 PM   
barkills

 

Posts: 4
Score: 0
Joined: 10/10/2007
Status: offline
OK, that's not what the whitepaper says, but if it works for you that's great.

I'm more interested in the specifics of your package definition, since mine clearly won't take. Can you share those in greater detail?

(in reply to bmason505)
Post #: 3
RE: package/advertisement to fix duplicate GUIDs - 10/12/2007 1:40:47 PM   
bmason505

 

Posts: 2031
Score: 114
Joined: 1/23/2003
From: Minneapolis, MN
Status: offline
The collection or package?  The package has no special settings other than to suppress notifications and to run whether or not someone is logged on.

As far as the collection, we took Bruce Jones's query, but he said even though it works, there was some error or modification it could use. I'm going to have Nelson look at it and see if he can make it better or find the 'error' Bruce was referring to.  As is, it does work though.


_____________________________

Brian Mason
MCSA\MCSE\MS MVP - SCCM
Wells Fargo
http://www.miscusergroup.org/

(in reply to barkills)
Post #: 4
RE: package/advertisement to fix duplicate GUIDs - 11/13/2007 3:56:21 PM   
barkills

 

Posts: 4
Score: 0
Joined: 10/10/2007
Status: offline
The package configuration is what I wanted more details on. I noted quite a few details of an example package in the original post, and several of the settings could lead to non-working conditions.

I engaged PSS for the obvious reason that I wasn't getting much help here.

Looks like there were two problems--with solution a) as noted above:
1) The DP still had an old copy of the program, with the original curly quotes as copied and pasted from the whitepaper.
2) Accurately tracking success is a problem intrinsic to this package. Because the program shuts down the SMS client agent, SMS doesn't have accurate details, unless you wrote a custom MIF to go along with it.

I know you (bmason505) have claimed that you didn't need to wrap tranguid /R with a bounce of the SMS service in your environment. If that works in all environments, then that might be a way to get around #2. Of course, if that works everywhere, I wonder why it's in the whitepaper at all.

Brian Arkills

(in reply to bmason505)
Post #: 5
RE: package/advertisement to fix duplicate GUIDs - 11/13/2007 8:55:37 PM   
bmason505

 

Posts: 2031
Score: 114
Joined: 1/23/2003
From: Minneapolis, MN
Status: offline
The whitepaper was written for old 2.0.  Technically we're not supposed to have problems after SP1.

Also, we set the ad to run daily.  Also, it doesn't help on those nuts who reimage a machine 30 times a day.  At some point it seems SMS 2003 (SP1 and above) can no longer obsolute every one of the entries and you can end up with 20 supposedly valid machines.  Between the dupe GUID collection refreshing daily & the ad running daily, we usually get them all.

_____________________________

Brian Mason
MCSA\MCSE\MS MVP - SCCM
Wells Fargo
http://www.miscusergroup.org/

(in reply to barkills)
Post #: 6
RE: package/advertisement to fix duplicate GUIDs - 11/13/2007 11:04:32 PM   
barkills

 

Posts: 4
Score: 0
Joined: 10/10/2007
Status: offline
I think you've got the wrong whitepaper. There is a SMS 2003 (only) version. See http://www.microsoft.com/downloads/details.aspx?FamilyID=aaf6f10d-bd84-405e-9af3-b48ced1d7f2d&DisplayLang=en, titled: Managing Duplicate GUIDs in SMS 2003. There was a prior whitepaper, http://www.microsoft.com/technet/prodtechnol/sms/sms2/optimize/dupid1.mspx, titled: Managing Duplicate Microsoft Systems Management Server Unique Identifiers, which is clearly SMS 2.0 focused. But the content (and even the solutions) is pretty different, so it's a bit hard to see how you'd make the mistake. In fact, the SMS 2003 version clearly refers readers who have SMS 2.0 to this KB article: http://support.microsoft.com/kb/934577/ in the introduction of the whitepaper.

I've never heard/read anything that claims that SMS 2003 SP1 does away with duplicate GUID problems.Your claim also seems rather far-fetched given the reality that SMS 2003 SP1 clearly doesn't do away with duplicate GUID problems (w/o intervention). Can you reference a source for that claim?

Brian Arkills

(in reply to bmason505)
Post #: 7
RE: package/advertisement to fix duplicate GUIDs - 11/13/2007 11:48:49 PM   
bmason505

 

Posts: 2031
Score: 114
Joined: 1/23/2003
From: Minneapolis, MN
Status: offline
I've not read this whitepaper.  When 2003 was released it wasn't written, so we had to make use of the 2.0 one.  When 2003 SP1 was released, SMS started to detect duplicate machines and mark the old record as obsolete.  Making use of the delete obsolete task kills them off automatically.  Here's a nice artice on the process: http://myitforum.com/cs2/blogs/eholtz/pages/2839.aspx


_____________________________

Brian Mason
MCSA\MCSE\MS MVP - SCCM
Wells Fargo
http://www.miscusergroup.org/

(in reply to barkills)
Post #: 8
RE: package/advertisement to fix duplicate GUIDs - 11/11/2008 4:06:35 PM   
bbowen8

 

Posts: 1
Score: 0
Joined: 11/11/2008
Status: offline
I have a package that only calls "TRANGUID /X" to regenerate GUIDS, and it works perfectly. The advertisement points to my collection of machines with duplicate GUIDS. If you are getting "invalid combination of requirements" errors, check the following:

1) Set the program to run "whether or not the user is logged in"
2) Check "Run with Administrative Rights". I also have the option "Allow users to interact with this program" checked, but very often, this is a conflict of an invalid combination of arguments (if no user is logged in, how can a user interact? But again, it's working for me).
3)Set it to Require a Drive Letter.

In the advertisement, I have it set to mandatory and to run from the distribution point.

Bill

(in reply to barkills)
Post #: 9
RE: package/advertisement to fix duplicate GUIDs - 11/12/2008 7:07:22 AM   
Tom_Watson

 

Posts: 126
Score: 10
Joined: 9/13/2006
Status: offline
Going back to one of the errors....

quote:

ORIGINAL: barkills

b) I get an error that the program "could not be run because the policy contains an invalid combination of requirements"


This might be happening because you are combining "Requires drive letter" in the Program's Environment properties with "Download program from distribution point" in the Advertisement's Advanced Client properties.  Both of these setting do not work together.

Regards,
Tom Watson

(in reply to barkills)
Post #: 10
Page:   [1]
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003 >> package/advertisement to fix duplicate GUIDs Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



  
Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.281