Re: Registry Silent Import
- From: KS Loh <KSLoh@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 22 Sep 2006 07:01:02 -0700
Hi Matthew,
Good day.
Thanks for your assistant, your method did work for me. I will test with
other condition and combination to see does it work on different condition or
not.
Regards,
"Matthew Hudson" wrote:
did this work for you?.
"KS Loh" wrote:
Hi Matthew,
Good day.
Thanks for your guideline, it will be great that you can send me the screen
shot how to create your package.
You can reach me at keansengloh@xxxxxxxxxxx
Appreciate your assistant for the above.
Regards,
"Matthew Hudson" wrote:
Just put your reg file and your .bat file in one package directory.
In the batch file just put "reg.exe /s tesing.reg"
---Here is a batch file from my screen saver package.
------------------------no-one-screen.bat
rem This file must be run as admin since it sets the main default setting
for the computer
regedit.exe /s none-set.reg
regedit.exe /s none-slide.reg
md "%windir%\screensaver\"
copy /y logomap.jpg "%windir%\screensaver\"
-------------------------
All I am doing here is moving our custom screen saver to all the comptuers
for the .Default user, so when no one is logged on there is a screen saver
other than the MS logo. All these files are in one directory.
My package is set to run a no-one-screen.bat in hidden mode,
Enviroment: Only when no user is logged on
run with Admin rights
Suppress Notification
---------------------------- none-set.reg
Windows Registry Editor Version 5.00
[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"ScreenSaverIsSecure"="1"
"ScreenSaveTimeOut"="60"
"ScreenSaveActive"="1"
"SCRNSAVE.EXE"="ssmypics.scr"
"Wallpaper"="tamusys.bmp"
------------------------------------
Here is one of my reg files. It occured to me....do you have the "Windows
Registry Editor Version 5.00" at the top of your file?
I would be happy to send you files and screen shots directly so you can see
how I have the whole package setup.
"KS Loh" wrote:
Hi,
I already tested with below method create package program and command line
as %comspec% /c cp_4.bat
cp_4.bat as below
copy \\x.x.x.x\download\testing.reg c:\
regedit /s/v c:\testing reg
The advertisement successfully did copy testing.reg to c:\ but regedit
cannot update the registry.
Looking forward for solution that able to assist me to solve above problem.
Regards,
"Matthew Hudson" wrote:
fYou need to download the registry file to the cache folder instead of trying
to use a network mapped drive. Then set the advertisement to hidden and
they will never know it was run. We send down Reg files all time with not
problem.
"KS Loh" wrote:
The key that I would like to update is HKCU and we need it to be run on
silent mode and load hives that you mention does not support on Windows 2000
or XP client.
Looking forward for more guide on this.
"Todd Hemsell" wrote:
what key are you updating? If you are trying to update HKCU you need to run
as user or load the hives and then edit them
"KS Loh" <KS Loh@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:11412C67-45C8-4B9C-BC65-07CEA36F167A@xxxxxxxxxxxxxxxx
Hi all,
I am using batch file for this registry silent import.
I create batch file as test.bat and create sms package & advertisement
net use s: \\server\path
copy s:\testing.reg c:\
regedit /s c:\testing.reg
net use s: /delete
Client computer able to receive advertisement from SMS server and run
above
batch file and manage to copy file only but cannot update registry.
Any idea for the above or not. Hope to receive some guide line for the
above
to solve my problem.
Regards,
- References:
- Re: Registry Silent Import
- From: KS Loh
- Re: Registry Silent Import
- From: Matthew Hudson
- Re: Registry Silent Import
- From: KS Loh
- Re: Registry Silent Import
- From: Matthew Hudson
- Re: Registry Silent Import
- Prev by Date: Re: Why is the XPSP2.MOF query only returning one PC?
- Next by Date: Re: "Connection Failed" message after SQL failure
- Previous by thread: Re: Registry Silent Import
- Next by thread: Problem creating a collection - can anyone help an SMS newbie?
- Index(es):
Relevant Pages
|