Page 1 of 1 1
Topic Options
#3099 - 2000-05-24 02:37 AM Registry Fine Tuning
Anonymous
Unregistered


Hi there
I am trying to modify the registry to set a number of options in it.
They include, Changing the size of the pagefile, clearing the pagefile at shut down, setting the default screensaver, telling the machine not to maintain a master list & then telling the machine that it is not the domainmaster.

I have tried logging on as both a user & domain admin onto a machine.

anything under HKLM, does not get modified, even with the domain admin account.
Regarding the normal user I will find a way to use SU to rectify the problem.

regarding the screen saver, all of the settings are there & work great except for the screensaver itself. If I look in the registry, the correct screensaver is listed there. If I go to screensaver properties, it says none. ??? does this with multiple screensaver types
Calling the SMSLS.bat file does not work either
Most of the clients are Winnt.

Here is the script that I am trying to use


; SETCONSOLE ("HIDE")
; Setting the default screen saver
Copy \\jnbmerdc1\netlogon\merchants.scr c:\winnt\
WriteValue ("Control Panel\Desktop","Screensaveactive","1","reg_sz")
WriteValue ("Control Panel\Desktop","ScreensaverIsSecure","1","reg_sz")
WriteValue ("Control Panel\Desktop","Screensavetimeout","300","reg_sz")
WriteValue ("Control Panel\Desktop","Scrnsave.exe","c:\winnt\beziers.scr","reg_sz")


; Modifying the Registry

WriteValue ("CurrentcontrolSet\Services\browser\Parameters","Isdomainmaster","False","Reg_sz")

WriteValue ("CurrentcontrolSet\Services\browser\Parameters","Maintainserverlist","NO","Reg_sz")

WriteValue ("CurrentcontrolSet\Services\CDROM","Autorun","0","Reg_dword")

WriteValue ("System\CurrentcontrolSet\Control\Session manager\subsystems","Windows","%SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,3072,1024 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=16","Reg_expand_sz")

WriteValue ("System\CurrentcontrolSet\Control\Session manager\memory management","clearpagefileatshutdown","0","reg_dword")

WriteValue ("System\CurrentcontrolSet\Control\Session manager\memory management","pagingfiles","c:\pagefile.sys 200 200","Reg_multi_sz")

; Setting the Computers local time
Settime "\\jnbmerdc1"

; Setting the H: & P:
Use h: "\\@homeshr"
Use p: "\\jnbmerdc1\public"


; Saving & clearing the event logs
md c:\winnt\eventlogs
backupeventlog( "application" , "c:\winnt\eventlogs\application01.evt")
backupeventlog( "system","c:\winnt\eventlogs\system01.evt")
; Calling SMSLS.bat
Shell @ldrive + "\smsls.bat

Thanks in advance

------------------

Top
#3100 - 2000-05-24 07:38 AM Re: Registry Fine Tuning
Anonymous
Unregistered


Well the anwser to your screen saving ? is place it in system32 directory that should fix that problem.
Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 271 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.047 seconds in which 0.022 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org