Jump to content


jonrowe81

Computer Rename Issues - 99% there, need a little help

Recommended Posts

Everyone,

 

I've been on a mission to get a wireless task sequence working off of a USB jump drive/Stand-alone media OSD scenario, and i'm 99% there. I still have some long-term tweaks, but I am pretty pleased with it so far. The only thing I cannot get going is the computer rename script I have that works FLAWLESSLY over the wire, but since i'm having to join the wireless profile at the end of the task sequence I have to put the Gather/rename script there as well since it pulls our computer-name prefix based on gateway/site IP. This is all done through a custom customsettings.ini file on the gather / process rules step.

 

The task sequence ends successfully, but the computer is not renamed. I look at the smsts.log in windows\ccm\logs and it shows where it goes through my gather phase and computes the OSDComputerName correctly, but it doesn't rename it. It then seems to finish the gather step and move on to my domain join step and eventual reboot/task sequence being completed, successfully.

 

Here's the end of the log:

 

Using COMMAND LINE ARG: Ini file = MPS-Rename.ini InstallSoftware 1/31/2017 4:07:02 PM 3820 (0x0EEC)
Finished determining the INI file to use. InstallSoftware 1/31/2017 4:07:02 PM 3820 (0x0EEC)
Added new custom property MYLOCATION InstallSoftware 1/31/2017 4:07:02 PM 3820 (0x0EEC)
Added new custom property MYSERIAL InstallSoftware 1/31/2017 4:07:02 PM 3820 (0x0EEC)
Using from [settings]: Rule Priority = MODEL,SERIAL,DEFAULT InstallSoftware 1/31/2017 4:07:02 PM 3820 (0x0EEC)
------ Processing the [20DL0079US] section ------ InstallSoftware 1/31/2017 4:07:02 PM 3820 (0x0EEC)
------ Processing the [sERIAL] section ------ InstallSoftware 1/31/2017 4:07:02 PM 3820 (0x0EEC)
Property MYSERIAL is now = MP1368SR InstallSoftware 1/31/2017 4:07:02 PM 3820 (0x0EEC)
Using from [sERIAL]: MYSERIAL = MP1368SR InstallSoftware 1/31/2017 4:07:02 PM 3820 (0x0EEC)
------ Processing the [DEFAULT] section ------ InstallSoftware 1/31/2017 4:07:02 PM 3820 (0x0EEC)
------ Processing the [10.80.16.1] section ------ InstallSoftware 1/31/2017 4:07:03 PM 3820 (0x0EEC)
Property MYLOCATION is now = MPHS InstallSoftware 1/31/2017 4:07:03 PM 3820 (0x0EEC)
Using from [10.80.16.1]: MYLOCATION = MPHS InstallSoftware 1/31/2017 4:07:03 PM 3820 (0x0EEC)
Process completed with exit code 0 InstallSoftware 1/31/2017 4:07:03 PM 3820 (0x0EEC)
Property OSDCOMPUTERNAME is now = MPHS-MP1368SR InstallSoftware 1/31/2017 4:07:03 PM 3820 (0x0EEC)
Using from [DEFAULT]: OSDCOMPUTERNAME = MPHS-MP1368SR InstallSoftware 1/31/2017 4:07:03 PM 3820 (0x0EEC)
------ Done processing MPS-Rename.ini ------ InstallSoftware 1/31/2017 4:07:03 PM 3820 (0x0EEC)
Remapping variables. InstallSoftware 1/31/2017 4:07:03 PM 3820 (0x0EEC)
Property TaskSequenceID is now = InstallSoftware 1/31/2017 4:07:03 PM 3820 (0x0EEC)
Property DeploymentType is now = NEWCOMPUTER InstallSoftware 1/31/2017 4:07:03 PM 3820 (0x0EEC)
Finished remapping variables. InstallSoftware 1/31/2017 4:07:03 PM 3820 (0x0EEC)
ZTIGather processing completed successfully. InstallSoftware 1/31/2017 4:07:03 PM 3820 (0x0EEC)
Command line cscript.exe "C:\_SMSTaskSequence\WDPackage\Scripts\ZTIGather.wsf" returned 0 InstallSoftware 1/31/2017 4:07:03 PM 3820 (0x0EEC)
ReleaseSource() for D:\SMS\PKG\MPS00131. InstallSoftware 1/31/2017 4:07:03 PM 3820 (0x0EEC)
The user tries to release a source directory D:\SMS\PKG\MPS00131 that is either already released or we have not connected to it. InstallSoftware 1/31/2017 4:07:03 PM 3820 (0x0EEC)
Process completed with exit code 0 TSManager 1/31/2017 4:07:03 PM 2828 (0x0B0C)
!--------------------------------------------------------------------------------------------! TSManager 1/31/2017 4:07:03 PM 2828 (0x0B0C)
Successfully completed the action (Gather) with the exit win32 code 0 TSManager 1/31/2017 4:07:03 PM 2828 (0x0B0C)
Do not send status message in full media case TSManager 1/31/2017 4:07:03 PM 2828 (0x0B0C)
Set a global environment variable _SMSTSLastActionRetCode=0 TSManager 1/31/2017 4:07:03 PM 2828 (0x0B0C)
Set a global environment variable _SMSTSLastActionSucceeded=true TSManager 1/31/2017 4:07:03 PM 2828 (0x0B0C)
Clear local default environment TSManager 1/31/2017 4:07:03 PM 2828 (0x0B0C)
Updated security on object C:\_SMSTaskSequence. TSManager 1/31/2017 4:07:03 PM 2828 (0x0B0C)

 

I know this is something i'm missing, something very logical I should get about the placement but alas I do not.

 

Can anyone help me on how I can get this last step going?

TIA!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.