quarta-feira, outubro 26, 2011

How to configure an authoritative time server in Windows Server



To get the time in Windows domain environment synchronized on PDC server run the command below:

w32tm /config /manualpeerlist: peers /syncfromflags:manual /reliable:yes /update

where peers is the time server that your PDC will sync. If you want to use more than one time server put them between "" and the servers name should be space-delimited.

Example used in Brazil:
w32tm /config /manualpeerlist: "a.ntp.br b.ntp.br c.ntp.br" /syncfromflags:manual /reliable:yes /update

After restart the Windows Time service on PDC server, then run W32tn /resync.

Sources:
http://technet.microsoft.com/en-us/library/cc786897(WS.10).aspx
http://technet.microsoft.com/en-us/library/cc773263(WS.10).aspx
http://support.microsoft.com/kb/816042/en-us

SMS Distribution Manager failed to initialize the network abstraction layer (NAL)




I had this problem on SCCM 2007 SP2 R3 installed on Windows Server 2008 R2 SP1.


To fix this annoying issue is necessary to rebuid the NAL: 

Rebuild NAL:
========

1. Stop sms_site_component_manager and sms_executive service.

2. New a registry key: HKLM\software\wow6432node\microsoft\Nal\server\providers

3. Add a Reg_Multi_SZ value under it. The name should be “Active Order

4. Double click it, input the value
LOCAL
MSWNET
NWNDS
NWBIND

5. Open comman
d line window. Go to the SCCM installation path. By default it will under “\program files (x86)\microsoft configuration manager\bin\i386” folder.

6. Run following command line:

regsvr32 abnwsvr.dll
regsvr32 falsvrn.dll
regsvr32 mslmsvrn.dll

7. After all the .dll is registry successfully, there will be 2 new value generated under the Active Order.

8. Then we will do a site reset. Close the SCCM console if it is opened. Go to “Start\All programs\microsoft system center\configuration manager 2007\configmgr setup

9. When the setup is launched, please choose “Perform site maintenance or reset this site”.

NOTE: It is not default choice, please make sure the choose of “” here to avoid remove the site by mistake!

10. Choose the “Re-apply default file and registry permissions on this site server

11. Click Next till finish. Then reset the site is doing.

12. After finish, there will be a new key generated. It called “Connections”, there is a value under it, it is “Operational Active Order”.

image

13. After that, the NAL seems rebuild. Restart the server, then your Distribution Point will be working fine.


Source:

segunda-feira, outubro 17, 2011

Not able to access the Hyper-V host machine share from guest VM

To get rid off this problem disable NetDMA following these steps


  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate the following registry subkey, and then click it:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
  3. Double-click the EnableTCPA registry entry.
    Note If this registry entry does not exist, right-click Parameters, point to New, click DWORD Value, typeEnableTCPA, and then press ENTER.
  4. To disable NetDMA, type 0 in the Value data box, and then click OK.

Source: