Re: Registry Silent Import
- From: Matthew Hudson <MatthewHudson@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 18 Sep 2006 13:55:02 -0700
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,
- Follow-Ups:
- Re: Registry Silent Import
- From: KS Loh
- Re: Registry Silent Import
- 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
- Prev by Date: Re: AD Activity in the Last 90 Days
- Next by Date: gathering IE browser helper objects in a report?
- Previous by thread: Re: Registry Silent Import
- Next by thread: Re: Registry Silent Import
- Index(es):
Relevant Pages
|