萬盛學電腦網

 萬盛學電腦網 >> 數據庫 >> mysql教程 >> sql寫注冊表語句例句

sql寫注冊表語句例句

   首先開啟沙盤模式:

  exec master..xp_regwrite 'HKEY_LOCAL_MACHINE','SOFTWAREMicrosoftJet4.0Engines','SandBoxMode','REG_DWORD',1

  讀注冊表

  exec master..xp_regread 'HKEY_LOCAL_MACHINE','SOFTWAREMicrosoftWindows NTCurrentVersionWinlogon','Userinit'

  寫注冊表

  exec master..xp_regwrite 'HKEY_LOCAL_MACHINE','SOFTWAREMicrosoftJet4.0Engines','SandBoxMode','REG_DWORD',1

  REG_SZ

copyright © 萬盛學電腦網 all rights reserved