Jump to content

imbecile29

Member
  • Posts

    6
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    New Zealand

About imbecile29

imbecile29's Achievements

0

Reputation

  1. Thanks MrJinje for your quick replies. I have recreated everything (Unattend.xml, Regtweak, Setupcomplete.cmd) hence the change from "default" to "zzz" thought maybe naming it default might be an issue. Sorry should have mentioned that. I saw someone else’s setupcomplete.cmd file on this site and have changed mine to match and it seems to be working now for some reason here is what I’m currently using. @echo off cd\ start /wait reg load "hku\zzz" "C:\Users\Default\NTUSER.DAT" start /wait regedit.exe /s C:\Windows\Setup\scripts\RedirectDocumentsDesktop.reg start /wait reg unload "hku\zzz" exit The main difference is changing to the root of the drive and instead of using "reg import" using "regedit.exe /s" I don't know if it was this or recreating all the other files but it seems to be working. The one problem I have now is when clicking on your personal folder (click start > Your username) the folders are doubled up eg two desktop, documents, my pictures folders etc. I have seen a post with someone having a similar issue but can't recall where.
  2. --Reg File Windows Registry Editor Version 5.00 [HKEY_USERS\zzz\Software\Microsoft\Windows\CurrentVersion\RunOnce] "CreateMyPicMyMusic"="rundll32 mydocs.dll,PerUserInit" [HKEY_USERS\zzz\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders] "Personal"="D:\\%USERNAME%\\My Documents" "Desktop"="D:\\%USERNAME%\\Desktop" "Favorites"="D:\\%USERNAME%\\Favorites" "My Pictures"="D:\\%USERNAME%\\My Pictures" "My Music"="D:\\%USERNAME%\\My Music" "My Video"="D:\\%USERNAME%\\My Videos" [HKEY_USERS\zzz\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders] "Desktop"=hex(2):44,00,3a,00,5c,00,25,00,55,00,53,00,45,00,52,00,4e,00,41,00,\ 4d,00,45,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,00,00 "Favorites"=hex(2):44,00,3a,00,5c,00,25,00,55,00,53,00,45,00,52,00,4e,00,41,00,\ 4d,00,45,00,25,00,5c,00,46,00,61,00,76,00,6f,00,72,00,69,00,74,00,65,00,73,\ 00,00,00 "Personal"=hex(2):44,00,3a,00,5c,00,25,00,55,00,53,00,45,00,52,00,4e,00,41,00,\ 4d,00,45,00,25,00,5c,00,4d,00,79,00,20,00,44,00,6f,00,63,00,75,00,6d,00,65,\ 00,6e,00,74,00,73,00,00,00 "My Pictures"=hex(2):44,00,3a,00,5c,00,25,00,55,00,53,00,45,00,52,00,4e,00,41,\ 00,4d,00,45,00,25,00,5c,00,4d,00,79,00,20,00,44,00,6f,00,63,00,75,00,6d,00,\ 65,00,6e,00,74,00,73,00,5c,00,4d,00,79,00,20,00,50,00,69,00,63,00,74,00,75,\ 00,72,00,65,00,73,00,00,00 Here is the registry file i'm trying to import. I'm already using the <CopyProfile>true</CopyProfile> in my unattended file to copy settings to the default profile but I thought that these tweaks wouldn't work because it would copy the currently logged in profile which would cause the default profile to have a static values and all new users would be pointing to the same desktop, my documents folders etc. But I may be wrong about this; this is just what I assumed would happen. Hope this makes sense.
  3. Firstly thanks for the reply Ideally like I did with XP I would make the changes before sysprep. When trying that with win7 I make the changes then sysprep and before booting it up I load the ntuser.dat file again and my changes are allready missing. Which is why I thought I would try making the registry changes via unattended method as you have suggested. I have tried this aswell. I see a command prompt window open and close but the default ntuser.dat remains untouched. Which is why I posted the batch file just incase there was a mistake in it. Will this run with admin privledges? I'm using ghost to create and deploy the images. So I'm placing the file in C:\windows\setup\scripts\setupcomplete.cmd. I then sysprep the computer. Capture and deploy it to another computer. but after setup and oobe have run it appears as if the setupcomplete.cmd hasn't been run.
  4. Hi everyone This is my first time creating a Windows 7 sysprep image and what we normally do with XP is make the C drive the system partition and the D partition store the users desktop, documents, pictures folders etc. (The profile is still stored in C:\users but we move the location of those folders editing the following reg keys HKEY_USERS\Default\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders) Normally I would apply these changes to the default user profile. When making these same changes to Windows 7 and running sysprep all these changes to the default user ntuser.dat file are lost. When I have tried to use FirstLogonCommands (OOBE) or RunSynchronous (Specialize) using the following batch file neither seem to have an effect. <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> <Description>test</Description> <RequiresUserInput>false</RequiresUserInput> <CommandLine>C:\script\first.cmd</CommandLine> </SynchronousCommand> </FirstLogonCommands> --first.cmd start /wait reg load "hku\default" "C:\Users\Default\NTUSER.DAT" start /wait reg import C:\script\RedirectDocumentsDesktop.reg start /wait reg unload "hku\default" Can anyone suggest what I might be doing wrong or a better way of doing it?
  5. Hi Hope this is the correct place for this. I'm looking at WDS Deployment at the moment and want to know if it is possible to run a batch file after the wim as been applied? I'm using a Boot image and the wizard to deploy so normally after the wizard has finished applying the image it restarts automatically. I know I could probably use a base Winpe wim and run wdmcast to connect to the multicast session and run the script after that has finished but wondered if the above was possible. Also when compared to Ghost WDS deployement seems to take a lot longer. I noticed that it copies the wim locally first then applys it. Is this needed? is there something I can do to speed things up. Thanks in advance.
  6. Hi everyone My situation at the moment is that we will be ordering around 100 Dells at the beginning of next year. We will be giving the sysprep image to dell for them to load on at the factory. The computer names in our organisation are based on user ID numbers. When we get the computer here what I would like to do is read the serial number (asset tag) off the box and add it to a txt file. Then plug it in and turn it on and before the computer runs the mini setup (or during I don’t care) it needs to look up the serial number for the computer in the text file on a network drive and return the correct user id and edit the sysprep.ini with this computer name. I know I could do this If I was doing it straight after imaging using WinPE but because dell are doing the imaging I don’t know how I can run anything before sysprep is run. Also to get the serial number I need to be able to make WMI calls don’t know if this is possible before or during sysprep. I have browsed through the forums and have seen some mention wsname and compname but I would like to rename and connect using the sysprep mini setup if possible. Also someone has mentioned using the factory option of sysprep but I don’t know how this would work in my situation. Any help or suggestions would be great. Thanks in advance.
×
×
  • Create New...