win_regQuery ( WIN_HKEY_LOCAL_MACHINE, cKeyWks, "UseOpportunisticLocking", 0, lSetIt )īRetVal := bRetVal. win_regQuery ( WIN_HKEY_LOCAL_MACHINE, cKeySrv, "SMB2", 0, lSetIt )īRetVal := bRetVal. * If SMB2 is enabled turning off oplocks does not work, so SMB2 is required to be turned off on Server. win_regQuery ( WIN_HKEY_LOCAL_MACHINE, cKeySrv, "SharingViolationRetries", 0, lSetIt ) win_regQuery ( WIN_HKEY_LOCAL_MACHINE, cKeySrv, "SharingViolationDelay", 0, lSetIt )īRetVal := bRetVal. win_regQuery ( WIN_HKEY_LOCAL_MACHINE, cKeySrv, "EnableOpLockForceClose", 1, lSetIt )īRetVal := bRetVal. win_regQuery ( WIN_HKEY_LOCAL_MACHINE, cKeySrv, "EnableOpLocks", 0, lSetIt ) /* Q124916 */īRetVal := bRetVal. win_regQuery ( WIN_HKEY_LOCAL_MACHINE, cKeySrv, "CachedOpenLimit", 0, lSetIt )īRetVal := bRetVal. wapi_IsUserAnAdmin ( )īRetVal := bRetVal. */įUNCTION win_osNetRegOk ( lSetIt, lDoVista )īRetVal := win_regQuery ( WIN_HKEY_LOCAL_MACHINE, "System \CurrentControlSet \Services \VxD \VREDIR", "DiscardCacheOnOpen", 1, lSetIt )ĬKeySrv := "System \CurrentControlSet \Services \LanmanServer \Parameters"ĬKeyWks := "System \CurrentControlSet \Services \LanmanWorkStation \Parameters" * NOTE: To change any of these registry settingsĪdministrator rights are required by default in Windows.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |