为什么master..xp_cmdshell 'wmic cpu get *'在2000中可以,在2005中没有结果呢?
是不是有哪里需要设置的呀?
是不是有哪里需要设置的呀?
解决方案 »
- 请问这条SQL语句如何写?
- 改正一个查询语句的错误,大家帮忙看看,谢谢
- 怎样能插入"Aug 14 1996 12:00AM"这种格式的时间进datetime列
- select : 求解~!
- 我做了一个ssis包,里面只有一个ftp连接任务,测试正常,可是一加入作业执行就报错
- 怎么样控制小数点位数!!!!!!!!!
- 存储过程返回值问题,在线等!!!
- 数据库解密失败-是怎么练成的..
- 如何把一个sql server 2000的一个database的某些表全部表包括其中记录复制到sqlserver 2000的另一个database中?
- 在ms sql server 2000存储过程中如何创建触发器?
- 如何跟踪字段值的变化?
- 查询access数据库表中的字段
output
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
請稍候,正在安裝 WMIC。AddressWidth Architecture Availability Caption ConfigManagerErrorCode ConfigManagerUserConfig CpuStatus CreationClassName CurrentClockSpeed CurrentVoltage DataWidth Description
DeviceID ErrorCleared ErrorDescription ExtClock Family InstallDate L2CacheSize L2CacheSpeed LastErrorCode Level LoadPercentage Manufacturer MaxClockSpeed Name OtherFamilyDescription PNPDeviceI
D PowerManagementCapabilities PowerManagementSupported ProcessorId ProcessorType Revision Role SocketDesignation Status StatusInfo Stepping SystemCreationClassName SystemName UniqueId UpgradeMethod Version VoltageCaps 32 0 3 x86 Family 6 Model 15 Stepping 13 1 Win32_Processor 1599 20 32 x86 Family 6 Model 15 Stepping 13 CPU0
200 2 1024 6 6 GenuineIntel 1599 Intel(R) Pentium(R) Dual CPU E2140 @ 1.60GHz
FALSE BFEBFBFF000006FD 3 3853 CPU Socket 775 OK 3 13 Win32_ComputerSystem GOLD-MIS06 4 型號 15,步驟 13 32 0 3 x86 Family 6 Model 15 Stepping 13 1 Win32_Processor 1599 20 32 x86 Family 6 Model 15 Stepping 13 CPU1
200 2 1024 6 2 GenuineIntel 1599 Intel(R) Pentium(R) Dual CPU E2140 @ 1.60GHz
FALSE BFEBFBFF000006FD 3 3853 CPU Socket 775 OK 3 13 Win32_ComputerSystem GOLD-MIS06 4 型號 15,步驟 13 NULL(11 個資料列受到影響)
*/
--SQL Server blocked access to procedure 'xp_cmdshell'
sp_configure 'show advanced options', 1
go
reconfigure
go
sp_configure 'xp_cmdshell', 1
go
reconfigure
go--开启sp_OACreate
--SQL Server blocked access to procedure 'sys.sp_OACreate'
sp_configure 'show advanced options', 1;
go
reconfigure;
go
sp_configure 'ole automation procedures', 1;
go
reconfigure;
go
sp_configure 'Ad Hoc Distributed Queries',1;
go
reconfigure
go
EXEC sp_configure 'show advanced options', 1;RECONFIGURE;EXEC sp_configure 'xp_cmdshell', 1;RECONFIGURE;-- dbcc addextendedproc("xp_cmdshell","xplog70.dll")
分析Mof文件:C:\WINDOWS\system32\wbem\Cli.mof(阶段错误-3)
计算机返回错误 0x80041001
NULL有没有哪位知道的.
http://www.microsoft.com/china/technet/community/scriptcenter/resources/wmifaq.mspx#EFH