How To Force Adding Of Domain Admin Group to Local Admin Group

How To Force Adding Of Domain Admin Group to Local Admin Group
Introduction:

A common problem in Windows domain management is the removing of Domain Admin group from Local Admin group by users. This operation prevent from the Domain Admin group to connect to Administrative shares (like c$), log on to user workstation/server, track on user activity and so on.
Using «Restrict Groups» option from Windows 2000/2003 GPO impose some solution for this problem, but if there local users on the workstation/server, this option inefficient, and may harm the workstation/server users.

Machine Script Solution:

By combine Windows 2000/2003 GPO and creating a machine script, we can get
A good Solution to this problem, and by avoiding the problems that «Restrict Groups» option from Windows 2000/2003 GPO create.

The script structure:

Script Name: Machine_Startup_Script.vbs (You can use any name that you like,
But you need to verify that the file name suffix end with
*.vbs).

Operation Interval: Each machine startup or/and shutdown.

‘Beginning Of the Script

On Error Resume Next

‘get main objects/variables
Set ws = WScript.CreateObject ( «WScript.Shell» )
compname = ws.ExpandEnvironmentStrings ( «%COMPUTERNAME%» )
Set adGrp = GetObject ( «WinNT://» & compname & «/Administrators,group» )

‘add domain groups to local admin group
adGrp.Add ( «WinNT://mywindowsdomain/Domain Admins,group» )

‘End of the Script

mywindowsdomain = The NetBIOS name of the Domain that the user workstation log into.

Sentence that begin with » ‘ » use for a comment only.

After creating the script, we need add this script to Domain Default GPO – as
Computer startup or/and shutdown script and we done.

Reference:

Script Center

http://www.microsoft.com/technet/community/scriptcenter/default.mspx

Windows 2000 Computer Startup Scripts:

http://www.microsoft.com/technet/prodtechnol/windows2000serv/maintain/optimize/startw2k.asp?frame=true

Active Directory Services and Group Policy in Windows Server 2003:

http://www.microsoft.com/israel/events/downloads/ws2003event/Active_Directory.ppt

Windows 2000 Group Policy:

http://www.microsoft.com/windows2000/techinfo/howitworks/management/grouppolwp.asp

Redmine+IMAP+Gmail = Easy ticket submission via e-mail

This post will be about getting the incoming e-mail functionality enabled so that users can send and even update tickets via e-mail.  In-fact, this is quite a powerful feature, «how powerful is it!?»you ask… just a second I’ll get to that in a moment.

First, if you are following along from before then I can assume you are using Redmine under Windows and possibly even have it installed using the Bitnami stack.  I can also assume you probably use Exchange for your e-mail system and more than likely it does not have a Ruby environment on it, nor does it have IMAP enabled.  Finally, I am going to assume that the IT guys would get agitated if you even glanced in the direction of the server room.  How am I doing so far?  Alright, no worries, you should know better than to be playing with the production servers anyways.  We are going to get this incoming e-mail thing working for you in not time, just stay with me.

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

Рубрики:Software, project management, redmine Метки:

Installing and Configuring Windows Server 2008 SMTP

Installing SMTP Server Feature on Windows 2008 is an easy process requiring only few steps to complete. On this article we will describe a step by step configuration and installation of the SMTP Server feature and how to enable the smtp to relay from local server.

Step 1:

Opening Server Manager Console and under Features select Add Features

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

Рубрики:Server 2008 Метки:

Windows Server 2008 SMTP Service logging

Если установленная SMTP на Windows Server 2008 не пишет лог, то:

1) Install ODBC Logging module (role service in Server Manager)

2) Stop / Start the SMTP Service

3) Verify your SMTP service is configured for logging.  It’s not on by default.

4) Try a local telnet test (assuming the telnet client is installed)

5) Look at your log folder.

To Reproduce the logging ‘behavior’

1) Install Windows Server 2008 (obvious step)

2) Install the basic web server components. (static content with anonymous user)

3) Install telnet client and SMTP services

4) Enable logging on SMTP instance

5) try a telnet test locally

6) Verify the smtpsvc folder isn’t in the location you configured for logging (default is c:\windows\system32\logfiles)

7) Add the ODBC logging module (no iisreset is required) *Or in my tests there wasn’t

8) Stop / Start the SMTP service (net stop smtpsvc && net start smtpsvc)

9) Try another telnet test

10) Verify the SMTPSVC folder is present.

Написано:

Steve Schofield
Microsoft MVP – IIS.

http://weblogs.asp.net/steveschofield/archive/2008/02/29/windows-server-2008-smtp-service-logging-tip.aspx

Рубрики:Server 2008 Метки:

HOW-TO make USB WinPE

Что делать, если Vista «слетела», и на компьютере больше не загружается операционная система? Оказывается, спасти положение может USB-»флэшка». Вы можете использовать USB-флэш-накопители (Microsoft называет их UFD) с файлом образа Windows (.wim) для окружения Windows Preinstallation Environment, которое предоставляет быстрый доступ к опциям восстановления системы (System Recovery Options). Однако помимо помощи в ситуации, когда компьютер перестаёт запускаться, эта загрузочная «флэшка» может выполнять ещё много интересных функций. В данной статье описан процесс создания такого загрузочного устройства.

Каждая копия Windows Vista поставляется с установочными дисками или файлами, содержащими специальную урезанную версию операционной системы, которую Microsoft называет Windows Preinstallation Environment 2.0 (более известна как Windows PE, или WinPE).

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

HOW-TO restart ssh server – Как перезапустить ssh сервер

После изменения конфигурации вам может понадобиться перезапустить ssh сервер. Конечно, можно перезагрузить систему целиком, но это не всегда удобно.

Кроме того, в вашей системе сервер может не загружаться автоматически – тогда вам нужно будет его запустить командой start.

На разных системах для этого используются различные команды:

RedHat and Fedora Core Linux
service sshd restart

Suse linux
/etc/rc.d/sshd restart

Solaris 9 and below
/etc/init.d/sshd stop
/etc/init.d/sshd start

Solaris 10
svcadm disable ssh
svcadm enable ssh

AIX
stopsrc -s sshd
startsrc -s sshd

Рубрики:HOW-TO, Unix and Linux, ssh Метки: , ,

проблема с 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