Thomas M
-
Posts
23 -
Joined
-
Last visited
Posts posted by Thomas M
-
-
I was just working on this yesterday actually.
Simple batch file and a reg file that I import to the default user profile.
Basically the same procedure as Lucid explained.
-
I install all software using task sequences myself, but I guess it's a bit slower than bundling it together with the image.
However, I do not have to update my base image at all, and only make changes to the application packages.
That saved me from having to create a new image when I deployed Office 2010.
-
Ps. If anyone has a good solution to format the InstallDate string I'd be very happy.
InstallDate=20100728133244.000000+120
Would prefer it to be in a readable format (2010-07-28 13:32:44)
I know this can be done easily in PowerShell, but as we've still got some XP clients without the Powershell client I don't think that can be done.
This is why I've decided to use a simple batch script to be run using the logon script.
-Thomas
-
I pull this info out in order to have a complete register of all our computer systems in case of theft or insurance issues.
DNSHostName=XXX10001
Manufacturer=LENOVO
Version=ThinkCentre A57
Model=970273G
SerialNumber=LMXXXXX
UserName=Domain\Username
FullName=Lastname, Firstname Middlename
Caption=Microsoft Windows 7 Enterprise
Version=6.1.7600
OSArchitecture=64-bit
InstallDate=20100728133244.000000+120
IPAddress={"10.0.0.2","fe80::19da:933c:93c4:51a1"}
MACAddress=00:11:22:33:44:AA
Here's the script
@echo off
WMIC PATH Win32_ComputerSystem Get DNSHostName /Value | FIND "="
WMIC PATH Win32_BIOS Get Manufacturer /Value | FIND "="
WMIC PATH Win32_ComputerSystemProduct Get Version /Value | FIND "="
WMIC PATH Win32_ComputerSystem Get Model /Value | FIND "="
WMIC PATH Win32_BIOS Get SerialNumber /Value | FIND "="
WMIC PATH Win32_ComputerSystem Get UserName /Value | FIND "="
WMIC PATH Win32_UserAccount where name="%username%" get FullName /value | FIND "="
WMIC PATH Win32_OperatingSystem Get Caption /Value | FIND "="
WMIC PATH Win32_OperatingSystem Get Version /Value | FIND "="
WMIC PATH Win32_OperatingSystem Get OSArchitecture /Value | FIND "="
WMIC PATH Win32_OperatingSystem Get InstallDate /Value | FIND "="
WMIC PATH Win32_NetworkAdapterConfiguration where "IPEnabled=true" Get IPAddress /Value | FIND "="
WMIC PATH Win32_NetworkAdapterConfiguration where "IPEnabled=true" Get MACAddress /Value | FIND "="
-
Your problem is: Failed to resolve package source "SKS00005".
This seems to be the package of your SCCM CLient. Make sure the package excists on the DP and that it is accesible for the client machine.
Not sure if this helps, but I'll post it anyway.
When I first setup the sccm site here, I reran the configuration wizard multiple times.
I noticed that every time I did so, the share permissions for the SCCM client disappeared.
So I put the SCCM files on a different server in order to avoid that problem.
You might want to check the share permissions.
-
I have had the same problem with the Lenovo W510.
I suspect the problem is the same, so I will suggest you fetch the Ethernet drivers directly from Intel instead of using Dell's drivers.
http://downloadmirror.intel.com/18713/a08/PROWin32.exe
I added the driver to the boot images, and created a driver package for it.
-
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run] "CTFMON.EXE"=- [HKEY_USERS\.Default\Software\Microsoft\Windows\CurrentVersion\Run] "CTFMON.EXE"=-
What does this bit of the registry file actually do?
As far as I understand it stops CTFMON.EXE from running.
Is this needed?
-
C:\Users\(Username)\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
I could not find such a location for "all users" or "default user".
A script that may help: http://blogs.technet.com/deploymentguys/archive/2009/04/08/pin-items-to-the-start-menu-or-windows-7-taskbar-via-script.aspx
I didn't try this though..
-
If you see no need to make an image, then don't do it I guess.
I can't see a problem doing it the way you explain, but I guess you'll be the one to tell us if there are any problems
-
Package and distribution point.
No program as far as I know, but I've never been able to get that unattend.xml file to work properly.
I just ended up using DISM to put the unattend.xml into the image.
-
Try to add the test pc to the collection you have advertised the TS to again.
What I usually see with my test PC is that I need to add it again every time I successfully run a OS install on it, as there's suddenly multiple objects in SCCM.
-
How does your task sequence look?
I think one of those steps give your computer the name.
If you want to skip that you probably need to skip more settings like domain join etc. and do them manually.
Did you consider just renaming the computers?
-
Thanks for the replies.
This would imply me either changing how the All Systems collection works, or create a new collection and change the advertisement.
So lets say I do the latter, create a new collection and edit my advertisement.
How will this affect the computers who have already run the advertisement?
What I want to avoid is all the computers running the advertisement twice
-
Does anyone know of a good step-by-step guide from setting up a server for Microsoft Forefront Client Security to deploying the client and updating definitions?
Not that I don't know how to google, but I would like a place to also discuss the guide and improvements.
Much like this place, forums with guides and active people trying to achieve the same things.
-
Hi,
before i try this please ensure the following:
1. I install the reference Computer and customize it.
2. I create and place a unattend.xml file into the sysprep folder of my reference PC. I start running sysprep with generalzize switch and shutdown the PC.
3. I boot the PC and SCCM start the Task Sequence once it has been detected by PXE Boot
4. SCCM will capture the Image and i save it.
5. I use the captured image and install it onto a new PC. Once the new PC starts it should have my customized settings?
1: Yes
2: I put the Unattend.xml into the c:\windows\system32\sysprep folder. I didnt run the sysprep COMMAND, a task sequence ran that command for me.
If you create a "Build and Capture" TS, then remove the top part called Build.
That should leave you with a capture sequence you can run from Windows after you're done customizing and you have placed your unattend.xml file.
3: answer above
4: Capture sequence will automatically put the image on the network location you have specified. You'll know when it's done when the computer starts asking for language settings etc.
5: It did have my customized settings, but it did not have settings for networklocation as I had hoped.
Also windows update was not set like I wanted.
My next attempt was this:
I created an unattend file to specify network location and windows update.
integrated it to my deployment TS, but when I did that suddenly all my premade customizations on the image disappeared.
I suspect the image customization is where I need to place these settings aswell.
Will test more.
-
I have a software advertised to the "All Computers" collection.
I want to make a temporary exception for one computer that will used for imaging.
I imagine it's not possible to remove a computer from that collection.
If I stop an advertisement and start it later, how will this affect the computers that have already installed this package?
Will they need to run it again or will they recognize the advertisement and know they already have it installed?
Perhaps I should modify my installation to check for the application before installing it.
That way I wouldn't have to worry about these things.
I'd like some best practice advice here
-
After I rebooted, the windows 7 desktop background appeared, so I'm not gonna worry anymore about that issue.
-
Update:
It worked! Kinda...
Well, my regional settings are now applied correctly:
Formats (for time and currency), Location, Keyboard layout(both default and additional) and Timezone has turned out exactly like I customized my desktop prior to the capture TS.
What's weird is my desktop background is Microsoft System Center Configuration Manager 2007... This may be due to a bug or due to me clicking something wrong.
I'll also need to set my network location to "Work" automatically. I know this can be done using unattend.xml but I will have to look into where this unattend.xml needs to be placed.
I suspect it is during the deployment after the capture TS has run.
I will redo everything tomorrow and write down a step-by-step guide with pictures.
At least it's possible to do this.
-
I just read this:
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/Windows_7/Q_24871141.html
Scroll to the bottom to find this post.
This is a solution I just came up with I have tested it several times and it works....
Do on your PC
This answer file can be reused as long as the NEW PC is created from the same Windows 7 DVD.
1. Install the AIK on your PC.
2. Copy install.wim and install_Windows 7 ENTERPRISE.clg to your temp directory from the sources folder on the Windows 7 DVD you used.
3. Run AIK and open install.wim as the windows image file.
4. Create a new answer file.
5. In bottom let pane right click on the Microsoft-Windows-Shell_Setup and add setting to pass 4 specialize.
6. Open 4 specialize in Middle Pane.
7. Click on the Microsoft-Windows-Shell_Setup and in far right pane choose true for CopyProfile and enter ProductKey.
8. Save Answer File to your temp directory as unattend.xml
Do on the NEW PC
1. Install Windows 7 on the New PC and sign on as the administrator and set up pc the way you want it (Programs, Start Menu, Power Settings, Home Page&).
2. Copy the unattend.xml to the NEW PC to the windows\system32\sysprep directory
3. Run sysprep /generalize /unattend:unattend.xml from the sysprep directory while signed on as administrator. Choose Generalize and Shut Down.
4. Write Ghost up to server.
This will produce a system independent image. Meaning you should be able to use it on any hardware, pc or laptop.
[/Quote]
This is NOT intended for SCCM, but for Ghost.
I'm trying to make a few adjustments to make it work with SCCM.
My testing will involve this:
1: Create one Build TS and one Capture TS. (If you followed Anyweb's guides you will know how to do this)
2: Log on to the local administrator account and make all changes I need to apply to the OS image. (The local administrator because once I run the capture TS I will have to run the sysprep from the local account and not a domain account because the first step in my capture TS is to join a workgroup.)
3: Copy the unattend.xml file into the sysprep directory.
4: Log on to the domain and run the Capture TS.
I will post back with my results once this has been tested.
Ps. my unattend.xml file contains this:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CopyProfile>true</CopyProfile>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:g:/windows%207%20deployment/7x86ent.wim#1" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
[/Quote]
Pps. I don't recommend using my unattend.xml file in case it contains information specific to my configuration.
-
Perhaps.. the order of your task sequence has an effect.
By looking at my win7 deployment I have the "Apply Network Settings" task directly after the "Apply Windows Settings" task.
You could try to rearrange your tasks a bit.
-
Just a thought, could your domain policy be prohibiting it to join due to certain restrictions?
Perhaps the local administrator password does not meet domain policy requirements, and that would stop the machine from joining the domain?
Did you check to see if the OU you selected is there and that your account has permissions for that specific OU?
-
You read this right?
How to customize default user profiles in Windows 7
http://support.microsoft.com/?id=973289
Perhaps the problem is your capture task sequence also includes a sysprep command, which may or may not reset your copyprofile settings?
I am not sure, but I think you need to create a custom capture task sequence that uses your sysprep command with the unattend.xml file.
Configure default user profile while deploying windows 7
in Deploy 7
Posted
I have this program in the same place as Lucid in the Task Sequence.
I've done this with Batch scripting and a registry file though. Bit of a manual job setting up the reg file, but it's working fine so far.
I've got two files:
Norway.cmd
Norway.reg
I've done it this way as it was the first way that popped into my head.
Don't know if it's a good enough method, or if perhaps Lucid's way is better?
Stuff works in my environment though, but would appreciate a comment if anyone has some input.