PDA

View Full Version : Replacement for RedrTest.Exe



NewsArchive
04-08-2011, 01:25 AM
RedrTest.Exe date: Nov 19 2002 System date: 4/7/2011

ComputerName: DS-EDVARD-PC

Microsoft Redirector Version: Not Applicable

NetWare Redirector Version: Not Applicable

Client32 Redirector Version: Not Installed

EnableOpLocks = 1 - SHOULD BE CHANGED
EnableOpLockForceClose = 0 - SHOULD BE CHANGED
CachedOpenLimit = 1 - SHOULD BE CHANGED

I need to setOplocks etc on newer pc's than my version of redrTest.exe
can handle.
Any godd suggestions out there?

Best regards

Edvard Korsbæk

NewsArchive
04-08-2011, 01:25 AM
Hi Edvard,

Why don't you build your own OpLocks tool with SetupBuilder?

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is Windows 7 installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
04-08-2011, 01:25 AM
How to?
Your exellent doc don't know the word Oplocks

Just a hint!

mgg

Edvard Korsbæk

NewsArchive
04-08-2011, 01:26 AM
Hi Edvard,

> How to?
> Your exellent doc don't know the word Oplocks
>
> Just a hint!

Hmm, "hint"? <g> Do you see "Oplocks" in the Clarion documentation <g>
It's not related to the SetupBuilder or Clarion development environment.

Enabling/disabling opportunistic locking "oplocks" is nothing more than
simple registry settings <g>

As an example, see the attached "disableoplocks_server.sbi" include script
for SetupBuilder. Just use "#include script..." in your .sb7 project to
disable opportunistic locking on servers.

You can disable oplocks for servers, for workstations, you can enhance it by
adding other options (e.g. disabling Oplocks on SMB2 for Vista+ and
Win2008+), disable Read Caching on Windows Workstations, etc. You have full
control over this if you build your own tool.

Does this help?

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is Windows 7 installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
04-08-2011, 01:27 AM
BTW, if you need help with this (e.g. the "workstation" and/or the "SMB2"
part) just let me know.

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is Windows 7 installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
04-08-2011, 01:27 AM
Hi Friedrich

I just want to make sure your example works on xp vista, windows 7 and
windows server..

You also mentioned you can disable read caching. Can it also disable write
behind caching. If so how.

Thanks
Gary

NewsArchive
04-08-2011, 01:27 AM
Hi Gary,

> I just want to make sure your example works on xp vista, windows 7 and
> windows server..
>
> You also mentioned you can disable read caching. Can it also disable
> write behind caching. If so how.

I might be wrong, but I think this can't be done via a registry
modification.

You have to open the Device Manager, choose Properties of the Disk Drive
holding the data and then under Policies, uncheck "Enable write caching" (or
check). You have to repeat the steps for all hard drives in your system.

Friedrich

NewsArchive
04-08-2011, 01:28 AM
Thanks

Gary Hoffman

NewsArchive
04-08-2011, 01:28 AM
Edvard

You are welcome to use these Registry Set Programs.

http://garagepartner.com/clarion/regsetclalocal.zip
compiled local mode

http://garagepartner.com/clarion/regsetcladll.zip
compiled DLL mode

Lets you set all needed reg setting at once.
Allows you to rollback if needed

When I get a chance I will include the actual registry setting code to
view.

Dan

--

Dan Scott
C55 C6.3 C7.1 LEGACY
www.garagepartner.com

King of questions for Clarion Third Party

Plan A is always more effective when the device you are working on
understands that Plan B involves a larger hammer