Jump to content


Canada Jack

Established Members
  • Posts

    56
  • Joined

  • Last visited

Everything posted by Canada Jack

  1. Check your network driver first, make sure you can get an ip address during the deploy time.
  2. Now I found the issue is: The script only works for current user. But if I create a new user, it will not works. In other words, it doesn't apply for deftalut user. Why?
  3. Thanks Eswar, but I put your script in TS, still doesn't works. I mean, put this script in Domain's Group Policy's login or startup script, it will works. But I just want figure out why the registry setting doesn't works.
  4. I just want set up an image as background. So create one package that includes one vb script and one jpg files. I put this in the last step in TS. After the SCCM process was complete, but the background didnt change. I check c drive, the jpg is copy to correct location, but nothing change in registry. When I test this script by manually, its works. Its seem once SCCM is complete, it did some cleanup process. This is my script. Option Explicit '******************************************* Declarations Dim wshShell,wshNetwork,fileSys,objRegistry,oProcEnv,oSystem,oBios,objServ,oHardware Set wshShell = WScript.CreateObject("WScript.Shell") Set wshNetwork = CreateObject("WScript.Network") Set fileSys = CreateObject("Scripting.FileSystemObject") 'Set the error count to 0 nErrorcount = 0 WshShell.Run "reg load ""HKU\Default User"" ""c:\Users\Default\ntuser.dat""",2,True 'Change Desktop Wallpaper fileSys.CopyFile currentdir & "att.JPG", "c:\windows\web\wallpaper\" WshShell.RegWrite "HKCU\Control Panel\Desktop\Wallpaper","c:\windows\web\wallpaper\att.JPG","REG_SZ" WshShell.RegWrite "HKEY_USERS\Default User\Control Panel\Desktop\Wallpaper","C:\WINDOWS\web\wallpaper\att.JPG","REG_SZ" WshShell.RegWrite "HKEY_USERS\.Default\Control Panel\Desktop\Wallpaper","C:\WINDOWS\web\wallpaper\att.JPG","REG_SZ" WshShell.RegWrite "HKCU\Control Panel\Desktop\WallpaperStyle","0","REG_SZ" WshShell.RegWrite "HKEY_USERS\Default User\Control Panel\Desktop\WallpaperStyle","0","REG_SZ" WshShell.RegWrite "HKEY_USERS\.Default\Control Panel\Desktop\WallpaperStyle","0","REG_SZ" WshShell.Run "reg unload ""HKU\Default User""",2,True Wscript.Quit nErrorCount Please give some idea, thanks.
  5. Hi Guys I use SCCM 2007 to deploy Vista image, the image is complete on client Pcs, but but none of the drivers didn't install. SCCM 2007 Drivers Client C drive Base on this snapshot, I just take a guess: it's seem access issues, because I didn't see drivers folder on C drive, right? But I set administrator accound for this, it should be no problem. So could you guys give me some idea? thanks a lot. smsts-20110516-212844.log smsts.log
×
×
  • 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.