Quantcast
Channel: Configuration Manager 2007 Operating System Deployment forum
Viewing all 1063 articles
Browse latest View live

Adding an OU column to a report.....

$
0
0

Does anyone know off the top of their head how to add and populate and OU column to the sql statement for a report?

declare @CI_ID int; select @CI_ID=CI_ID from v_ConfigurationItems where CIType_ID=9 and CI_UniqueID=@AuthListID

declare @CollCount int, @NumClients int; select @CollCount = count(*), @NumClients=isnull(sum(cast(IsClient as int)), 0) from v_ClientCollectionMembers ccm where ccm.CollectionID=@CollID

select 
CollectionName=vc.Name, 
NumberInCollection=@CollCount,
NonClients=@CollCount-@NumClients,  
PComputers=convert(numeric(5,2), (@CollCount-@NumClients)*100.00 / isnull(nullif(@CollCount, 0), 1))
from v_Collection vc
where vc.CollectionID=@CollID

select 
CollectionID=@CollID,
Status=sn.StateName,
NumberOfComputers=count(*),
PComputers=convert(numeric(5,2), (isnull(count(*), 0)* 100.00 / isnull(nullif(@CollCount, 0), 1))),
AuthListID=@AuthListID
from v_ClientCollectionMembers cm
join v_UpdateListStatus_Live cs on cs.CI_ID=@CI_ID and cs.ResourceID=cm.ResourceID
left join v_StateNames sn on sn.TopicType=300 and sn.StateID=isnull(cs.Status, 0)
where cm.CollectionID=@CollID
group by sn.StateName
order by count(*) desc


Running schtasks from a task sequence - problem with 2012 but not in 2008

$
0
0

I am building a task sequence to deploy Server 2012 via SCCM 2007 R3.  Everything works except when I try to call and execute a file that is in the C:\windows\system32 and the syswow64 directory.  I don't understand the problem because I have a nearly identical task sequence to deploy Server 2008 R2 and it doesn't give me this problem.

The issue is running schtasks from a task sequence in 2012.  The line I am using is:  schtasks /create /tn "Delete SystemState Backup" /xml "C:\Install\Miscellaneous\Delete SystemState Backup.xml"

I have tried both checking and unchecking the Disable 64-bit file system redirection.  The error in the smsts log is the same:

ERROR: The system cannot find the path specified.

If the file resides in both system32 and syswow64 directories, why can't it find it when I run the above command?

One other thing I found odd is when that task failed, I hit F8 and did a SET PATH.  There is no path to the c:\windows\syswow64 directory.  This is not WinPE by the way.  That could be an issue, but if so, how do I explicitly tell it where to find the file I want?




OSD problems with the RebootStep Variable when using HP Bare Metal Deployment Template

$
0
0

Hello All

I create my task sequence using the HP ProLiant Bare Metal Deployment Template wizard.  HP included all the driver packs, boot disks, needed software packages, etc.   

When booting from a media to an unknown computer, I can select the task sequence but I always receive an error on the RebootStep Variable.  Looking at the smsts.log file I am getting a critical error when trying to look for "GetResourceID" and forced to reboot

  GetResourceID: starting...                                                                                            
  GetResourceID: Querying the provider to find the resource ID of this machine.                                                                                            
  GetResourceID: Query: Select * from SMS_R_System where SMSUniqueIdentifier = 'a9a658b7-0c10-4b67-aa07-3c9f083c547e'                                                                                            
   SetError: starting...                                                                                            
    #########=[  CRITICAL ERROR  ]=######################################                                                                                           
    ###   ERROR CODE:  1                                                                                                                                                                                      
    ###   DESCRIPTION: GetResourceID: ERROR : Could not locate the computer ID in WMI                                                                                                                                                                                      
    ###   SEVERITY:    3 (critical error)                                                                                                                                                                                     

This is the highlighted line in the SMS Trace

Failed to run the action: Set RebootStep Variable.
Incorrect function. (Error: 00000001; Source: Windows)    TSManager    9/13/2012 11:22:25 AM    1168 (0x0490)

Any assistance is appreciated

EEPC RefreshTool with SCCM

$
0
0

I have a customer who is attempting to upgrade its Windows XP systems to Windows 7.  The systems are encrypted with EEPC 6.1.1 PL2.

We have built the WinPE 3.0 wim with the EEPC filter drivers and registry keys per the documentation for the RefreshTool.  We can boot into the Windows PE environment and see the C: drive.

During the Apply OS task, quite a few files fail to get deleted.  I don't think it's particularly important which files fail to get deleted, as I can delete them in Windows XP before launching the task sequence, and different files fail to delete.  If I launch a command prompt in WinPE, I am unable to delete the files.  I've tried Unlocker, which helps some, but does not delete everything.

That's problem number 1.  I can provide a list of files if anyone thinks it's important.

I can move the undeletable files to the _SMSTaskSequence folder to get them out of the way.  If I do this, I encounter another error.


WIM
error:C:\Windows\winsxs\amd64_microsoft-windows-comdlg32.resources_31bf3856ad364e35_6.1.7600.16385_pt-br_48875666f652ed22.
Permissions on the requested may be configured incorrectly.

Access is denied. (Error: 80070005; Source:
Windows)     ApplyOperatingSystem 2/23/2012 11:56:52 AM  1596 (0x063C)

It's not an issue with permissions.  Over 1,000 files get created in the WinSXS folder before this one errors.  The folder it fails on is consistant for any given WIM.

I've found one other person who encountered a similar error:

https://community.mcafee.com/message/211797

If I decrypt the system, the task sequence works like a charm and I encounter none of these issues.  Decrypting production systems for the upgrade is not an option (corporate security policy).

We have engaged both Microsoft Premier Support and McAfee Platinum Support, but have no resolution yet.  Any contributions from the community would be greatly appreciated.


Nicholas Jones, MCITP® | Core Infrastructure Consultant | Sparkhound | https://www.mcpvirtualbusinesscard.com/VBCServer/nicholas.jones/profile

Software package to injest drivers into PC's driverstore

$
0
0

I want to run a pnputil -a <driver>.inf to injest some old Brother drivers via a software distribution. If I run the command via DOS as admin then all is fine. However when using software distribution I get a 'Failed (bad environment)' error. Note I have not specified an O/S for this deployment so can't imagine any conflict here.

Am I able to run the pnputil command or do I need to call up DOS first to successfully deploy? eg cmd /K: pnputil -a <driver>.inf?

 

Thanks

Applying WinPE without reboot.

$
0
0
I am trying to split the apply WinPE and reboot to WinPE as 2 different parts in my task sequnce. The reason for this is because i need to run a cmd line before it boots into WinPE. The cmd actually makes changes to the applied WinPE. Is this possible and how.

Excluding local users in USMT 4.0 offline migration

$
0
0

Hi,

How would i exclude local users during offline migration with USMT? Whenever i use /ue:%computername%\* it still proceeds to capture user state information of local users... The issue is probably %computername% resolves to MININT-XXX computername, which obviously is wrong.. How do i specify exclusion of local user accounts then?

Thanks

Where can I find the TS on standalone media?

$
0
0

Says it all really

I've looked in the boot wim and had a quick look through some of the packages and I can't find where the task sequence is located.

Can someone assist please?

Thanks, Phil


Change location of SMSPXEIMAGES$

$
0
0
We currently have 2 DPs and 1 PXE server in our environment.  Due to changes in our SAN, we need to move the location of the SMSSIG$\SMSPXEIMAGES$.  Since this is currently set up as a share, can this be copied to another location, or do we have to go through the steps to uninstall the PXE role and re-install, and then recopy?

Policy Retrieval Error 80041010 in WinPE Task Sequence Startup

$
0
0
I have a tech in a remote office who is getting the above error after entering the password at task sequence startup. The smsts.log file show the query to get the mac address seems to fail (see below). What would cause this error?

getPointer()->ExecQuery( BString(L"WQL"), BString(pszQuery), lFlags, pContext, ppEnum ), HRESULT=80041010 (e:\nts_sms_fre\sms\framework\core\ccmcore\wminamespace.cpp,383)TSMBootstrap5/29/2013 9:09:52 AM1480 (0x05C8)
spNamespace.Query(c_szMACAddressQuery, &spEnum), HRESULT=80041010 (e:\nts_sms_fre\sms\framework\tscore\tspolicy.cpp,575)TSMBootstrap5/29/2013 9:09:52 AM1480 (0x05C8)
Query SELECT MACAddress FROM Win32_NetworkAdapterConfiguration WHERE IPEnabled=true OR IPXEnabled=true failed (Code 0x80041010)TSMBootstrap5/29/2013 9:09:52 AM1480 (0x05C8)
TS::Policy::GetClientIdentity( &m_oHttpTransport, m_sSiteCode, sMediaGuid.c_str(), m_sClientGUID, m_sNetbiosName, bUnknown ), HRESULT=80041010 (e:\nts_sms_fre\sms\framework\tscore\tspolicy.cpp,791)TSMBootstrap5/29/2013 9:09:52 AM1480 (0x05C8)
m_pPolicyManager->init( sMP, ulMpPort, sSiteCode, lstrcmpW(sUseSSL.c_str(),L"true")==0, lstrcmpW(sUseCRL.c_str(),L"true")==0, L"", sMediaPfx, sMediaGuid, sEnterpriseCert, sServerCerts, sSiteSigningCert, sAuthenticator), HRESULT=80041010 (e:\nts_sms_fre\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,941)TSMBootstrap5/29/2013 9:09:52 AM1480 (0x05C8)
Exiting TSMediaWizardControl::GetPolicy. TSMBootstrap5/29/2013 9:09:52 AM1480 (0x05C8)
pWelcomePage->m_pTSMediaWizardControl->GetPolicy(), HRESULT=80041010 (e:\nts_sms_fre\sms\client\tasksequence\tsmbootstrap\tsmediawelcomepage.cpp,280)TSMBootstrap5/29/2013 9:09:52 AM1480 (0x05C8)
Setting wizard error: An error occurred while retrieving policy for this computer  (0x80041010). For more information, please contact your system administrator or helpdesk operator.TSMBootstrap5/29/2013 9:09:52 AM1432 (0x0598)

someone tell me for buliding & capturing image it's necessary to add VM machine drivers into boot images?

$
0
0
someone tell me for buliding & capturing image it's necessary to add VM machine drivers into boot images?

OS Deployment - Failed to get client identity 80004005

$
0
0

 

Hello all,

Hopefully someone will have a solution to this issue. I've only found one site with a similar problem (http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=2352753&SiteID=17) and the solution was to rebuild the SCCM server, which I have done. Yet the issue persists. After working my way through countless issues with SCCM, this seems to be the only obstacle in my way. Here is the situation:

 

1. I boot the bare metal client system to PXE and the boot image loads

2. The SCCM status messages appear "Windows is starting up..." and then "Preparing Network Connections..."

3. The client machine hangs for a minute or so, then reboots.

 

I have enabled the command prompt shell in the boot image and can ping the SCCM server and name resolution work fine, so I know it isn't an issue with the network drivers. Below is the log information from the client. Just as an FYI, the Server is running in "Mixed Mode", so I'm not really understanding the why the identification is an issue. As best I can understand the client is requesting information from the server at a certain point and getting a blank reply.

 

<![LOG[MP Ports: http=80, https=443, default=80]LOG]!><time="09:20:53.765+000" date="06-10-2008" component="TSPxe" context="" type="1" thread="1324" file="tsmediawizardcontrol.cpp:551">
<![LOG[Missing root CA environment variable from variables file]LOG]!><time="09:20:53.765+000" date="06-10-2008" component="TSPxe" context="" type="1" thread="1324" file="tsmediawizardcontrol.cpp:561">
<![LOG[Custom hook from X:\\TSConfig.INI is ]LOG]!><time="09:20:53.765+000" date="06-10-2008" component="TSPxe" context="" type="1" thread="1324" file="tsmediawizardcontrol.cpp:594">
<![LOG[No custom hook found]LOG]!><time="09:20:53.765+000" date="06-10-2008" component="TSPxe" context="" type="1" thread="1324" file="tsmediawizardcontrol.cpp:442">
<![LOG[No Need to create Authenticator Info]LOG]!><time="09:20:53.765+000" date="06-10-2008" component="TSPxe" context="" type="1" thread="1324" file="tsmediawizardcontrol.cpp:720">
<![LOG[Getting MP time information]LOG]!><time="09:20:53.781+000" date="06-10-2008" component="TSPxe" context="" type="1" thread="1324" file="tsmediawizardcontrol.cpp:731">
<![LOG[Requesting client identity]LOG]!><time="09:20:54.000+000" date="06-10-2008" component="TSPxe" context="" type="1" thread="1324" file="libsmsmessaging.cpp:4574">
<![LOG[CLibSMSMessageWinHttpTransport:Tongue Tiedend: URL: sccm.mpmc.hos:80  CCM_POST /ccm_system/request]LOG]!><time="09:20:54.062+000" date="06-10-2008" component="TSPxe" context="" type="1" thread="1324" file="libsmsmessaging.cpp:6043">
<![LOG[pNext != NULL, HRESULT=80004005 (e:\nts_sms_fre\sms\framework\osdmessaging\libsmsmessaging.cpp,1825)]LOG]!><time="09:20:54.109+000" date="06-10-2008" component="TSPxe" context="" type="0" thread="1324" file="libsmsmessaging.cpp:1825">
<![LOG[reply has no message header marker]LOG]!><time="09:20:54.109+000" date="06-10-2008" component="TSPxe" context="" type="3" thread="1324" file="libsmsmessaging.cpp:1825">
<![LOG[DoRequest (sReply, true), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\osdmessaging\libsmsmessaging.cpp,4674)]LOG]!><time="09:20:54.109+000" date="06-10-2008" component="TSPxe" context="" type="0" thread="1324" file="libsmsmessaging.cpp:4674">
<![LOG[Failed to get client identity (80004005)]LOG]!><time="09:20:54.109+000" date="06-10-2008" component="TSPxe" context="" type="3" thread="1324" file="libsmsmessaging.cpp:4795">
<![LOG[ClientIdentity.RequestClientIdentity (), HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,793)]LOG]!><time="09:20:54.109+000" date="06-10-2008" component="TSPxe" context="" type="0" thread="1324" file="tsmediawizardcontrol.cpp:793">
<![LOG[failed to request for client]LOG]!><time="09:20:54.109+000" date="06-10-2008" component="TSPxe" context="" type="3" thread="1324" file="tsmediawizardcontrol.cpp:793">
<![LOG[Exiting TSMediaWizardControl::GetPolicy.]LOG]!><time="09:20:54.109+000" date="06-10-2008" component="TSPxe" context="" type="0" thread="1324" file="tsmediawizardcontrol.cpp:1083">
<![LOG[GetPolicy(), HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,2007)]LOG]!><time="09:20:54.109+000" date="06-10-2008" component="TSPxe" context="" type="0" thread="1324" file="tsmediawizardcontrol.cpp:2007">
<![LOG[RunWizardForPXE(), HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,2308)]LOG]!><time="09:20:54.125+000" date="06-10-2008" component="TSPxe" context="" type="0" thread="1324" file="tsmediawizardcontrol.cpp:2308">
<![LOG[oTSMediaWizardControl.Run( sMediaRoot, true, true ), HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\tsmbootstrap\tsmbootstrap.cpp,936)]LOG]!><time="09:20:54.125+000" date="06-10-2008" component="TSPxe" context="" type="0" thread="1324" file="tsmbootstrap.cpp:936">
<![LOG[Execute( eExecutionEnv, sConfigPath, sTSXMLFile, uBootCount, &uExitCode ), HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\tsmbootstrap\tsmbootstrap.cpp,1045)]LOG]!><time="09:20:54.125+000" date="06-10-2008" component="TSPxe" context="" type="0" thread="1324" file="tsmbootstrap.cpp:1045">
<![LOG[Exiting with return code 0x80004005]LOG]!><time="09:20:54.125+000" date="06-10-2008" component="TSPxe" context="" type="1" thread="1324" file="tsmbootstrap.cpp:1057">
<![LOG[Execution complete.]LOG]!><time="09:20:54.171+000" date="06-10-2008" component="TSBootShell" context="" type="1" thread="844" file="bootshell.cpp:620">
<![LOG[Finalizing logging from process 824]LOG]!><time="09:20:54.171+000" date="06-10-2008" component="TSBootShell" context="" type="1" thread="844" file="tslogging.cpp:1736">
<![LOG[Finalizing logs to root of first available drive]LOG]!><time="09:20:54.171+000" date="06-10-2008" component="TSBootShell" context="" type="1" thread="844" file="tslogging.cpp:1578">
<![LOG[Successfully finalized logs to C:\SMSTSLog]LOG]!><time="09:20:54.250+000" date="06-10-2008" component="TSBootShell" context="" type="1" thread="844" file="tslogging.cpp:1635">
<![LOG[Cleaning up task sequencing logging configuration.]LOG]!><time="09:20:54.250+000" date="06-10-2008" component="TSBootShell" context="" type="0" thread="844" file="tslogging.cpp:578">

 

 

I'm at my wits end with this software, if I can't find a solution to this problem pretty soon, I will tell management here to can the whole idea and stick with the norton ghost setup.

SCCM OSD Task Sequences Failing - 0x80070002 or 0x80004005

$
0
0

Hoping that someone can offer me some advice on an intermitant issue we are having when deploying Windows 7 to various devices using a Zero Touch approach.

The Task Sequences had been completing successfully each time until one day they just started throwing up errors.

They seemed limited to either 0x80070002, 0x80004005 or HTTP 401 and pointed toward the Network Access Account. We ensured the account had share and NTFS permissions, was unlocked in AD and that the password was correct. This, to us anyway, kinda ruled out permissions as the issue especially because it was intermitant.

We are experiencing problems with Windows 7 client PCs dropping out of DNS and wondered if this was perhaps an issue. We enabled command prompt in our Boot Images and the PC is picking up a valid IP address and can communicate with the SCCM box no problem (and vice versa from SCCM - once the WinPE firewall is disabled). Even at the point of failure the IP config of the client seems okay.

The problem is also intermitant. We can run a complete OSD TS one minute then it will fail running the same TS on the same client PC moments later with the same issues - unable to connect to the DP for package X.

We are running ConfigMgr 2007 R3 with Advanced Client 4.00.6487.2000.

Thanks in advance for any feedback : )

SCCM - failed durring applying OS error code 0x80070002

$
0
0

Hello,

I'm trying to deploy and OSD to a Dell Latitude E6520. It fails during the applying Operating system error code 0x80070002. I press f8 and run ipconfig in the cmd prompt and I do not get an IP. So I would believe it would be a network driver issue? I have loaded all the cab drivers (unpacked), and network drivers from Dell's website and applied to the boot image.

Any suggestions?

thx


Wave~Chaser


Task Sequence - Vbscript/Batch file

$
0
0

Experts,

I have a small VB script file to delete folder in c drive and tested manually working fine. When tested in SCCM Task Sequence it wont work. i have tried as batch file also, but no luck. Is there any way to call the script in SCCM Task sequence? how to achieve this task, please advice.


Enabling PXE for AD site with superneting IP subnets

$
0
0

Hi,

Quick question..!!

We have one of AD site with superneting IP subnets and SCCM boundary configured for this site. will it work if we enable/configure PXE point on local DP? 

Thanks

PXE Boot

$
0
0
Hi,

I have a SCCM2007 setup with a PXE Point and all other stuff and it's just working!!! my problem is that we also have XenDesktop Enviroment wich also boot from the network but from another PXE point, for some reason the VDI's started to catch the SCCM PXE point first instead of the one from XenDesktop, my question is there a way to put an deplay in the SCCM PXE so that it's not respondig that fast ?

//Thomas

OSD TS Env Questions

$
0
0

I am customizing a Front End .HTA for our Organizations OS deployment, I'm making use of several of the SCCM TS Environment Variables such as as _SMSTSMachineName, OSDComputerName, & OSDDomainOUName.  In doing so a question came up while determining the New Systems Machine Name My Script Starts as the First Task in the TS and begins by determining if the computer has been assigned a name, I do this by checking the "_SMSTSMachineName" Variable, if nothing is there I Assume the system is New and Begin a "BareMetal" series asking for User Imput.  If there is a computer name I then move on to other tasks

My question(s)

1.  When are the TS Variables initialized?

2.  If Set with a Script, will the Variables be present after reboots?

3.  I'm using OSDDomainOUName to do some OU Hoping for security reasons, when is this Variable populated?

4.  I have been seeing an error in my script that leads me to believe the COM object "Microsoft.SMS.TSEnvironment" is not always available during the OSD/TS process, is this the case?


OSD - Create stand alone media without network through USB

$
0
0

Hi

 We have remote site that not possible to deploy OS through SCCM due to bandwith issues

 But unfortunately I was not able to apply the images ..

Please find below the step I did

Step 1. created stand Alone Media  (Create stand alone media without network and select the USB)

Step 2. I boot the USB

Step 3. Boot from "Windows PE" and formatted the disk

Step 4. Reboot the machine again ( Boot from "Windows PE" and formatted the disk

I'm stop in Step "4" Keep the USB boot and format the disk and soon

I was NOT able to reach the applying the OS ?

Please advise why I'm NOT able to reach in the applying the OS maybe their somthing wrong on my task sequence ?  keep repeating the step every time boot in USB

Please advise

Unable to pxe boot from a USB Ethernet Dongle on a Dell XPS 13

$
0
0

Hi

I was recently asked to setup a Windows 7 image in SCCM for the new Dell XPS 13 Ultrabook laptops.

These don't come with a built in NIC so we had to buy a ethernet dongle to connect to the network. I am trying to boot to this USB device via PXE but I dont see the option to boot from the USB device (its not listed). In the bios I did change the boot order to have USB on the top of the list.

It doesnt even see it plugged in, the light on the dongle is not lit up. 

I was able to create a boot disk (WinPE created by SCCM 2007) on a USB stick. This is the only way I have been able to successfully connect to the sccm infrastructure and image my machine successfully.

On the laptop, the right port is USB 3.0 and I had to add some extra drivers to my boot image. 

I really need the ablility to PXE boot this laptop since this is our current process for imaging.

Does anyone have any advice? Thanks

Viewing all 1063 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>