Entradas

Mostrando las entradas etiquetadas como Windows Server 2008

Create a User DSN from GPOs in Windows Server 2008 R2

Imagen
Create a DSN in computer from you edit Domain GPOs, use Data Sources (OBDC) Tool. Add in GPO a New DSN and chose you created DSN.    Search in Domain controller a file named DataSources.XML for example: \\MyDomain.loc\SysVol\MyDomain.loc\Policies\{1A6B002C-E96E-4EEC-980B-F6EAEF6A4AF3}\User\Preferences\DataSources\DataSources.XML Open DataSources.XML in NOTEPAD with Administrative privileges and delete RED TEXT, for example: <?xml version="1.0" encoding="utf-8"?> <DataSources clsid="{380F820F-F21B-41ac-A3CC-24D4F80F067B}"><DataSource clsid="{5C209626-D820-4d69-8D50-1FACD6214488}" name="Test" image="0" changed="2010-08-10 17:08:41" uid="{F377E134-DAE7-4FE3-8366-4C7720F3FE64}" userContext="1" removePolicy="0"><Properties action="C" userDSN="1" dsn="Test" driver="SQL Server" description="...

Cumulative Full Backups in Windows Server 2008 R2 to a Shared Folder

Some months ago. I Make a Job in Task Scheduler to Backup a Bare Metal Domain Controller in Windows Server 2008 R2, I hope that this steps can help you to Backups your servers: Add Windows backup Features with Command-line Tools from Server Manager. Create a bath with following lines: ;Made folder with current date in a shared folder MD \\ServerName\ShareFolderBackups\ServerToBackup\Monthly%date:~-4,4%%date:~-7,2%%date:~-10,2% ;Start a backup from command-line WBADMIN start backup -BackupTarget: \\ServerName\ShareFolderBackups\ServerToBackup\Monthly%date:~-4,4%%date:~-7,2%%date:~-10,2% -allcritical –Quiet Create a Job in Task Scheduler to execute our .bat file. Test your Backup and see progress or result in Windows Server Backup Snap-in. NOTE: If you need execute the task with a non-administrative account you can modify local or domain GPO for add it account to “Log on as a batch job” policy. More Info: Write in comments.

Enable Remote Management in Windows Server 2008 R2

You install a full installation of Windows Server 2008 R2. When you use Server Manager (Servermanager.msc) to connect to a remote server that is running Windows Server 2008 R2, you receive the following: ERROR “Server Manager cannot connect to server_name . Click retry to try to connect again” RESOLUTION For a remote server that is running a Full Installation of Windows Server 2008 R2 Method 1 Log on as an administrator to the remote server by using the console or by using Remote Desktop Services. Start Server Manager. On the Server Summary page, click Configure Server Manager Remote Management . Click Enable remote management of this server from other computers , and then click OK . Connect to the remote server by using Server Manager. Note You do not have to restart the remote server For a remote server that is running a Server Core installation of Windows Server 2008 R2 Method 1 Log on as an administrator to the remote server by using th...

Volume Shadow Copy Service error

The snapshot creation failed because the VSS writer {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f} on source machine xxx did not respond within the expected time interval. (Internal error code: 0x809933BB) RECOMMENDED ACTION: Ensure that VSS writer is functioning properly and then try the operation again. 4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f is the Shadow Copy Optimization Writer APPLICATION EVENT LOG: Log Name:      Application Source:        VSS Date:          2/15/2010 6:19:11 PM Event ID:      8193 Task Category: None Level:         Error Keywords:      Classic User:          N/A Computer:      ServerName.Domain.com Description: Volume Shadow Copy Service error...

Search, Download and Install Updates in Windows Server 2008 Server Core

This is a VBS script to Download and install all available updates. Before you attempt to run this sample, note the following: WUA must be installed on the computer. For more information about how to determine the version of WUA that is installed, see Determining the Current Version of WUA . The sample does not provide its own user interface. WUA prompts the user to restart the computer if an update requires a restart. The sample can download updates only by using WUA. It cannot download updates from a Software Update Services (SUS) 1.0 server. Running this sample requires Windows Script Host (WSH). For more information about WSH, see the WSH section of the Platform Software Development Kit (SDK). If the sample is copied to a file named WUA_SearchDownloadInstall.vbs, you can run the sample by opening a Command Prompt window and typing the following command at the command prompt. cscript C:\WUA_SearchDownloadInstall.vbs Script: ...

Problem NLB a Cluster Node change starts the convergence process running Windows Server 2008 R2.

Source: NLB Logged: <Time> Event ID: 119 Task Category: None Level: Warning Keywords: User: N/A Computer: <computer name> Description: NLB cluster [<IP or host name>]: The NLB driver has detected an inconsistency in the Extended Affinity configuration between cluster host <ID> and cluster host <ID>. A client IP address is on the Extended Affinity exception list on both hosts. You should run the Powershell cmdlet ‘Set-NlbClusterNode-Reload’ followed by ‘Start-NlbClusterNode’ Resolution: Install the hotfix. Restart WLBS service See: http://support.microsoft.com/kb/978943/en-us

Using DCPROMO in Unattended installations or Server Core.

To use DCPromo, We need a .txt file with configuration apply to server. For Example add un DC server in a site named NewYok: [DCINSTALL] UserName=MyAdminUser UserDomain=Mydomain Password=Password123 SiteName=NewYork ReplicaOrNewDomain=replica ReplicaDomainDNSName=mydomain.loc DatabasePath=N:\ADDS\NTDS LogPath=N:\ADDS\NTDS\Log SYSVOLPath=N:\ADDS\SYSVOL InstallDNS=yes ConfirmGC=yes SafeModeAdminPassword=Password123 RebootOnCompletion=yes Execute in command Prompt: DCPROMO /unattend:C:\MyUnattendFile.txt See: http://support.microsoft.com/kb/947034/en-us

Using WINRM y WINRS with Basic Configuration.

To configuring a Windows server 2008 or 2008 R2, execute in command prompt: WINRM quickconfig Make these changes [y/n]? , type y . In a remote computer execute in command prompt: WINRS -r:ServerName ApplicacionName.exe See: http://msdn.microsoft.com/en-us/library/aa384372(VS.85).aspx http://technet.microsoft.com/en-us/library/dd163506.aspx

Offline Domain Join - The new utility Djoin.exe in Windows 2008 R2 and Windows 7

I never try this utitlity but today I was testing this in a new deployment process and Now I say, it is wonderfull, really we can join member servers and workstations from instalation media with Setup /unattend:AutoAttend.XML and Djoin.exe for example: 1. In a domain controller or member of your domain Windows 7 or WIndows 2008 R2, run in Command Prompt: C:\>Djoin /provision /domain mydomain.loc /machine WorkstationName1 /savefile JoinWorkstationName1.txt Note: You should be administrative rights to join machines in you domain. 2. In the new workstation or member server run in Command Prompt: C:\>Djoin /requestODJ /loadfile JoinWorkstationName1.txt /windowspath %SystemRoot% /localos 3. Restart the new machine or run  shutdown /r /t 00 if you run a Windows Server Core installation. Requirements: Windows 7 or Windows 2008 R2. Administrative rights in domain to join computers and adminstrative rights in the new member machine. See: http://technet.m...

Tamaño de paginación para versiones 64 bits

Las versiones de 64 bits de Microsoft Windows Server y admiten más de RAM de las versiones de 32 bits de estos productos. Tenga en cuenta este articulo para sus configuraciones: http://support.microsoft.com/kb/889654/en-us

Initial Configuration in Windows Server 2008 Server Core

Set a IPv4 Address: netsh interface ipv4 set address "Local Area connection" static 10.0.0.9 255.0.0.0 10.0.0.1 Set DNS Servers  netsh interface ipv4 add dnsservers "Local Area Connection" 10.0.0.1 netsh interface ipv4 add dnsservers "Local Area Connection" 10.0.0.2 index=2 Rename Computer: netdom renamecomputer <ComputerName> /NewName:<NewComputerName> Join to Domain: netdom join <ComputerName> /domain:<DomainName> /userd:<UserName> /passwordd:* Enable Remote Desktop for Administration: cscript C:\Windows\System32\Scregedit.wsf /ar 0 Configuring WINRM: WinRM QuickConfig Using Winrs: Winrs -r:myserver cmd Open Firewall: Netsh advfirewall firewall set rule group=“<rule group>” new enable=yes Netsh advfirewall firewall set rule group=“remote administration” new enable=yes netsh advfirewall set currentprofile settings remotemanagement enable Show Services: ...