windows-sbs-2011 – SBS 2011“迁移后所有GC都已关闭”

我有一台SBS 2008服务器,它的最后一步,所以我从SBS 2008迁移到SBS 2011.

一切都很顺利,直到我走到最后一步,在旧的SBS 2008机器上做了一个dcpromo,把它从网络上取下来.它拒绝断开与网络的连接(它有……问题),所以我按照technet说明进行了dcpromo / forceremoval,然后在强行从网络中删除域控制器后进行了清理.

现在,乐趣真的开始了.我对登录网络进行身份验证似乎没有任何问题,Exchange适用于所有人,网络共享正常,文件夹重定向很好,但是当我转到任何域级配置(例如站点和服务或去修改GPO)我得到:

Naming information cannot be located because:

The specified domain either does not exist or could not be contacted.

Contact your system administrator to verify that your domain is
properly configured and is currently online.

ipconfig / all:

C:\Windows\system32>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : EPPINGSBS2011
   Primary Dns Suffix  . . . . . . . : epping.local
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : epping.local

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Virtual Machine Bus Network Ada
pter
   Physical Address. . . . . . . . . : 00-15-5D-A1-85-02
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::40a5:9698:961:869b%11(Preferred)
   Link-local IPv6 Address . . . . . : fe80::cb10:e7e2:95aa:a038%11(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.2.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.2.254
   DHCPv6 IAID . . . . . . . . . . . : 234886493
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-16-35-19-31-00-15-5D-02-02-06

   DNS Servers . . . . . . . . . . . : fe80::cb10:e7e2:95aa:a038%11
                                       192.168.2.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{F662EDAB-23E8-433D-89E8-0832059C3278}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

这里是nltest / server:eppingsbs2011 /dsgetdc:epping.local:

C:\Windows\system32>nltest /server:eppingsbs2011 /dsgetdc:epping.local
           DC: \\EPPINGSBS2011.epping.local
      Address: \\192.168.2.1
     Dom Guid: c36db7ef-81b9-4487-93ad-f582e745f27a
     Dom Name: epping.local
  Forest Name: epping.local
 Dc Site Name: Default-First-Site-Name
Our Site Name: Default-First-Site-Name
        Flags: PDC GC DS LDAP KDC WRITABLE DNS_DC DNS_DOMAIN DNS_FOREST CLOSE_SI
TE FULL_SECRET WS
The command completed successfully

正如你可以看到的那样,一切都看起来像是有序的,直到你到达dcdiag(在其所有可怕的荣耀中):

Directory Server Diagnosis


Performing initial setup:

   Trying to find home server...

   Home Server = EPPINGSBS2011

   * Identified AD Forest. 
   Done gathering initial info.


Doing initial required tests


   Testing server: Default-First-Site-Name\EPPINGSBS2011

      Starting test: Connectivity

         ......................... EPPINGSBS2011 passed test Connectivity



Doing primary tests


   Testing server: Default-First-Site-Name\EPPINGSBS2011

      Starting test: Advertising

         Fatal Error:DsGetDcName (EPPINGSBS2011) call failed,error 1355

         The Locator could not find the server.

         ......................... EPPINGSBS2011 failed test Advertising

      Starting test: FrsEvent

         ......................... EPPINGSBS2011 passed test FrsEvent

      Starting test: DFSREvent

         ......................... EPPINGSBS2011 passed test DFSREvent

      Starting test: SysVolCheck

         ......................... EPPINGSBS2011 passed test SysVolCheck

      Starting test: KccEvent

         A warning event occurred.  EventID: 0x80000B46

            Time Generated: 11/21/2011   20:47:41

            Event String:

            The security of this directory server can be significantly enhanced by configuring the server to reject SASL (Negotiate,Kerberos,NTLM,or Digest) LDAP binds that do not request signing (integrity verification) and LDAP simple binds that  are performed on a cleartext (non-SSL/TLS-encrypted) connection.  Even if no clients are using such binds,configuring the server to reject them will improve the security of this server. 


         An error event occurred.  EventID: 0xC0000837

            Time Generated: 11/21/2011   20:48:12

            Event String:

            The Active Directory Domain Services database has been restored using an unsupported restoration procedure. 


         ......................... EPPINGSBS2011 failed test KccEvent

      Starting test: KnowsOfRoleHolders

         ......................... EPPINGSBS2011 passed test KnowsOfRoleHolders

      Starting test: MachineAccount

         ......................... EPPINGSBS2011 passed test MachineAccount

      Starting test: NCSecDesc

         ......................... EPPINGSBS2011 passed test NCSecDesc

      Starting test: NetLogons

         ......................... EPPINGSBS2011 passed test NetLogons

      Starting test: ObjectsReplicated

         ......................... EPPINGSBS2011 passed test ObjectsReplicated

      Starting test: Replications

         ......................... EPPINGSBS2011 passed test Replications

      Starting test: RidManager

         ......................... EPPINGSBS2011 passed test RidManager

      Starting test: Services

            w32time Service is stopped on [EPPINGSBS2011]

            NETLOGON Service is paused on [EPPINGSBS2011]

         ......................... EPPINGSBS2011 failed test Services

      Starting test: SystemLog

         An error event occurred.  EventID: 0x0000041E

            Time Generated: 11/21/2011   20:00:21

            Event String:

            The processing of Group Policy failed. Windows could not obtain the name of a domain controller. This could be caused by a name resolution failure. Verify your Domain Name System (DNS) is configured and working correctly.

         An error event occurred.  EventID: 0x0000041E

            Time Generated: 11/21/2011   20:05:26

            Event String:

            The processing of Group Policy failed. Windows could not obtain the name of a domain controller. This could be caused by a name resolution failure. Verify your Domain Name System (DNS) is configured and working correctly.

         An error event occurred.  EventID: 0x0000041E

            Time Generated: 11/21/2011   20:05:26

            Event String:

            The processing of Group Policy failed. Windows could not obtain the name of a domain controller. This could be caused by a name resolution failure. Verify your Domain Name System (DNS) is configured and working correctly.

         An error event occurred.  EventID: 0x0000041E

            Time Generated: 11/21/2011   20:05:27

            Event String:

            The processing of Group Policy failed. Windows could not obtain the name of a domain controller. This could be caused by a name resolution failure. Verify your Domain Name System (DNS) is configured and working correctly.

         An error event occurred.  EventID: 0x0000041E

            Time Generated: 11/21/2011   20:10:15

            Event String:

            The processing of Group Policy failed. Windows could not obtain the name of a domain controller. This could be caused by a name resolution failure. Verify your Domain Name System (DNS) is configured and working correctly.

         An error event occurred.  EventID: 0x0000041E

            Time Generated: 11/21/2011   20:10:15

            Event String:

            The processing of Group Policy failed. Windows could not obtain the name of a domain controller. This could be caused by a name resolution failure. Verify your Domain Name System (DNS) is configured and working correctly.

         An error event occurred.  EventID: 0x0000041E

            Time Generated: 11/21/2011   20:15:20

            Event String:

            The processing of Group Policy failed. Windows could not obtain the name of a domain controller. This could be caused by a name resolution failure. Verify your Domain Name System (DNS) is configured and working correctly.

         An error event occurred.  EventID: 0x0000041E

            Time Generated: 11/21/2011   20:15:21

            Event String:

            The processing of Group Policy failed. Windows could not obtain the name of a domain controller. This could be caused by a name resolution failure. Verify your Domain Name System (DNS) is configured and working correctly.

         An error event occurred.  EventID: 0x0000041E

            Time Generated: 11/21/2011   20:15:21

            Event String:

            The processing of Group Policy failed. Windows could not obtain the name of a domain controller. This could be caused by a name resolution failure. Verify your Domain Name System (DNS) is configured and working correctly.

         An error event occurred.  EventID: 0x0000041E

            Time Generated: 11/21/2011   20:20:37

            Event String:

            The processing of Group Policy failed. Windows could not obtain the name of a domain controller. This could be caused by a name resolution failure. Verify your Domain Name System (DNS) is configured and working correctly.

         An error event occurred.  EventID: 0x0000041E

            Time Generated: 11/21/2011   20:20:37

            Event String:

            The processing of Group Policy failed. Windows could not obtain the name of a domain controller. This could be caused by a name resolution failure. Verify your Domain Name System (DNS) is configured and working correctly.

         An error event occurred.  EventID: 0x0000041E

            Time Generated: 11/21/2011   20:25:21

            Event String:

            The processing of Group Policy failed. Windows could not obtain the name of a domain controller. This could be caused by a name resolution failure. Verify your Domain Name System (DNS) is configured and working correctly.

         An error event occurred.  EventID: 0x0000041E

            Time Generated: 11/21/2011   20:25:21

            Event String:

            The processing of Group Policy failed. Windows could not obtain the name of a domain controller. This could be caused by a name resolution failure. Verify your Domain Name System (DNS) is configured and working correctly.

         An error event occurred.  EventID: 0xC0001B58

            Time Generated: 11/21/2011   20:38:12

            Event String:

            The Link-Layer Topology Discovery Mapper I/O Driver service failed to start due to the following error: 


         An error event occurred.  EventID: 0xC0001B58

            Time Generated: 11/21/2011   20:38:12

            Event String:

            The Link-Layer Topology Discovery Responder service failed to start due to the following error: 


         An error event occurred.  EventID: 0xC0001B59

            Time Generated: 11/21/2011   20:38:22

            Event String:

            The Kerberos Key Distribution Center service depends on the Active Directory Domain Services service which failed to start because of the following error: 


         An error event occurred.  EventID: 0xC0001B59

            Time Generated: 11/21/2011   20:38:48

            Event String:

            The DNS Server service depends on the Active Directory Domain Services service which failed to start because of the following error: 


         An error event occurred.  EventID: 0x0000040B

            Time Generated: 11/21/2011   20:38:49

            Event String:

            The DHCP service was unable to create or lookup the DHCP Users local group on this computer.  The error code is in the data.

         An error event occurred.  EventID: 0x0000040C

            Time Generated: 11/21/2011   20:38:49

            Event String:

            The DHCP server was unable to create or lookup the DHCP Administrators local group on this computer.  The error code is in the data.

         An error event occurred.  EventID: 0xC0001B59

            Time Generated: 11/21/2011   20:38:49

            Event String:

            The Intersite Messaging service depends on the Active Directory Domain Services service which failed to start because of the following error: 


         An error event occurred.  EventID: 0xC0001B70

            Time Generated: 11/21/2011   20:41:20

            Event String:

            The Microsoft Exchange Forms-Based Authentication service service terminated with service-specific error %%-2147467259.

         An error event occurred.  EventID: 0xC0001B70

            Time Generated: 11/21/2011   20:41:22

            EvtFormatMessage failed (second call),error 15030 The description string for parameter reference (%1) could not be found..
            (Event String (event log = System) could not be retrieved,error

            0x3ab6)

         An error event occurred.  EventID: 0xC0001B7E

            Time Generated: 11/21/2011   20:41:33

            Event String:

            The SPTimerV4 service was unable to log on as EPPING\spfarm with the currently configured password due to the following error: 


         An error event occurred.  EventID: 0xC0001B58

            Time Generated: 11/21/2011   20:41:33

            Event String:

            The SharePoint 2010 Timer service failed to start due to the following error: 


         An error event occurred.  EventID: 0xC0001B7E

            Time Generated: 11/21/2011   20:41:34

            Event String:

            The SPWriterV4 service was unable to log on as EPPING\spfarm with the currently configured password due to the following error: 


         An error event occurred.  EventID: 0xC0001B58

            Time Generated: 11/21/2011   20:41:34

            Event String:

            The SharePoint 2010 VSS Writer service failed to start due to the following error: 


         A warning event occurred.  EventID: 0x80001421

            Time Generated: 11/21/2011   20:41:37

            Event String:

            The Windows Process Activation Service (WAS) encountered an error attempting to look up the built in IIS_IUSRS group.  There may be problems in viewing and setting security permissions with the IIS_IUSRS group.  This happens if the machine has been joined and promoted to be a Domain Controller in a legacy domain.  Please see the online help for more information and solutions to this problem.  The data field contains the error number.

         An error event occurred.  EventID: 0xC0001B83

            Time Generated: 11/21/2011   20:45:57

            Event String:

            The Group Policy Client service did not shut down properly after receiving a preshutdown control.

         An error event occurred.  EventID: 0xC0001B83

            Time Generated: 11/21/2011   20:46:17

            Event String:

            The Microsoft Exchange Replication service did not shut down properly after receiving a preshutdown control.

         A warning event occurred.  EventID: 0x000003F6

            Time Generated: 11/21/2011   20:48:13

            Event String:

            Name resolution for the name _ldap._tcp.Default-First-Site-Name._sites.epping.local timed out after none of the configured DNS servers responded.

         A warning event occurred.  EventID: 0x0000A001

            Time Generated: 11/21/2011   20:48:17

            Event String:

            The Security System could not establish a secured connection with the server ldap/epping.local/epping.local@EPPING.LOCAL. No authentication protocol was available.

         An error event occurred.  EventID: 0xC00038D6

            Time Generated: 11/21/2011   20:48:37

            Event String:

            The DFS Namespace service could not initialize cross forest trust information on this domain controller,but it will periodically retry the operation. The return code is in the record data.

         An error event occurred.  EventID: 0xC00038D6

            Time Generated: 11/21/2011   20:48:52

            Event String:

            The DFS Namespace service could not initialize cross forest trust information on this domain controller,but it will periodically retry the operation. The return code is in the record data.

         An error event occurred.  EventID: 0xC00038D6

            Time Generated: 11/21/2011   20:49:07

            Event String:

            The DFS Namespace service could not initialize cross forest trust information on this domain controller,but it will periodically retry the operation. The return code is in the record data.

         An error event occurred.  EventID: 0xC00038D6

            Time Generated: 11/21/2011   20:49:22

            Event String:

            The DFS Namespace service could not initialize cross forest trust information on this domain controller,but it will periodically retry the operation. The return code is in the record data.

         An error event occurred.  EventID: 0xC00038D6

            Time Generated: 11/21/2011   20:49:37

            Event String:

            The DFS Namespace service could not initialize cross forest trust information on this domain controller,but it will periodically retry the operation. The return code is in the record data.

         An error event occurred.  EventID: 0xC00038D6

            Time Generated: 11/21/2011   20:49:52

            Event String:

            The DFS Namespace service could not initialize cross forest trust information on this domain controller,but it will periodically retry the operation. The return code is in the record data.

         An error event occurred.  EventID: 0x0000002E

            Time Generated: 11/21/2011   20:49:53

            Event String:

            The time service encountered an error and was forced to shut down. The error was: 0x80070700: An attempt was made to logon,but the network logon service was not started.


         An error event occurred.  EventID: 0xC0001B6F

            Time Generated: 11/21/2011   20:49:53

            Event String:

            The Windows Time service terminated with the following error: 


         An error event occurred.  EventID: 0x0000002E

            Time Generated: 11/21/2011   20:49:54

            Event String:

            The time service encountered an error and was forced to shut down. The error was: 0x80070700: An attempt was made to logon,but the network logon service was not started.


         An error event occurred.  EventID: 0xC0001B6F

            Time Generated: 11/21/2011   20:49:54

            Event String:

            The Windows Time service terminated with the following error: 


         An error event occurred.  EventID: 0xC2000001

            Time Generated: 11/21/2011   20:49:56

            Event String: Unexpected failure. Error code: 490@01010004

         An error event occurred.  EventID: 0x00000469

            Time Generated: 11/21/2011   20:49:56

            Event String:

            The processing of Group Policy failed because of lack of network connectivity to a domain controller. This may be a transient condition. A success message would be generated once the machine gets connected to the domain controller and Group Policy has succesfully processed. If you do not see a success message for several hours,then contact your administrator.

         An error event occurred.  EventID: 0xC00038D6

            Time Generated: 11/21/2011   20:50:07

            Event String:

            The DFS Namespace service could not initialize cross forest trust information on this domain controller,but it will periodically retry the operation. The return code is in the record data.

         An error event occurred.  EventID: 0xC00038D6

            Time Generated: 11/21/2011   20:50:24

            Event String:

            The DFS Namespace service could not initialize cross forest trust information on this domain controller,but it will periodically retry the operation. The return code is in the record data.

         An error event occurred.  EventID: 0x0000041E

            Time Generated: 11/21/2011   20:50:25

            Event String:

            The processing of Group Policy failed. Windows could not obtain the name of a domain controller. This could be caused by a name resolution failure. Verify your Domain Name System (DNS) is configured and working correctly.

         An error event occurred.  EventID: 0x0000041E

            Time Generated: 11/21/2011   20:50:33

            Event String:

            The processing of Group Policy failed. Windows could not obtain the name of a domain controller. This could be caused by a name resolution failure. Verify your Domain Name System (DNS) is configured and working correctly.

         An error event occurred.  EventID: 0x0000041E

            Time Generated: 11/21/2011   20:50:33

            Event String:

            The processing of Group Policy failed. Windows could not obtain the name of a domain controller. This could be caused by a name resolution failure. Verify your Domain Name System (DNS) is configured and working correctly.

         An error event occurred.  EventID: 0xC00038D6

            Time Generated: 11/21/2011   20:50:39

            Event String:

            The DFS Namespace service could not initialize cross forest trust information on this domain controller,but it will periodically retry the operation. The return code is in the record data.

         An error event occurred.  EventID: 0x00000457

            Time Generated: 11/21/2011   20:50:50

            Event String:

            Driver Adobe PDF Converter required for printer Adobe PDF is unknown. Contact the administrator to install the driver before you log in again.

         An error event occurred.  EventID: 0x00000457

            Time Generated: 11/21/2011   20:50:51

            Event String:

            Driver HP Officejet 6500 E710n-z required for printer HP Officejet 6500 E710n-z (Network) is unknown. Contact the administrator to install the driver before you log in again.

         An error event occurred.  EventID: 0x00000457

            Time Generated: 11/21/2011   20:50:52

            Event String:

            Driver Fax - HP Officejet 6500 E710n-z required for printer Fax - HP Officejet 6500 E710n-z (Network) is unknown. Contact the administrator to install the driver before you log in again.

         An error event occurred.  EventID: 0x00000457

            Time Generated: 11/21/2011   20:50:54

            Event String:

            Driver HP psc 2100 Series required for printer HP psc 2100 Series is unknown. Contact the administrator to install the driver before you log in again.

         An error event occurred.  EventID: 0xC00038D6

            Time Generated: 11/21/2011   20:50:54

            Event String:

            The DFS Namespace service could not initialize cross forest trust information on this domain controller,but it will periodically retry the operation. The return code is in the record data.

         An error event occurred.  EventID: 0xC00038D6

            Time Generated: 11/21/2011   20:51:09

            Event String:

            The DFS Namespace service could not initialize cross forest trust information on this domain controller,but it will periodically retry the operation. The return code is in the record data.

         A warning event occurred.  EventID: 0x000727AA

            Time Generated: 11/21/2011   20:52:05

            Event String:

            The WinRM service failed to create the following SPNs: WSMAN/EPPINGSBS2011.epping.local; WSMAN/EPPINGSBS2011. 


         An error event occurred.  EventID: 0xC000042B

            Time Generated: 11/21/2011   20:55:10

            Event String:

            The terminal server cannot register 'TERMSRV' Service Principal Name to be used for server authentication. The following error occured: The specified domain either does not exist or could not be contacted.


         An error event occurred.  EventID: 0x0000041E

            Time Generated: 11/21/2011   20:55:29

            Event String:

            The processing of Group Policy failed. Windows could not obtain the name of a domain controller. This could be caused by a name resolution failure. Verify your Domain Name System (DNS) is configured and working correctly.

         An error event occurred.  EventID: 0x0000041E

            Time Generated: 11/21/2011   20:55:29

            Event String:

            The processing of Group Policy failed. Windows could not obtain the name of a domain controller. This could be caused by a name resolution failure. Verify your Domain Name System (DNS) is configured and working correctly.

         ......................... EPPINGSBS2011 failed test SystemLog

      Starting test: VerifyReferences

         ......................... EPPINGSBS2011 passed test VerifyReferences



   Running partition tests on : ForestDnsZones

      Starting test: CheckSDRefDom

         ......................... ForestDnsZones passed test CheckSDRefDom

      Starting test: CrossRefValidation

         ......................... ForestDnsZones passed test

         CrossRefValidation


   Running partition tests on : DomainDnsZones

      Starting test: CheckSDRefDom

         ......................... DomainDnsZones passed test CheckSDRefDom

      Starting test: CrossRefValidation

         ......................... DomainDnsZones passed test

         CrossRefValidation


   Running partition tests on : Schema

      Starting test: CheckSDRefDom

         ......................... Schema passed test CheckSDRefDom

      Starting test: CrossRefValidation

         ......................... Schema passed test CrossRefValidation


   Running partition tests on : Configuration

      Starting test: CheckSDRefDom

         ......................... Configuration passed test CheckSDRefDom

      Starting test: CrossRefValidation

         ......................... Configuration passed test CrossRefValidation


   Running partition tests on : epping

      Starting test: CheckSDRefDom

         ......................... epping passed test CheckSDRefDom

      Starting test: CrossRefValidation

         ......................... epping passed test CrossRefValidation


   Running enterprise tests on : epping.local

      Starting test: LocatorCheck

         Warning: DcGetDcName(GC_SERVER_REQUIRED) call failed,error 1355

         A Global Catalog Server could not be located - All GC's are down.

         Warning: DcGetDcName(TIME_SERVER) call failed,error 1355

         A Time Server could not be located.

         The server holding the PDC role is down.

         Warning: DcGetDcName(GOOD_TIME_SERVER_PREFERRED) call failed,error

         1355

         A Good Time Server could not be located.

         Warning: DcGetDcName(KDC_REQUIRED) call failed,error 1355

         A KDC could not be located - All the KDCs are down.

         ......................... epping.local failed test LocatorCheck

      Starting test: Intersite

         ......................... epping.local passed test Intersite

Today is just not my day.如果我仔细阅读了我的dcdiag:

NETLOGON Service is paused on [EPPINGSBS2011]

没有暂停服务,嘿嘿,每个人都很开心.现在 – 找出为什么它首先被暂停了.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


文章浏览阅读2.2k次,点赞6次,收藏20次。在我们平时办公工作中,很多时候我们经常会使用到虚拟机来进行环境的测试,我们平时在虚拟机上接触的最多的莫过于Linux和Winwdos。不过虚拟机环境和物理机环境是无法直接传输的,那么有的时候呢,同学们又想要在两者之间相互传输文件,可能就会使用QQ邮箱等形式来传输,这样的效率又慢而且繁琐,今天我就为大家带来一种非常便捷的传输方式。通过XFTP工具来进行文件传输。_xftp连接windows
文章浏览阅读1k次。解决 Windows make command not found 和 安装 GCC 环境_windows下载gcc
文章浏览阅读3.2k次,点赞2次,收藏6次。2、鼠标依次点击“计算机配置“ - ”管理模板“ - ”网络“ - ”Lanman工作站”,点击右侧的“启用不安全的来宾登录”策略。Windows访问samba共享时,提示“你不能访问此共享文件夹,因为你组织的安全策略阻止未经身份验证的来宾访问”1、键盘按下window+R键,输入gpedit.msc,启动本地组策略编辑器。首先在终端中输入sudo ufw status查看当前防火墙状态。默认状态是“未配置”,修改为“已启用”。示例:创建一个narada的目录在/home下。1.更新apt储存库列表。_ubuntu samba 目标文件夹访问被拒绝
文章浏览阅读1.3w次。蓝光版属于高清版的一种。BD英文全名是Blu-ray Disc,一种高清的电影版本,这种电影十分清晰但是数据量巨大,占数十G甚至上百G的容量,只有蓝光光碟才能装得下,所以这种高清电影被称为BD版。一般的高清电影多半是从蓝光电影、国外的高清电视频道上压制而来的,可以通过网络下载,多数都经过二次压缩,画质要逊于原视频,不过压缩后的容量从蓝光的25G-50G会减少成4G-8G等(15G-20G不等)。众所周知,视频有两种常见的清晰度,BD和HD,在看电影的时候最常出现这两个标志,那么BD和HD具体指的是什么呢?_bd hd
文章浏览阅读974次,点赞7次,收藏8次。提供了更强大的功能,因为它允许直接访问当前元素,而不需要类型转换。接口,它可以提供一个迭代器,用于按顺序访问集合中的元素。接口是只读的,它只能支持前向迭代,不能修改集合中的元素。类型的集合实例,并向其中添加了几个元素。接口,可以创建一个能够迭代访问泛型集合中元素的迭代器。接口,我们可以在 C# 中实现可迭代的集合,并使用。循环和迭代器手动遍历集合,并输出每个元素的值。接口表示一个可枚举的集合,它定义了一个方法。属性,用于获取集合中当前位置的元素。存储集合中的元素,并实现了。的泛型集合类,它实现了。
文章浏览阅读1.4w次,点赞5次,收藏22次。如果使用iterator的remove方法则会正常,因为iterator的remove方法会在内部调用List的remove方法,但是会修改excepedModCount的值,因此会正常运行。因为遍历过程中进行remove 操作时,该位置后面的元素会挤到前面来,这时候会发生一种情况就是原来元素的位置会被他后面的元素取代,而该位置已经遍历过了,所以该元素不会背遍历。当我们倒序遍历元素的时候,无论删除元素之后的元素怎么移动,之前的元素对应的索引(index)是不会发生变化的,所以在删除元素的时候不会发生问题。_list删除某个元素
文章浏览阅读2.9w次,点赞45次,收藏192次。Windows下配置Visual Studio _vs2022环境变量配置
文章浏览阅读7w次,点赞162次,收藏778次。pip 是Python包管理工具,提供了对 Python 包的查找、下载、安装、卸载的功能,目前Python 3.4 和 2.7 及以上版本都有配套安装,一般pip的位置在...pythonScripts文件夹里面,而在其他版本需要自行下载。_python pip install安装
文章浏览阅读5.8k次,点赞2次,收藏12次。①此电脑右击----->选择属性----->高级系统设置----->环境变量----->path----->编辑----->新建。第一个选项意思就是将安装路径填入到系统环境变量中,这里勾选,后面使用可能会出现问题,建议不要勾选,安装好之后手动添加环境变量。注意:如果提示conda不是内部或外部命令,原因是Anaconda的环境变量没配置好。如果不想立即打开anaconda,不勾选直接finish就好。②输入 conda --version ,查看conda环境。②直接按win键,搜索“环境变量”_windows安装anaconda
文章浏览阅读5.1k次,点赞8次,收藏55次。Windows 系统从零配置 Python 环境,安装CUDA、CUDNN、PyTorch 详细教程_windows cuda cudnn配置
文章浏览阅读1.5w次,点赞54次,收藏68次。macOS系统自带有VNC远程桌面,我们可以在控制端上安装配置VNC客户端,以此来实现远程控制macOS。但通常需要在不同网络下进行远程控制,为此,我们可以在macOS被控端上使用cpolar做内网穿透,映射VNC默认端口5900,通过所生成的公网地址,来实现在公网环境下远程控制VNC。_vnc mac
文章浏览阅读2.4k次,点赞5次,收藏11次。进入后根据自己的电脑系统下载,这是python 3.10版本下载地址,如果想要下载其它版本可进入此链接(下载完成后点击进行安装点击下一步,到这一步时,可以选择将Anaconda添加我的PATH环境变量中,这样就不用自己手动配置和环境变量。安装完成后,打开终端,输出 python 命令可查看是否安装成功。如果显示自己刚才安装的版本号说明安装成功。查看conda版本命令:conda info。_paddlespeech下载
文章浏览阅读3.3k次。所以如果要删除之前新增的课程编译原理,只需输入命令del Course:8:Cname,同时还应该把本课程的学分删除del Course:8:Ccredit,如下图所示;Redis并没有修改数据的命令,所以如果在Redis中要修改一条数据,只能在使用set命令时,使用同样的键值,然后用新的value值来覆盖旧的数据。先调用get命令,输出原先的值,然后set新的值,最后再get得到新值,所以修改成功。输入命令后没有报错,表示成功了,刷新windows的服务,多了一个redis服务。_redis windows服务
文章浏览阅读2.1w次,点赞9次,收藏56次。​​接着在【工作负荷】中,选择【使用C++桌面开发】 ,右边【安装详细信息】去除其它可选项,只勾选【MSVCv142 】和 【Windows 10 SDK】,按图示修改,然后右下角点击安装,之后会有提示让你重启电脑。重启电脑之后,再进行pip安装。报错原因是pip所安装的包需要使用C++编译后才能够正常安装,但是当前安装环境中缺少完整的C++编译环境,因此安装失败。3.安装Microsoft Visual C++ Build Tool离线安装包(1个多G),CSDN资源很多,需要积分下载,_error: microsoft visual c++ 14.0 or greater is required. get it with "micros
文章浏览阅读1.1w次,点赞3次,收藏7次。Step 3: 在右侧窗口中找到名称为“LongPathsEnabled”的“DWORD (32 位) 值”条目,并双击它。通过注册表方法或组策略方法启用长路径支持后,您将能够在 Windows 中使用长路径,并能够访问和处理长路径下的文件和文件夹。Step 2: 依次选择“计算机配置” > “管理模板” > “系统” > “文件资源管理器”。Step 3: 找到“启用 Win32 长路径”设置,双击它。Step 4: 选择“已启用”选项按钮,然后选择“应用”按钮。_windows长路径支持
文章浏览阅读2.5k次,点赞81次,收藏86次。
文章浏览阅读1.3k次,点赞65次,收藏50次。顺序表,链表,栈,队列,ArrayList,LinkedList,Stack,Queue
文章浏览阅读2.3k次,点赞2次,收藏2次。AnyTXTSearcher是一款能够帮助我们对文档以及文本内容进行快速搜索和管理的工具,通过该软件能够搜索各种Office文档,文本文件,代码,PDF文档等,顶级的全文搜索引擎1秒钟之内即可完成搜索。_anytxt searcher
文章浏览阅读8.8k次,点赞73次,收藏70次。有时,在删除/移动/重命名文件夹/文件时,会遇到如下警告,即使将打开的程序关闭了,后台也可能会有没关干净的相关进程。_解除占用
文章浏览阅读4.3w次,点赞91次,收藏102次。JDK(Java Development Kit)是Java开发工具包的缩写,包含了Java编译器、Java虚拟机、Java类库等众多组件,是Java开发的基石,提供了编写、编译和运行Java程序所必需的工具。同时,为了让系统能够正确识别Java环境,在开始使用JDK进行Java开发之前,需要先把JDK安装到本地计算机,并配置好相应的环境变量。本文将介绍JDK安装与环境变量配置的方法。_windows安装jdk并配置环境变量