systeminfo| find "System Boot Time"
netdom query fsmo
Tuesday, January 04, 2011
Wednesday, May 12, 2010
Hyper-v backup
created the reg_Multi_SZ DisabledWriters
value = {66841cd4-6ded-4f4b-8f17-fd23f8ddc3de}
net stop wbengine && net start wbengine
Thursday, January 21, 2010
Copy NTFS security info.
O - ownership
T - timestamp
E - copy all subdirectories including empty
Friday, October 02, 2009
Backup VM on Hyper-V Cluster
- Enable Windows backup on each cluster node.
- Create a batch what will include backup of all VMs and Quorum in the cluster.
- Using Windows Scheduler run the batch (with high privileges).
echo off
wbadmin start backup -backupTarget:\\hvbackup\hvvms\dc01 -include:N: -vssFull -noVerify -quiet
if %errorlevel% equ -2 echo skipped dc01
if %errorlevel% equ -2 goto quorum
:quorum
wbadmin start backup -backupTarget:\\hvbackup\hvvms\quorum -include:Q: -vssFull -noVerify -quiet
if %errorlevel% equ -2 echo skipped quorum
if %errorlevel% equ -2 goto ts02
:ts02
wbadmin start backup -backupTarget:\\hvbackup\hvvms\ts02 -include:S: -vssFull -noVerify -quiet
if %errorlevel% equ -2 echo skipped ts02
if %errorlevel% equ -2 goto util01
:util01
wbadmin start backup -backupTarget:\\hvbackup\hvvms\util01 -include:P: -vssFull -noVerify -quiet
if %errorlevel% equ -2 echo skipped util01
if %errorlevel% equ -2 goto util02
:util02
wbadmin start backup -backupTarget:\\hvbackup\hvvms\util02 -include:O: -vssFull -noVerify -quiet
if %errorlevel% equ -2 echo skipped util02
exit
Thursday, September 24, 2009
Microsoft FTP 7.5
- Users have rights for all directories from the root down.
- Users have access only isolated directories under root.
- Use windows 2008 sp 2 VM on Hyper-V
- IIS 7.0
- FTP 7.5
- IIS Manager Authentication
- FTP Virtual Host Names
- FTP User Isolation - "User Name directory (disable global virtual directories)
- Do not forget to change security for "Network services" account (ref.3)
- Created 3 FTP sites - one for global access (ref.5) needed to enable IE connection, second for non separated FTP and third for isolated users.
- In IE7 and 8 you can use "Open FTP site in Windows Explorer" option under "Page", but you will need authenticate second time.
- To authenticate you need to type user name as pointed in (ref.4) - "ftpheader.yourdomain.com|username" or with (ref.4) "ftpheader.yourdomain.com\username". The authentiacation will take place after connection to the global FTP site (ref.5).
- Regular FTP clients can connect directly using "Virtual host names".
- http://learn.iis.net/page.aspx/310/what-is-new-for-microsoft-and-ftp-75/
- http://learn.iis.net/page.aspx/305/configuring-ftp-75-user-isolation/
- http://learn.iis.net/page.aspx/321/configure-ftp-with-iis-70-manager-authentication/
- http://blogs.iis.net/jaroslad/archive/2009/04/16/addressing-the-separator-problem-for-virtual-ftp-sites-ftp-7-5.aspx
- http://blogs.msdn.com/robert_mcmurray/archive/2008/12/17/ftp-clients-part-3-creating-a-global-listener-ftp-site.aspx
- http://learn.iis.net/page.aspx/320/using-ftp-virtual-host-names/
Monday, June 29, 2009
Windows 2008 Terminal services
- Create AD group, for example: "TS Users"
- Put the group in local "Remote Desktop Users" group on the terminal server.
- Put the terminal server in local "Terminal Server Computers" group on the "TS licensing" server to enable to read licensing information.
- Put the terminal server in separate OU and create a GPO. The GPO "Security Filtering" should include the terminal server itself and "TS Users" group. This will disable all limitation for administrators. Do not include administrators in "TS Users". Remove "All Authenticated" group from the GPO "Security Filtering"
Thursday, June 11, 2009
Hyper-V Config 4096 Error
Friday, May 15, 2009
SLMGR - license manager
I took the reference from other blog - slmgr tool is "Software Licence Manager" :"SLMgr Commands and Options
I’ve been dealing a lot lately with activation of Server 2008. It’s not been as easy as I’d like. In searching for some help, I came across a great article on SLMgr: SLMgr Commands and Options with Windows Vista Product Key Activation. This article provides a good look at the options with this SLMgr.ext tool. "
Tuesday, May 12, 2009
VMM 2008 error 13805
Monday, May 11, 2009
Broken by updates.
"Method 2: Disable the loopback check
Follow these steps:- Click Start, click Run, type regedit, and then click OK.
- In Registry Editor, locate and then click the following registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
- Right-click Lsa, point to New, and then click DWORD Value.
- Type DisableLoopbackCheck, and then press ENTER.
- Right-click DisableLoopbackCheck, and then click Modify.
- In the Value data box, type 1, and then click OK.
- Quit Registry Editor, and then restart your computer. "
Friday, November 07, 2008
Windows 2008 Task Scheduler Problem
"Workaround:
1. Start Task Scheduler
2. Create a new task without changing user and user group (anything else can be specified at this time).
3. Export this task to an xml file (the Scheduled Task configuration file)
4. Delete this task.
5. Open the exported task using a text editor.
6. Find the following section:
7. Change DomainName\UserName (ex. Companyname\administrator) accordingly. Note: DomainName is the NetBIOS name of the domain.
8. Save the file.
9. Import the task into Task Scheduler."
It works.