проблема с Normal.dot на терминальном сервере

MS Word 2003, установленный на терминальном сервере Windows 2003 Server, начал через раз выдавать предложение создать новый файл шаблонов Normal.dot в связи с его повреждением.

Выглядело это так:

Word has detected a problem with the existing Normal.dot. Would you like to create a new Normal.dot?

Полное удаление существующих шаблонов и временныз файлов никак не влияло – Word стабильно выдавал свое предупреждение, есть шаблон или его нет.

Помогло выполнение действий, описанных в статьях базы знаний Microsoft:

Every other time that you open a document in Word, the document opens in recovery mode or you receive an error message
You are prompted to save the changes to the Normal.dot or Normal.dotm or Normal.dotm global template every time that you quit Word
Читать дальше…

Как обновить Windows 7 Ultimate RC до Windows 7 Enterprise RTM

Использование на рабочем ноутбуке Windows 7 RC показало, что эта операционная система гораздо быстрее и удобнее в работе, чем Windows XP и Windows Vista.

Однако вышел официальный релиз, компаниям-партнерам давно доступны RTM версии – подходит время обновления.

Причем доступна партнерам именно Enterprise редакция. По информации с сайта Майкрософт, Ultimate и Enterprise полностью идентичны – просто последняя доступна для лицензирования только организациям.

Некоторое неудобство вызывало уведомление Майкрософт о том, что такое обновление будет недоступно.

И правда, запустив установку мы получим сообщение ошибке.

Но не переставлять же хорошо работающую систему, в самом деле!

Приступим.

Что делать с Windows 7 Ultimate RC

Запустить  Registry Editor (Start > Run > regedit)

Открыть раздел HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version

Заменить слово “Ultimate” на “Enterprise” в ключах ProductName и EditionID.

На этом изменение Windows 7 RC завершено.

Модификация установки WIndows 7 Enterprise

Я рекомендую использовать для установки USB (Flash) диск. Устанавливается система быстрее, чем с DVD. Носить удобнее. Да и модификации можно делать сразу, не записывая ничего на диски. Как это сделать, написано здесь:  http://blogs.technet.com/iwalker/archive/2009/01/21/windows-7-windows-server-2008-r2-c-usb.aspx

Нам остается открыть для редактирования файл \sources\cversion.ini,  заменить значение MinClient на 7100 и сохранить его.

Это все. Можно запускать установку. Для обновления существующей системы это обязательно нужно сделать внутри нее.

Оригинал взят отсюда: http://www.gmtaz.com/index.php/how-to-upgrade-windows-7-rc-ultimate-to-rtm-enterprise/

Рубрики:HOW-TO, Microsoft, Windows 7 Метки: ,

How to Run Programs as a Domain User from a Non-domain Computer

In most cases, not being joined to a client’s domain doesn’t make one iota of difference. You need to access a network share or printer, browser to it and you will be prompted for domain credentials. The fact that you’re using different domain credentials to access the resource from those that you logged in with doesn’t matter one bit. If you want to expedite the process and not wait for an authentication time-out, you can utilize NET USE from the command line to tell Windows which credentials you want to use when accessing certain computers. You can even make them persistent or roll the whole thing into a batch script that you can execute whenever at a particular client.

net use \\server /user:domain\username /persistent:yes

Unfortunately this doesn’t work in all cases. One of my longstanding development pet peeves has been certain tools – I’m looking at you SQL Server Management Studio and SQL Query Analyzer – that don’t allow you to specify alternate domain credentials for authentication. For example, SQL Server Management Studio allows you to log into a SQL Server instance using Windows Authentication or SQL Server Authentication. If the SQL instance requires Windows Authentication – the recommended configuration – SQL Server Management Studio uses your logged in credentials. This works well if your computer is part of the domain, but fails horribly if not. It doesn’t let you specify alternate credentials or even prompt you for alternate credentials if the log-in fails.

Читать дальше…

Рубрики:AD, Microsoft Метки: ,

Как восстановить отсутствующие разделы в Group Policy Editor

Однажды я столкнулся с ситуацией, когда оказалось невозможным включить Windows Firewall. Опции включения и отключения не могли быть изменены. Такое бывает, если эта опция установлена групповой политикой. Причем для этого не обязательно, чтобы компьютер находился в домене. В моем случае с большой вероятностью файервол был отключен вирусом.

Запустив gpedit.msc для редактирования групповой политики, я с удивлением обнаружил, что там отсутствует раздел, содержащий настройки Windows Firewall. Эта статья описывает методы, позволящие восстановить доступ к настройке отсутствующих политик.

When you open the Group Policy Editor in Windows XP Professional, some of the categories under Administrative Templates may be missing. For example when you expand Administrative Templates, the System category may be missing. This article provides information on how to restore the missing folders to the Group Policy Editor.

Читать дальше…

Рубрики:Group Policy, Microsoft, Windows XP

Как добавить доменного пользователя в локальную группу

Иногда нужно добавить пользователя в локальнуюю  группу – например, дать ему административные права на компьютер.

Это можно сделать следующей командой:

net localgroup Administrators "DOMAIN\username" /ADD

С помощью команды net можно также добавить пользователя и в доменную группу:

net group LocalAdmins "DOMAIN\username" /ADD

Читать дальше…

Рубрики:AD, Batch programming, HOW-TO Метки: ,

Как узнать имя выполняемого командного файла

И другие фишки, которые могут пригодится при batch-programming
%* in a batch script refers to all the arguments (e.g. %1 %2 %3
%4 %5 …)
Substitution of batch parameters (%n) has been enhanced.  You can
now use the following optional syntax:
%~1         – expands %1 removing any surrounding quotes («)
%~f1        - expands %1 to a fully qualified path name
%~d1        - expands %1 to a drive letter only
%~p1        - expands %1 to a path only
%~n1        - expands %1 to a file name only
%~x1        - expands %1 to a file extension only
%~s1        - expanded path contains short names only
%~a1        - expands %1 to file attributes
%~t1        - expands %1 to date/time of file
%~z1        - expands %1 to size of file
%~$PATH:1   – searches the directories listed in the PATH
environment variable and expands %1 to the fully
qualified name of the first one found.  If the
environment variable name is not defined or the
file is not found by the search, then this
modifier expands to the empty string
The modifiers can be combined to get compound results:
%~dp1       – expands %1 to a drive letter and path only
%~nx1       – expands %1 to a file name and extension only
%~dp$PATH:1 – searches the directories listed in the PATH
environment variable for %1 and expands to the
drive letter and path of the first one found.
%~ftza1     – expands %1 to a DIR like output line
In the above examples %1 and PATH can be replaced by other
valid values.  The %~ syntax is terminated by a valid argument
number.  The %~ modifiers may not be used with %*

Using batch parameters

You can use batch parameters anywhere within a batch file to extract information about your environment settings.

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/percent.mspx?mfr=true

Shift

Changes the position of batch parameters in a batch file.

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/shift.mspx?mfr=true

Using command redirection operators

You can use redirection operators to redirect command input and output streams from the default locations to different locations. The input or output stream location is referred to as a handle

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/redirection.mspx?mfr=true

Using filters

Used in conjunction with the command redirection pipe character (|), a command filter is a command within a command that reads the command’s input, transforms the input, and then writes the output. Filter commands help you sort, view, and select parts of a command output.

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/filters.mspx?mfr=true

Читать дальше…

Рубрики:Batch programming, Microsoft

Как подключить Samba 3 сервер к домену Active Directory

Как упавший контроллер домена поднять

http://articles.techrepublic.com.com/5100-10878_11-6082663.html

хорошая статья – что делать, если упал один из контроллеров домена

Читать дальше…

Рубрики:AD, HOW-TO, Microsoft Метки: , ,

KIS vs NTFS

Недавно столкнулись с интересной ситуацией:

при выполнении SVN update под Windows 7 TortoiseSVN выдавала сообщение об ошибке – недоступности каталога. При этом в System логе Windows появлялось сообщение с EventID 55 – NTFS – что файловая система повреждена и требуется проверка.

В результате изучения проблемы был обнаружен виновник – им оказался Kaspersky Internet Security 2010, установленный на компьютере. После отключения проверки файлов на-лету, проблема исчезла.

Винчестер, память и операционная система, на которые мы поначалу грешили, оказались невиновны :)

Рубрики:Kaspersky, Windows 7 Метки: ,

Как отрегулировать Теневое копирование тома под Vista/Windows 7

Служба «Теневое копирование тома» (Volume Shadowcopy Service, VSS) сохраняет точки восстановления и поддерживает резервирование и восстановление файлов.  Для этого служба выполняет моментальный снимок файлов на определенный момент времени. VSS создаёт статические копии открытых файлов и приложений, которые при других обстоятельствах не могут быть скопированы.

Благодаря этому механизму, в Vista появилась возможность вернуться к предыдущей версии любых файлов. Теперь можно даже восстановить папку, которая была удалена без помещения в корзину! Для этого достаточно открыть свойства более верхней папки, выбрать «Предыдущие копии» («Previous versions») и открыть последнюю предыдущую версию. Затем вы сможете скопировать удаленную папку на прежнее место.  Конечно, все это возможно при условии, что служба теневого копирования включена и отслеживает изменения на вашем диске.

Посмотреть, сколько места занимают текущие теневые копии тома можно с помощью команды:

vssadmin list shadowstorage

Эта команда выведет список всех имеющихся копий с указанием их размера.

С помощью vssadmin можно также изменить размер, который система сможет выделить для теневых копий.

Для Windows 7 после установки теневые копии создаются только для системного диска. Если у вас документы находятся на диске D:, стоит открыть Control Panel -> System and Security -> System, выбрать «System protection» и включить создание предыдущих копий для этого диска:

System properties

D System properties

Рубрики:VSS, Windows 7, Windows Vista