From tlarki at kckps.org Tue Sep 29 06:41:32 2009 From: tlarki at kckps.org (Thomas Larkin) Date: Tue, 29 Sep 2009 08:41:32 -0500 Subject: [Resourcekit] question about this list Message-ID: <4AC1C83C.7141.0039.0@kckps.org> Is this list to discuss the resource kit, or can we submit stuff to be added to it? Thanks Tom ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ERNSTCS at uwec.edu Tue Sep 29 06:46:40 2009 From: ERNSTCS at uwec.edu (Ernst, Craig S.) Date: Tue, 29 Sep 2009 08:46:40 -0500 Subject: [Resourcekit] question about this list In-Reply-To: <4AC1C83C.7141.0039.0@kckps.org> Message-ID: Both...at least make recommendations for stuff to be added. Craig E On 9/29/09 8:41 AM, "Thomas Larkin" wrote: Is this list to discuss the resource kit, or can we submit stuff to be added to it? Thanks Tom ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 -------------- next part -------------- An HTML attachment was scrubbed... URL: From tlarki at kckps.org Tue Sep 29 07:55:02 2009 From: tlarki at kckps.org (Thomas Larkin) Date: Tue, 29 Sep 2009 09:55:02 -0500 Subject: [Resourcekit] question about this list In-Reply-To: References: <4AC1C83C.7141.0039.0@kckps.org> Message-ID: <4AC1D976.7141.0039.0@kckps.org> Well then, I have a bunch of faculty members that have admin rights to their computers, for installing their own software, their own printers, and anything they buy on their budget outside of IT's budget they support themselves. Some of them like to rename their computers so I ended up just disabling the sharing pref pane in System Preferences. That was a bummer to some of them as they like to use blue tooth. Since there is not a way, at least I can tell, to have Casper force the name that is in the JSS I came up with a couple of scripts that do just this. This way I can have a casper policy run once a day on each machine that checks the name, and if the name is good it exits, but if the name has been changed (typically set after imaging) then it gets changed to what it should be. I know I am not the only one that has feature requested this and not the only one that has had issues with name changes. So, this is kind of the same method as dummy packages, but instead I use receipts to maintain the name. http://tlarkin.com/tech/2-shell-scripts-maintain-standard-naming-conventions I cleaned up the scripts a bit since I first made them to fix some things I did wrong. Is there a way to have the JAMF framework run simple scripts at start up? That is my other method of perhaps deploying this, so it all runs locally so if off the network or if the JSS is unreachable, it will still enforce the proper computer name. All of our smart groups are based on naming conventions, so it is important to us to have proper names. Thanks Tom ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 >>> "Ernst, Craig S." 09/29/09 8:46 AM >>> Both...at least make recommendations for stuff to be added. Craig E On 9/29/09 8:41 AM, "Thomas Larkin" wrote: Is this list to discuss the resource kit, or can we submit stuff to be added to it? Thanks Tom ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ERNSTCS at uwec.edu Tue Sep 29 08:53:35 2009 From: ERNSTCS at uwec.edu (Ernst, Craig S.) Date: Tue, 29 Sep 2009 10:53:35 -0500 Subject: [Resourcekit] question about this list In-Reply-To: <4AC1D976.7141.0039.0@kckps.org> Message-ID: You are indeed not the only one who has requested this. However, this doesn?t fix this issue when a recon cycle fires off for one reason or another, correct? This is why JAMF needs to build something in. I know that I could script this into a scheduled recon cycle, have it fix the name first, then run the recon command, but that doesn?t stop anyone from just doing a straight up recon when the name isn?t fixed. I do plan to look at your scripts though and see if it helps with the somewhat annoying thing when systems rename themselves with the (X) number after it. Well, great so now the JSS has a system with NAME (X) in it, and now that the JSS doesn?t have separate Computer_ID for AD binding it will bind to AD with what the current name is in the JSS. So if that machine was reimaged...cool now it?s bound with the new name NAME (X), at least that?s my logic right now, and if that?s not right JAMF can kindly let me know. =) If it is right, all the more reason to have machine name enforcement right in the JSS and/or have computer_id binding options back in the system. Thanks for the post, Tom. Craig E On 9/29/09 9:55 AM, "Thomas Larkin" wrote: Well then, I have a bunch of faculty members that have admin rights to their computers, for installing their own software, their own printers, and anything they buy on their budget outside of IT's budget they support themselves. Some of them like to rename their computers so I ended up just disabling the sharing pref pane in System Preferences. That was a bummer to some of them as they like to use blue tooth. Since there is not a way, at least I can tell, to have Casper force the name that is in the JSS I came up with a couple of scripts that do just this. This way I can have a casper policy run once a day on each machine that checks the name, and if the name is good it exits, but if the name has been changed (typically set after imaging) then it gets changed to what it should be. I know I am not the only one that has feature requested this and not the only one that has had issues with name changes. So, this is kind of the same method as dummy packages, but instead I use receipts to maintain the name. http://tlarkin.com/tech/2-shell-scripts-maintain-standard-naming-conventions I cleaned up the scripts a bit since I first made them to fix some things I did wrong. Is there a way to have the JAMF framework run simple scripts at start up? That is my other method of perhaps deploying this, so it all runs locally so if off the network or if the JSS is unreachable, it will still enforce the proper computer name. All of our smart groups are based on naming conventions, so it is important to us to have proper names. Thanks Tom ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 >>> "Ernst, Craig S." 09/29/09 8:46 AM >>> Both...at least make recommendations for stuff to be added. Craig E On 9/29/09 8:41 AM, "Thomas Larkin" wrote: Is this list to discuss the resource kit, or can we submit stuff to be added to it? Thanks Tom ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 -------------- next part -------------- An HTML attachment was scrubbed... URL: From tlarki at kckps.org Tue Sep 29 09:29:52 2009 From: tlarki at kckps.org (Thomas Larkin) Date: Tue, 29 Sep 2009 11:29:52 -0500 Subject: [Resourcekit] question about this list In-Reply-To: References: <4AC1D976.7141.0039.0@kckps.org> Message-ID: <4AC1EFB0.7141.0039.0@kckps.org> Yeah that is why I am wondering if I can store something like this in the framework. If you set the name correctly when you image a machine in the JSS then the first script will store that name in a file. I did not incorporate any recon commands into the script but that is something I could do, every time it is ran or the name is set back to what it was, then I could also have it recon it and update the JSS back to the proper name. I also thought about adding a custom policy to this that sends out an email if the script runs successfully. I would have to alter the second script with another exit for that to happen, but that is just one line of code. That way you can get emailed when a user changes the computer name. >>> "Ernst, Craig S." 09/29/09 10:53 AM >>> You are indeed not the only one who has requested this. However, this doesn?t fix this issue when a recon cycle fires off for one reason or another, correct? This is why JAMF needs to build something in. I know that I could script this into a scheduled recon cycle, have it fix the name first, then run the recon command, but that doesn?t stop anyone from just doing a straight up recon when the name isn?t fixed. I do plan to look at your scripts though and see if it helps with the somewhat annoying thing when systems rename themselves with the (X) number after it. Well, great so now the JSS has a system with NAME (X) in it, and now that the JSS doesn?t have separate Computer_ID for AD binding it will bind to AD with what the current name is in the JSS. So if that machine was reimaged...cool now it?s bound with the new name NAME (X), at least that?s my logic right now, and if that?s not right JAMF can kindly let me know. =) If it is right, all the more reason to have machine name enforcement right in the JSS and/or have computer_id binding options back in the system. Thanks for the post, Tom. Craig E On 9/29/09 9:55 AM, "Thomas Larkin" wrote: Well then, I have a bunch of faculty members that have admin rights to their computers, for installing their own software, their own printers, and anything they buy on their budget outside of IT's budget they support themselves. Some of them like to rename their computers so I ended up just disabling the sharing pref pane in System Preferences. That was a bummer to some of them as they like to use blue tooth. Since there is not a way, at least I can tell, to have Casper force the name that is in the JSS I came up with a couple of scripts that do just this. This way I can have a casper policy run once a day on each machine that checks the name, and if the name is good it exits, but if the name has been changed (typically set after imaging) then it gets changed to what it should be. I know I am not the only one that has feature requested this and not the only one that has had issues with name changes. So, this is kind of the same method as dummy packages, but instead I use receipts to maintain the name. http://tlarkin.com/tech/2-shell-scripts-maintain-standard-naming-conventions I cleaned up the scripts a bit since I first made them to fix some things I did wrong. Is there a way to have the JAMF framework run simple scripts at start up? That is my other method of perhaps deploying this, so it all runs locally so if off the network or if the JSS is unreachable, it will still enforce the proper computer name. All of our smart groups are based on naming conventions, so it is important to us to have proper names. Thanks Tom ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 On 9/29/09 8:41 AM, "Thomas Larkin" wrote: Is this list to discuss the resource kit, or can we submit stuff to be added to it? Thanks Tom ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 -------------- next part -------------- An HTML attachment was scrubbed... URL: From HenkelB at westerntc.edu Tue Sep 29 11:49:42 2009 From: HenkelB at westerntc.edu (Henkel, Bill) Date: Tue, 29 Sep 2009 13:49:42 -0500 Subject: [Resourcekit] question about this list In-Reply-To: <4AC1EFB0.7141.0039.0@kckps.org> References: <4AC1D976.7141.0039.0@kckps.org> <4AC1EFB0.7141.0039.0@kckps.org> Message-ID: <42E2D64DA3F8E54097059032799384A6050AED670A@venus.westerntc.edu> Casper has the built in abilty to rename the computers back to what it set in the JSS database. I have a policy that runs on startup to set the computer name to what is stored in the JSS database. In the advanced options there is a check box for ?Reset Computer Names?. You could probably have a smart group set so that it would only contain computers with names that don?t match your standard naming conventions and just update those computer names in the JSS database so they will then get the propername on next system startup. Bill Henkel Computer Technician Telephone Support Specialist henkelb at westerntc.edu 608-789-6254 fax: 608-785-9287 From: resourcekit-bounces at list.jamfsoftware.com [mailto:resourcekit-bounces at list.jamfsoftware.com] On Behalf Of Thomas Larkin Sent: Tuesday, September 29, 2009 11:30 AM To: resourcekit at list.jamfsoftware.com; Craig S. Ernst Subject: Re: [Resourcekit] question about this list Yeah that is why I am wondering if I can store something like this in the framework. If you set the name correctly when you image a machine in the JSS then the first script will store that name in a file. I did not incorporate any recon commands into the script but that is something I could do, every time it is ran or the name is set back to what it was, then I could also have it recon it and update the JSS back to the proper name. I also thought about adding a custom policy to this that sends out an email if the script runs successfully. I would have to alter the second script with another exit for that to happen, but that is just one line of code. That way you can get emailed when a user changes the computer name. >>> "Ernst, Craig S." 09/29/09 10:53 AM >>> You are indeed not the only one who has requested this. However, this doesn?t fix this issue when a recon cycle fires off for one reason or another, correct? This is why JAMF needs to build something in. I know that I could script this into a scheduled recon cycle, have it fix the name first, then run the recon command, but that doesn?t stop anyone from just doing a straight up recon when the name isn?t fixed. I do plan to look at your scripts though and see if it helps with the somewhat annoying thing when systems rename themselves with the (X) number after it. Well, great so now the JSS has a system with NAME (X) in it, and now that the JSS doesn?t have separate Computer_ID for AD binding it will bind to AD with what the current name is in the JSS. So if that machine was reimaged...cool now it?s bound with the new name NAME (X), at least that?s my logic right now, and if that?s not right JAMF can kindly let me know. =) If it is right, all the more reason to have machine name enforcement right in the JSS and/or have computer_id binding options back in the system. Thanks for the post, Tom. Craig E On 9/29/09 9:55 AM, "Thomas Larkin" wrote: Well then, I have a bunch of faculty members that have admin rights to their computers, for installing their own software, their own printers, and anything they buy on their budget outside of IT's budget they support themselves. Some of them like to rename their computers so I ended up just disabling the sharing pref pane in System Preferences. That was a bummer to some of them as they like to use blue tooth. Since there is not a way, at least I can tell, to have Casper force the name that is in the JSS I came up with a couple of scripts that do just this. This way I can have a casper policy run once a day on each machine that checks the name, and if the name is good it exits, but if the name has been changed (typically set after imaging) then it gets changed to what it should be. I know I am not the only one that has feature requested this and not the only one that has had issues with name changes. So, this is kind of the same method as dummy packages, but instead I use receipts to maintain the name. http://tlarkin.com/tech/2-shell-scripts-maintain-standard-naming-conventions I cleaned up the scripts a bit since I first made them to fix some things I did wrong. Is there a way to have the JAMF framework run simple scripts at start up? That is my other method of perhaps deploying this, so it all runs locally so if off the network or if the JSS is unreachable, it will still enforce the proper computer name. All of our smart groups are based on naming conventions, so it is important to us to have proper names. Thanks Tom ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 >>> "Ernst, Craig S." 09/29/09 8:46 AM >>> Both...at least make recommendations for stuff to be added. Craig E On 9/29/09 8:41 AM, "Thomas Larkin" wrote: Is this list to discuss the resource kit, or can we submit stuff to be added to it? Thanks Tom ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 -------------- next part -------------- An HTML attachment was scrubbed... URL: From tlarki at kckps.org Tue Sep 29 12:25:02 2009 From: tlarki at kckps.org (Thomas Larkin) Date: Tue, 29 Sep 2009 14:25:02 -0500 Subject: [Resourcekit] question about this list In-Reply-To: <42E2D64DA3F8E54097059032799384A6050AED670A@venus.westerntc.edu> References: <4AC1D976.7141.0039.0@kckps.org> <4AC1EFB0.7141.0039.0@kckps.org> <42E2D64DA3F8E54097059032799384A6050AED670A@venus.westerntc.edu> Message-ID: <4AC218BE.7141.0039.0@kckps.org> Yes, but if the user changes the name in the OS, then next inventory update the JSS gets updated with the wrong name. That is the debacle. ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 >>> "Henkel, Bill" 09/29/09 1:49 PM >>> Casper has the built in abilty to rename the computers back to what it set in the JSS database. I have a policy that runs on startup to set the computer name to what is stored in the JSS database. In the advanced options there is a check box for ?Reset Computer Names?. You could probably have a smart group set so that it would only contain computers with names that don?t match your standard naming conventions and just update those computer names in the JSS database so they will then get the propername on next system startup. Bill Henkel Computer Technician Telephone Support Specialist henkelb at westerntc.edu 608-789-6254 fax: 608-785-9287 From: resourcekit-bounces at list.jamfsoftware.com [mailto:resourcekit-bounces at list.jamfsoftware.com] On Behalf Of Thomas Larkin Sent: Tuesday, September 29, 2009 11:30 AM To: resourcekit at list.jamfsoftware.com; Craig S. Ernst Subject: Re: [Resourcekit] question about this list Yeah that is why I am wondering if I can store something like this in the framework. If you set the name correctly when you image a machine in the JSS then the first script will store that name in a file. I did not incorporate any recon commands into the script but that is something I could do, every time it is ran or the name is set back to what it was, then I could also have it recon it and update the JSS back to the proper name. I also thought about adding a custom policy to this that sends out an email if the script runs successfully. I would have to alter the second script with another exit for that to happen, but that is just one line of code. That way you can get emailed when a user changes the computer name. >>> "Ernst, Craig S." 09/29/09 10:53 AM >>> You are indeed not the only one who has requested this. However, this doesn?t fix this issue when a recon cycle fires off for one reason or another, correct? This is why JAMF needs to build something in. I know that I could script this into a scheduled recon cycle, have it fix the name first, then run the recon command, but that doesn?t stop anyone from just doing a straight up recon when the name isn?t fixed. I do plan to look at your scripts though and see if it helps with the somewhat annoying thing when systems rename themselves with the (X) number after it. Well, great so now the JSS has a system with NAME (X) in it, and now that the JSS doesn?t have separate Computer_ID for AD binding it will bind to AD with what the current name is in the JSS. So if that machine was reimaged...cool now it?s bound with the new name NAME (X), at least that?s my logic right now, and if that?s not right JAMF can kindly let me know. =) If it is right, all the more reason to have machine name enforcement right in the JSS and/or have computer_id binding options back in the system. Thanks for the post, Tom. Craig E On 9/29/09 9:55 AM, "Thomas Larkin" wrote: Well then, I have a bunch of faculty members that have admin rights to their computers, for installing their own software, their own printers, and anything they buy on their budget outside of IT's budget they support themselves. Some of them like to rename their computers so I ended up just disabling the sharing pref pane in System Preferences. That was a bummer to some of them as they like to use blue tooth. Since there is not a way, at least I can tell, to have Casper force the name that is in the JSS I came up with a couple of scripts thmachine that checks the name, and if the name is good it exits, but if the name has been changed (typically set after imaging) then it gets changed to what it should be. I know I am not the only one that has feature requested this and not the only one that has had issues with name changes. So, this is kind of the same method as dummy packages, but instead I use receipts to maintain the name. http://tlarkin.com/tech/2-shell-scripts-maintain-standard-naming-conventions I cleaned up the scripts a bit since I first made them to fix some things I did wrong. Is there a way to have the JAMF framework run simple scripts at start up? That is my other method of perhaps deploying this, so it all runs locally so if off the network or if the JSS is unreachable, it will still enforce the proper computer name. All of our smart groups are based on naming conventions, so it is important to us to have proper names. Thanks Tom ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 >>> "Ernst, Craig S." 09/29/09 8:46 AM >>> Both...at least make recommendations for stuff to be added. Craig E On 9/29/09 8:41 AM, "Thomas Larkin" wrote: Is this list to discuss the resource kit, or can we submit stuff to be added to it? Thanks Tom ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ERNSTCS at uwec.edu Tue Sep 29 12:26:11 2009 From: ERNSTCS at uwec.edu (Ernst, Craig S.) Date: Tue, 29 Sep 2009 14:26:11 -0500 Subject: [Resourcekit] question about this list In-Reply-To: <4AC218BE.7141.0039.0@kckps.org> Message-ID: INDEED! On 9/29/09 2:25 PM, "Thomas Larkin" wrote: Yes, but if the user changes the name in the OS, then next inventory update the JSS gets updated with the wrong name. That is the debacle. ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 >>> "Henkel, Bill" 09/29/09 1:49 PM >>> Casper has the built in abilty to rename the computers back to what it set in the JSS database. I have a policy that runs on startup to set the computer name to what is stored in the JSS database. In the advanced options there is a check box for ?Reset Computer Names?. You could probably have a smart group set so that it would only contain computers with names that don?t match your standard naming conventions and just update those computer names in the JSS database so they will then get the propername on next system startup. Bill Henkel Computer Technician Telephone Support Specialist henkelb at westerntc.edu 608-789-6254 fax: 608-785-9287 From: resourcekit-bounces at list.jamfsoftware.com [mailto:resourcekit-bounces at list.jamfsoftware.com] On Behalf Of Thomas Larkin Sent: Tuesday, September 29, 2009 11:30 AM To: resourcekit at list.jamfsoftware.com; Craig S. Ernst Subject: Re: [Resourcekit] question about this list Yeah that is why I am wondering if I can store something like this in the framework. If you set the name correctly when you image a machine in the JSS then the first script will store that name in a file. I did not incorporate any recon commands into the script but that is something I could do, every time it is ran or the name is set back to what it was, then I could also have it recon it and update the JSS back to the proper name. I also thought about adding a custom policy to this that sends out an email if the script runs successfully. I would have to alter the second script with another exit for that to happen, but that is just one line of code. That way you can get emailed when a user changes the computer name. >>> "Ernst, Craig S." 09/29/09 10:53 AM >>> You are indeed not the only one who has requested this. However, this doesn?t fix this issue when a recon cycle fires off for one reason or another, correct? This is why JAMF needs to build something in. I know that I could script this into a scheduled recon cycle, have it fix the name first, then run the recon command, but that doesn?t stop anyone from just doing a straight up recon when the name isn?t fixed. I do plan to look at your scripts though and see if it helps with the somewhat annoying thing when systems rename themselves with the (X) number after it. Well, great so now the JSS has a system with NAME (X) in it, and now that the JSS doesn?t have separate Computer_ID for AD binding it will bind to AD with what the current name is in the JSS. So if that machine was reimaged...cool now it?s bound with the new name NAME (X), at least that?s my logic right now, and if that?s not right JAMF can kindly let me know. =) If it is right, all the more reason to have machine name enforcement right in the JSS and/or have computer_id binding options back in the system. Thanks for the post, Tom. Craig E On 9/29/09 9:55 AM, "Thomas Larkin" wrote: Well then, I have a bunch of faculty members that have admin rights to their computers, for installing their own software, their own printers, and anything they buy on their budget outside of IT's budget they support themselves. Some of them like to rename their computers so I ended up just disabling the sharing pref pane in System Preferences. That was a bummer to some of them as they like to use blue tooth. Since there is not a way, at least I can tell, to have Casper force the name that is in the JSS I came up with a couple of scripts that do just this. This way I can have a casper policy run once a day on each machine that checks the name, and if the name is good it exits, but if the name has been changed (typically set after imaging) then it gets changed to what it should be. I know I am not the only one that has feature requested this and not the only one that has had issues with name changes. So, this is kind of the same method as dummy packages, but instead I use receipts to maintain the name. http://tlarkin.com/tech/2-shell-scripts-maintain-standard-naming-conventions I cleaned up the scripts a bit since I first made them to fix some things I did wrong. Is there a way to have the JAMF framework run simple scripts at start up? That is my other method of perhaps deploying this, so it all runs locally so if off the network or if the JSS is unreachable, it will still enforce the proper computer name. All of our smart groups are based on naming conventions, so it is important to us to have proper names. Thanks Tom ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 >>> "Ernst, Craig S." 09/29/09 8:46 AM >>> Both...at least make recommendations for stuff to be added. Craig E On 9/29/09 8:41 AM, "Thomas Larkin" wrote: Is this list to discuss the resource kit, or can we submit stuff to be added to it? Thanks Tom ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 -------------- next part -------------- An HTML attachment was scrubbed... URL: From HenkelB at westerntc.edu Tue Sep 29 12:45:52 2009 From: HenkelB at westerntc.edu (Henkel, Bill) Date: Tue, 29 Sep 2009 14:45:52 -0500 Subject: [Resourcekit] question about this list In-Reply-To: References: <4AC218BE.7141.0039.0@kckps.org> Message-ID: <42E2D64DA3F8E54097059032799384A6050AED6880@venus.westerntc.edu> I wonder what would happen if you had your policy that ran the recon also reset the computer name. would the computer name be set before or after the recon? Bill Henkel Computer Technician Telephone Support Specialist henkelb at westerntc.edu 608-789-6254 fax: 608-785-9287 From: Ernst, Craig S. [mailto:ERNSTCS at uwec.edu] Sent: Tuesday, September 29, 2009 2:26 PM To: Thomas Larkin; resourcekit at list.jamfsoftware.com; Henkel, Bill Subject: Re: [Resourcekit] question about this list INDEED! On 9/29/09 2:25 PM, "Thomas Larkin" wrote: Yes, but if the user changes the name in the OS, then next inventory update the JSS gets updated with the wrong name. That is the debacle. ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 >>> "Henkel, Bill" 09/29/09 1:49 PM >>> Casper has the built in abilty to rename the computers back to what it set in the JSS database. I have a policy that runs on startup to set the computer name to what is stored in the JSS database. In the advanced options there is a check box for "Reset Computer Names". You could probably have a smart group set so that it would only contain computers with names that don't match your standard naming conventions and just update those computer names in the JSS database so they will then get the propername on next system startup. Bill Henkel Computer Technician Telephone Support Specialist henkelb at westerntc.edu 608-789-6254 fax: 608-785-9287 From: resourcekit-bounces at list.jamfsoftware.com [mailto:resourcekit-bounces at list.jamfsoftware.com] On Behalf Of Thomas Larkin Sent: Tuesday, September 29, 2009 11:30 AM To: resourcekit at list.jamfsoftware.com; Craig S. Ernst Subject: Re: [Resourcekit] question about this list Yeah that is why I am wondering if I can store something like this in the framework. If you set the name correctly when you image a machine in the JSS then the first script will store that name in a file. I did not incorporate any recon commands into the script but that is something I could do, every time it is ran or the name is set back to what it was, then I could also have it recon it and update the JSS back to the proper name. I also thought about adding a custom policy to this that sends out an email if the script runs successfully. I would have to alter the second script with another exit for that to happen, but that is just one line of code. That way you can get emailed when a user changes the computer name. >>> "Ernst, Craig S." 09/29/09 10:53 AM >>> You are indeed not the only one who has requested this. However, this doesn't fix this issue when a recon cycle fires off for one reason or another, correct? This is why JAMF needs to build something in. I know that I could script this into a scheduled recon cycle, have it fix the name first, then run the recon command, but that doesn't stop anyone from just doing a straight up recon when the name isn't fixed. I do plan to look at your scripts though and see if it helps with the somewhat annoying thing when systems rename themselves with the (X) number after it. Well, great so now the JSS has a system with NAME (X) in it, and now that the JSS doesn't have separate Computer_ID for AD binding it will bind to AD with what the current name is in the JSS. So if that machine was reimaged...cool now it's bound with the new name NAME (X), at least that's my logic right now, and if that's not right JAMF can kindly let me know. =) If it is right, all the more reason to have machine name enforcement right in the JSS and/or have computer_id binding options back in the system. Thanks for the post, Tom. Craig E On 9/29/09 9:55 AM, "Thomas Larkin" wrote: Well then, I have a bunch of faculty members that have admin rights to their computers, for installing their own software, their own printers, and anything they buy on their budget outside of IT's budget they support themselves. Some of them like to rename their computers so I ended up just disabling the sharing pref pane in System Preferences. That was a bummer to some of them as they like to use blue tooth. Since there is not a way, at least I can tell, to have Casper force the name that is in the JSS I came up with a couple of scripts that do just this. This way I can have a casper policy run once a day on each machine that checks the name, and if the name is good it exits, but if the name has been changed (typically set after imaging) then it gets changed to what it should be. I know I am not the only one that has feature requested this and not the only one that has had issues with name changes. So, this is kind of the same method as dummy packages, but instead I use receipts to maintain the name. http://tlarkin.com/tech/2-shell-scripts-maintain-standard-naming-conventions I cleaned up the scripts a bit since I first made them to fix some things I did wrong. Is there a way to have the JAMF framework run simple scripts at start up? That is my other method of perhaps deploying this, so it all runs locally so if off the network or if the JSS is unreachable, it will still enforce the proper computer name. All of our smart groups are based on naming conventions, so it is important to us to have proper names. Thanks Tom ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 >>> "Ernst, Craig S." 09/29/09 8:46 AM >>> Both...at least make recommendations for stuff to be added. Craig E On 9/29/09 8:41 AM, "Thomas Larkin" wrote: Is this list to discuss the resource kit, or can we submit stuff to be added to it? Thanks Tom ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 -------------- next part -------------- An HTML attachment was scrubbed... URL: From nick at jamfsoftware.com Tue Sep 29 12:47:09 2009 From: nick at jamfsoftware.com (Nick Amundsen) Date: Tue, 29 Sep 2009 12:47:09 -0700 Subject: [Resourcekit] question about this list In-Reply-To: <4AC218BE.7141.0039.0@kckps.org> References: <4AC1D976.7141.0039.0@kckps.org> <4AC1EFB0.7141.0039.0@kckps.org> <42E2D64DA3F8E54097059032799384A6050AED670A@venus.westerntc.edu> <4AC218BE.7141.0039.0@kckps.org> Message-ID: <5F212B10-A026-448B-83AB-CEABF76A9751@jamfsoftware.com> Tom, Just wanted to drop a line here that I like your idea of writing out the known good computer name to a file and using a script to reset it. Just to let you know, there is a checkbox in Policies that might come in handy here - the "Make Available Offline" checkbox in the General tab of a policy. This is a quick and easy way to ensure that the scripts will run every startup - even when the clients cannot talk to your JSS. It also provides an easy upgrade path for future changes to the script in allowing the JSS and Casper to take care of the task of getting the script copied to the clients and ensuring that it will run at startup. I hope this is helpful. Nick Amundsen JAMF Software Resource Kit Team On Sep 29, 2009, at 2:25 PM, Thomas Larkin wrote: Yes, but if the user changes the name in the OS, then next inventory update the JSS gets updated with the wrong name. That is the debacle. ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 >>> "Henkel, Bill" > 09/29/09 1:49 PM >>> Casper has the built in abilty to rename the computers back to what it set in the JSS database. I have a policy that runs on startup to set the computer name to what is stored in the JSS database. In the advanced options there is a check box for ?Reset Computer Names?. You could probably have a smart group set so that it would only contain computers with names that don?t match your standard naming conventions and just update those computer names in the JSS database so they will then get the propername on next system startup. Bill Henkel Computer Technician Telephone Support Specialist henkelb at westerntc.edu 608-789-6254 fax: 608-785-9287 From: resourcekit-bounces at list.jamfsoftware.com [mailto:resourcekit-bounces at list.jamfsoftware.com] On Behalf Of Thomas Larkin Sent: Tuesday, September 29, 2009 11:30 AM To: resourcekit at list.jamfsoftware.com; Craig S. Ernst Subject: Re: [Resourcekit] question about this list Yeah that is why I am wondering if I can store something like this in the framework. If you set the name correctly when you image a machine in the JSS then the first script will store that name in a file. I did not incorporate any recon commands into the script but that is something I could do, every time it is ran or the name is set back to what it was, then I could also have it recon it and update the JSS back to the proper name. I also thought about adding a custom policy to this that sends out an email if the script runs successfully. I would have to alter the second script with another exit for that to happen, but that is just one line of code. That way you can get emailed when a user changes the computer name. >>> "Ernst, Craig S." > 09/29/09 10:53 AM >>> You are indeed not the only one who has requested this. However, this doesn?t fix this issue when a recon cycle fires off for one reason or another, correct? This is why JAMF needs to build something in. I know that I could script this into a scheduled recon cycle, have it fix the name first, then run the recon command, but that doesn?t stop anyone from just doing a straight up recon when the name isn?t fixed. I do plan to look at your scripts though and see if it helps with the somewhat annoying thing when systems rename themselves with the (X) number after it. Well, great so now the JSS has a system with NAME (X) in it, and now that the JSS doesn?t have separate Computer_ID for AD binding it will bind to AD with what the current name is in the JSS. So if that machine was reimaged...cool now it?s bound with the new name NAME (X), at least that?s my logic right now, and if that?s not right JAMF can kindly let me know. =) If it is right, all the more reason to have machine name enforcement right in the JSS and/or have computer_id binding options back in the system. Thanks for the post, Tom. Craig E On 9/29/09 9:55 AM, "Thomas Larkin" wrote: Well then, I have a bunch of faculty members that have admin rights to their computers, for installing their own software, their own printers, and anything they buy on their budget outside of IT's budget they support themselves. Some of them like to rename their computers so I ended up just disabling the sharing pref pane in System Preferences. That was a bummer to some of them as they like to use blue tooth. Since there is not a way, at least I can tell, to have Casper force the name that is in the JSS I came up with a couple of scripts that do just this. This way I can have a casper policy run once a day on each machine that checks the name, and if the name is good it exits, but if the name has been changed (typically set after imaging) then it gets changed to what it should be. I know I am not the only one that has feature requested this and not the only one that has had issues with name changes. So, this is kind of the same method as dummy packages, but instead I use receipts to maintain the name. http://tlarkin.com/tech/2-shell-scripts-maintain-standard-naming-conventions I cleaned up the scripts a bit since I first made them to fix some things I did wrong. Is there a way to have the JAMF framework run simple scripts at start up? That is my other method of perhaps deploying this, so it all runs locally so if off the network or if the JSS is unreachable, it will still enforce the proper computer name. All of our smart groups are based on naming conventions, so it is important to us to have proper names. Thanks Tom ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 >>> "Ernst, Craig S." 09/29/09 8:46 AM >>> Both...at least make recommendations for stuff to be added. Craig E On 9/29/09 8:41 AM, "Thomas Larkin" wrote: Is this list to discuss the resource kit, or can we submit stuff to be added to it? Thanks Tom ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 -------------- next part -------------- An HTML attachment was scrubbed... URL: From tlarki at kckps.org Tue Sep 29 12:55:28 2009 From: tlarki at kckps.org (Thomas Larkin) Date: Tue, 29 Sep 2009 14:55:28 -0500 Subject: [Resourcekit] question about this list In-Reply-To: <42E2D64DA3F8E54097059032799384A6050AED6880@venus.westerntc.edu> References: <4AC218BE.7141.0039.0@kckps.org> <42E2D64DA3F8E54097059032799384A6050AED6880@venus.westerntc.edu> Message-ID: <4AC21FDF.7141.0039.0@kckps.org> Yes, I could easily add a recon after the script is ran (or a policy that runs the script) to ensure that when the name is reset back to what it is suppose to be the JSS always has the proper name in it. That would be rather simple actually. ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 >>> "Henkel, Bill" 09/29/09 2:45 PM >>> I wonder what would happen if you had your policy that ran the recon also reset the computer name. would the computer name be set before or after the recon? Bill Henkel Computer Technician Telephone Support Specialist henkelb at westerntc.edu 608-789-6254 fax: 608-785-9287 From: Ernst, Craig S. [mailto:ERNSTCS at uwec.edu] Sent: Tuesday, September 29, 2009 2:26 PM To: Thomas Larkin; resourcekit at list.jamfsoftware.com; Henkel, Bill Subject: Re: [Resourcekit] question about this list INDEED! On 9/29/09 2:25 PM, "Thomas Larkin" wrote: Yes, but if the user changes the name in the OS, then next inventory update the JSS gets updated with the wrong name. That is the debacle. ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 >>> "Henkel, Bill" 09/29/09 1:49 PM >>> Casper has the built in abilty to rename the computers back to what it set in the JSS database. I have a policy that runs on startup to set the computer name to what is stored in the JSS database. In the advanced options there is a check box for ?Reset Computer Names?. You could probably have a smart group set so that it would only contain computers with names that don?t match your standard naming conventions and just update those computer names in the JSS database so they will then get the propername on next system startup. Bill Henkel Computer Technician Telephone Support Specialist henkelb at westerntc.edu 608-789-6254 fax: 608-785-9287 From: resourcekit-bounces at list.jamfsoftware.com [mailto:resourcekit-bounces at list.jamfsoftware.com] On Behalf Of Thomas Larkin Sent: Tuesday, September 29, 2009 11:30 AM To: resourcekit at list.jamfsoftware.com; Craig S. Ernst Subject: Re: [Resourcekit] question about this list Yeah that is why I am wondering if I can store something like this in the framework. If you set the name correctly when you image a machine in the JSS then the first script will store that name in a file. I did not incorporate any recon commands into the script but that is something I could do, every time it is ran or the name is set back to what it was, then I could also have it recon it and update the JSS back to the proper name. I also thought about adding a custom policy to this that sends out an email if the script runs successfully. I would have to alter the second script with another exit for that to happen, but that is just one line of code. That way you can get emailed when a user changes the computer name. >>> "Ernst, Craig S." 09/29/09 10:53 AM >>> You are indeed not the only one who has requested this. However, this doesn?t fanyone from just doing a straight up recon when the name isn?t fixed. I do plan to look at your scripts though and see if it helps with the somewhat annoying thing when systems rename themselves with the (X) number after it. Well, great so now the JSS has a system with NAME (X) in it, and now that the JSS doesn?t have separate Computer_ID for AD binding it will bind to AD with what the current name is in the JSS. So if that machine was reimaged...cool now it?s bound with the new name NAME (X), at least that?s my logic right now, and if that?s not right JAMF can kindly let me know. =) If it is right, all the more reason to have machine name enforcement right in the JSS and/or have computer_id binding options back in the system. Thanks for the post, Tom. Craig E On 9/29/09 9:55 AM, "Thomas Larkin" wrote: Well then, I have a bunch of faculty members that have admin rights to their computers, for installing their own software, their own printers, and anything they buy on their budget outside of IT's budget they support themselves. Some of them like to rename their computers so I ended up just disabling the sharing pref pane in System Preferences. That was a bummer to some of them as they like to use blue tooth. Since there is not a way, at least I can tell, to have Casper force the name that is in the JSS I came up with a couple of scripts that do just this. This way I can have a casper policy run once a day on each machine that checks the name, and if the name is good it exits, but if the name has been changed (typically set after imaging) then it gets changed to what it should be. I know I am not the only one that has feature requested this and not the only one that has had issues with name changes. So, this is kind of the same method as dummy packages, but instead I use receipts to maintain the name. http://tlarkin.com/tech/2-shell-scripts-maintain-standard-naming-conventions I cleaned up the scripts a bit since I first made them to fix some things I did wrong. Is there a way to have the JAMF framework run simple scripts at start up? That is my other method of perhaps deploying this, so it all runs locally so if off the network or if the JSS is unreachable, it will still enforce the proper computer name. All of our smart groups are based on naming conventions, so it is important to us to have proper names. Thanks Tom ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 >>> "Ernst, Craig S." 09/29/09 8:46 AM >>> Both...at least make recommendations for stuff to be added. Craig E On 9/29/09 8:41 AM, "Thomas Larkin" wrote: Thanks Tom ___________________________ Thomas Larkin TIS Department KCKPS USD500 tlarki at kckps.org blackberry: 913-449-7589 office: 913-627-0351 -------------- next part -------------- An HTML attachment was scrubbed... URL: