Showing posts with label Domain. Show all posts
Showing posts with label Domain. Show all posts

Sunday, May 6, 2012

bench3

Migration from Novell to 2008R2

How to migrating Windows XP workstations on Novel into a 2008R2 domain. Where, most workstations have only one primary user and profiles are stored locally. The My Documents folder is being redirected to a NetWare mapped drive. Can USMT migrate the local profile to a roaming profile stored on 2008R2?

Eventually the workstation will be migrated to 7. Do we hold off on roaming profiles until then? Can 7 go from local to roaming profile?

Go from local profile to local profile. Turn roaming on, afterwards. Simpler, cleaner, easier to troubleshoot. There will be those days.

Turning on roaming profiles once in a native Windows environment is simple, common and useful. However, check your network architecture to ensure you can handle this against what data is in those profiles. Large PST, Movies, etc will cause the user to think the new network or products (hint, hint) is not good.

Yes it can achieve this using UAMT 4 to migrate Windows XP local to 7 domain roaming.

Read More
bench3

Best Practice Before and After Adding New System into Domain

I would like to know about what's best practice or standard process before and after adding new system into domain?

Best practices will be proceed with anti virus scan on the machines before allowing them to join to the domain. Make sure virus definition and standards meet your organization requirements.

And once you have joined the Domain, make sure your security policies are tight and monitored regularly.

Domains, workgroups, and homegroups represent different methods for organizing computers in networks. The main difference among them is how the computers and other resources on the networks are managed.

Computers running Windows on a network must be part of a workgroup or a domain. Computers running Windows on home networks can also be part of a homegroup, but it's not required.

Computers on home networks are usually part of a workgroup and possibly a homegroup, and computers on workplace networks are usually part of a domain.

Read More

Saturday, April 14, 2012

bench3

0x800710F | Windows 7 Offline Cache Corrupt

Windows 7 Offline Cache Corrupt: Error 0x800710FE: This file is currently not available for use on this computer.

To fix this issue, you need to reset the offline cache files, that is you need to remove the old files and again re-enable the Off Line Cache!
Please open Control Panel\All Control Panel Items\Sync Center. Click “Manage Offline Files”. Select the “Disk Usage” tab and then click the button Delete temporary files.
If the issue persists, restart and log in Safe Mode. Then, open “regedit”, manually locate to:
Warning: before you try to modify windows registry, learn how to backup windows registry. Also try to have a backup of your registry at this stage before you proceed. Read More On How To Backup Windows Registry.
  • HKLM\System\CurrentControlSet\Services\CSC\Parameters
  • Then, add a REG_DWORD key, name FormatDatabase and change its value to 1.
  • Then reboot.
Read More

Friday, September 30, 2011

bench3

Steps To Connect Linux PC To Windows Domain - Active Directory

This article will explain you how to connect Your Linux PC to Windows Active Directory Domain Control.

Many companies are using mixed IT environment's using a mixture of Windows, Linux, UNIX and Mac’s and I for one am using a mixture of Microsoft Windows and Linux (Ubuntu). And also, this is one way of saying the IT Cost, instead of investing in Licensed operating system, many small and medium scale business can go with Linux as client side.

On my network I use a Microsoft Active Directory installed on Windows Server 2003 R2 and want to be able to get all Server (Linux & Windows) as well as Desktops (Linux and Windows) to authenticate in a central location.

Since browsing the web I managed to find this cool package that can be installed on Ubuntu. Hardy Heron (8.04) which enables you to add and authenticate Ubuntu 8.04 and later against a Windows Domain Controller (Microsoft Active Directory)

So here goes…

sudo apt-get update
sudo apt-get install likewise-open
sudo domainjoin-cli join fqdn.of.your.domain Administrator
sudo update-rc.d likewise-open defaults
sudo /etc/init.d/likewise-open start

Using the above commands you have installed ‘likewise-open’ which is the package that makes it possible for the Ubuntu client/server to logon to a Windows domain, added the client/server to the windows domain, updated the system services and then started the service.

Now that the LikeWise package has been installed you can now logoff (although I recommend full system reboot) and logon in this format:

DOMAIN\username

You need to ensure that you prefix the username with the Domain name.

The good points about this kind of setup is as follows:

  • Single username/password combination across entire network.
  • Enforces password policys
  • Likewise Open enables Linux, Unix and Mac authentication on a Microsoft network using Active Directory.

A user can now interactively log in to the Linux, Unix or Mac machine using Active Directory credentials, and can access any kerberized services that the non-Windows machine hosts.

Read More

Wednesday, March 30, 2011

bench3

How To Login To Windows Domain Without Administrator Password

I've got a client with a windows 2008 Small Business Server Operating a domain. Nobody can remember the Active Directory admin password or any password for any account that has admin rights to get into the machine.

I have also tried OPHCrack and that didn't work, also, there are a few computers on the network that are able to authenticate but when the server was originally set up, those users were denied local login access. Any ideas?

Solution:

I've heard this method works
http://www.youtube.com/watch?v=Ar-VoO9ogHc
I haven't had a chance to test it myself so feedback would be great.

Read More
bench3

Error While Creating New Active Directory Domain

I am creating a new domain in new forest. On every attempt, it asks me to create a password with net user command. What is it all about?

Solution:

First: Check if you have admin rights. And if you logon as administrator does your administrator account have a password? Blank password will not be accepted while creating active directory. If this is the case, simply run the following from the command line
net user Administrator /passwordreq:yes

Second: Is this your first attempt to create a domain, or you retry to create from the failed attempt, whether the DC with the same name already exit and it is detained or removed from the same domain. if so first do metadata cleanup and try.

If you still have problem, please provide actual error messages rather than descriptions. My guess is that you are trying to create a new AD domain on a server with a local admin account that does not have a password. Providing more information and actual error messages would clear that up.

Read More

Tuesday, January 18, 2011

bench3

Customizing Default User Profiles In Windows

You can customize the default user profile during an unattended installation using the following Copy Profile parameter in the Unattend.xml answer file that is passed to the Sysprep.exe. To do this, follow these steps:

Customizing Default User Profiles In Windows

1. Use the administrator account or an account that has administrative privileges to log on to the computer.

2. Configure the settings that you want to use in the profile. This includes desktop settings, favorites, and Start menu options.

3. Create an Unattend.xml file that contains the Copy Profile parameter. By using this Copy Profile parameter, the settings of the user who is currently logged on are copied to the default user profile. This parameter must be set to "true" in the specialize pass. For example, the parameter must be as follows:

<CopyProfile>true</CopyProfile>

4. You can use the Windows System Image Manager tool to create the Unattend.xml file. The Windows System Image Manager tool is included as part of the Windows Automated Installation Kit (Windows AIK). For more information about Windows AIK, visit the following Microsoft Web site:

http://technet.microsoft.com/en-us/library/dd349343.aspx

5. Choose Start and type CMD at the search prompt or at a command prompt, type the following command:

sysprep.exe /generalize /unattend: unattend.xml

6. Open Sysprep.exe which is located in the

%systemdrive%\Windows\System32\sysprep directory.

7. You must use the /generalize switch so that the Copy Profile parameter can be used. The /unattend is an optional syntax which is used to point to the desired Unattend.xml file.

8. Note: The Unattend.xml file is located in the sysprep directory.

Read More

Monday, January 10, 2011

bench3

Domain-Joined Computers Can Be Part Of A HomeGroup In Windows 7

The laptop buying trend doesn’t stop at home. Large corporations are also moving toward buying laptops for their employees. There is research out there that outlines productivity improvements with employees using laptops.
This makes sense as most of these laptop-wielding employees bring their computers home and put in those extra email hours. However, most corporations require that their laptops be joined to a corporate domain. This enables system administrators to manage and maintain these computers. 

Domain-joined laptops are thus subject to more restrictions than regular home computers are. It’s hard to even locate another PC on the home network to access or share files, let along configure your domain-joined computer to print to a printer at home.

With HomeGroup, we wanted see if we could make things a little easier for these computers to come home. With more and more people working from home or having the option to these days, we wanted to see if they could enjoy some of the media content they have on the other PCs in the HomeGroup while they work. 

So in Windows 7, your domain-joined computer can join and participate in a HomeGroup. This enables the domain-joined computer to consume the media available on Windows 7 PCs in the home, watch TV through WMC, listen to music via WMP, or print to the printer on another HomeGroup PC all by entering the same key you provide to other computers in the HomeGroup.

The only difference is that sensitive content on the corporate laptop is never shared to the other HomeGroup computers. In essence, the domain-joined computer can see out (and consume) but no one can see in. We believe this meets the need for corporations to maintain security over documents while enabling our customers to enjoy a fun and interesting work environment at home, with access to all their media and home printers while they work. 

All you need is an existing HomeGroup, a domain-joined computer, and you can be rocking to your favorite tunes on your home network, while you catch up on all your important work.

Of course the ability to join a HomeGroup is a policy that can be managed by corporate domains as you would expect.
Read More

Thursday, December 9, 2010

bench3

Index.Dat File Is In Use And Cannot Be Synchronized Error | How To Fix

When the logged on user initiates a synchronization through the sync center we see an error in the sync center that the IE index.dat file is in use and cannot be synchronized. And you wont see this error when the sync is forced during reconnection or log-off.

This Happens, When you have roaming profiles and folder redirection ( desktop, appdata, favorites, Pictures, Videos, Docs, desktop ).

It seems the IE index.dat file causes the problems. You can try to delete some index.dat files if you want to.


Solution:
Whether for better administrative control, security or as a means to keep the client workstations lighter and more energy efficient, application data is being redirected to remote disks increasing the amount of user data to be stored in a central location.   

However, Internet Explorer performance and stability can be impacted greatly from such a configuration. Internet Explorer utilizes a number of caches for user browsing data.  The most common of these are the Temporary Internet Files, History and Cookies folders.
Each contains a reference database, index.dat, which allows Internet Explorer to keep track of the location of individual pieces of browsing data and other relative attributes of that data, such as expiration and last-accessed dates.  It should be fairly evident that these indices are constantly being read from and written to during the course of a browsing session.  Each object being requested has to be looked up to determine if it exists and if so, its attributes have to be enumerated.  If not, the client must download a copy of the object, place it into the appropriate cache and then update the index with its location and applicable attributes.  
Consequently, the resulting behavior that is displayed to the user can vary from Internet Explorer becoming unresponsive to missing or poor content layout.
The question then becomes, what are Microsoft’s official recommendations?
Simply put:   Do not redirect the user’s Internet Explorer’s folders.  Internet Explorer currently does not have the capacity to reliably utilize its data files from a remote location.  Outward signs (error dialogs, event logs, browser behavior) do not indicate that the problem is caused by inaccessible indices.  The sooner those administrators revert from this practice, the less impact there will be when organizations grow.
Eventually, once discovered, the issue is resolved with the recommendation to return the folders to their proper locations on the local machine.  
If your organization is focused on maintaining site preference cookies for users with roaming profiles, it may be easier to leave the user shell folder locations set at their recommended default values and then incorporate a policy to force the clients to empty the Temporary Internet Files when the browser is closed.  This will result in a small cache to copy across the network when the user logs in or out.  The cookies should be preserved and roam as expected. 
Simple recommendation would be, do not redirect "appdata". And if you already have redirected these folders, start building a contingency plan and detail the time and resources required to undo it.
Also, using group policy preferences you can redirect the following reg keys to the local appdata. This will solve the the problem.
Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Cookies -> To %USERPROFILE%\AppData\Local\Microsoft\Windows\Cookies
Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Extensible Cache\ietld\CachePath -> To %LOCALAPPDATA%\Microsoft\Windows\IETldCache
Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\LowCache\Extensible Cache\ietld\CachePath -> To %LOCALAPPDATA%\Microsoft\Windows\IETldCache\Low
Read More

Sunday, December 5, 2010

bench3

Joining Windows 7 Computer To A Domain

In Windows 7 the trust between PC an Domain has changed. Once you have joined a domain using any previous version of windows, you cannot use the same computer name to rejoin the domain. 

If your computer is already in the domain, you will be getting an error while rejoining with the domain controller.  
"The procedure entry point I_NetNameValidate could not be located in the dynamic link library NETAPI32.dll."
Either the computer name should be changed or the previously joined computer needs to be removed from the domain controller.
  • You will have to change the computer name and rejoin the computer to the domain as an Administrator  (or)
  • Go to the domain server and remove the computer from the users and computer option and then try to rejoin the computer.
After a successful joinnig and restart, then add your user name and password. Where as you can also use the netdom tool. But, the netdom tool is only used with a computer that has not changed and was already registered with the Domain.
Read More

Tuesday, November 30, 2010

bench3

Exclude Domain Users In Offline Migration

While attempting to migrate a user profile using USMT 4 offline migration, you must specify the domain user account to include by sid when performing an offline USMT migration.

But, instead of specifying a user account to include, what if you need to specify user accounts to exclude. If you do that without much knowledge, Unfortunately it will migrating all the accounts even the local accounts that you have specified to exclude. 
Here is an example of such wrong scanstate command:
scanstate S:\offline /offlinewindir:C:\Windows /i:Config.xml /w:5 /c /v:1 /config:config.xml /ue:LocalAccount /ue:"SID of domain account to exclude" /uel:90 /efs:skip /l:S:\Offline\Logfiles\Offline.log
Is it possible to exclude user accounts in an offline scanstate migration? is it possible to exclude as required?

Solution:  
It is able to exclude the user accounts in an offline scanstate migration.
In your scanstate command, please note that The /uel option is not valid in offline migrations.

References:
Read More

Monday, September 20, 2010

bench3

StartUp Script To Remove IE Favourites On All Clients On A Domain

StartUp Script To Remove Internet Explorer Favourites On All Clients On A Domain: Have you ever seen Bilt In Internet Shortcuts In Microsoft Windows Operating System like what you see in the below screen shot? Well, Though it may not taku up any space in your disk, users may want it to be removed from their system. The reason can be plenty.... 
Anyhow, All those shortcuts can be deleted manually on each system. But is there any way to automate the removal of these shortcuts, perhaps via a group policy or a batch file/script, so that the users never see them? Well, it can be done. And if you want to perform a domain wide removal of Internet Explorer 6 Favourites shortcuts such as 'msn.com and 'Windows Marketplace', here is a simple batch file.

SCRIPT: Add this to your users login script it will check for the first shortcut and remove if it is there and check for the second shortcut and remove if it is there. Please change the names of the shortcuts in the script to the one you want to remove. 
batch file.
if not exist %USERPROFILE%\Favourites\shortcut1.url GOTO NODELETE1
del /s /q "%USERPROFILE%\Favourites\shortcut1.url"
NODELETE1:

if not exist %USERPROFILE%\Favourites\shortcut2.url GOTO NODELETE2
del /s /q "%USERPROFILE%\Favourites\shortcut2.url
NODELETE2:
Read More

Wednesday, September 1, 2010

bench3

Load Local Profile When The User Cant Connect To Domain Controller

Load Local Profile Insted Of Domain Profile When The User Cant Connect To Domain Controller:
Force a user load his local profile instead of the one that correspond to the domain when he authenticate to this one.
Example: A laptop with Windows Seven Pro needs to be in a domain in order to work and load the same profile when the owner goes home.
Solution:
In your domain if you enable logon cache in your GPO's the user will be able to logon with their domain credentials while home even if they cannot authenticate to the domain controller.
Computer configuration\windows settings\security settings\local policies\security options\Interactive logon number of previous logons to cache
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon is the registry path you'd want to change.
Read More

Thursday, August 19, 2010

bench3

Find Your PC Name In Windows 7 And Windows Vista

Normally the person installing the windows will give your PC a name. And why it is important because your PC’s name is the name others see when they access your shared folders over the network, so make it a good one.

Here is how you can find the name of your PC.
  1. In Control Panel, open System, click the Advanced system settings link on the left, and then choose the Computer Name tab. Ignore the Computer description field and instead look at the Full computer name entry immediately beneath it: this is your PC’s name.
  2. Or, open a Command Prompt window, type hostname at the prompt, and press Enter.
A hostname is a label that is assigned to a device connected to a computer network and that is used to identify the device in various forms of electronic communication such as the World Wide Web, e-mail or Usenet. Hostnames may be simple names consisting of a single word or phrase, or they may include the name of a Domain Name System (DNS) domain at the end, that is separated from the host specific label by a full stop (dot).

Each computer on your local network must have a different name, but they should all have the same Workgroup name. If you need to rename your PC or modify the Workgroup name, click the Change button (don’t use the Network ID button).

When you’re done, you may have to restart Windows for any changes to take effect.
Read More

Thursday, August 12, 2010

bench3

How to Join Your Computer To A Domain

Users in corporations or large organizations sometimes need to manually join their computer to a domain. This can be accomplished quickly by following the steps below.
Note: You must be logged on as an administrator or a member of the Administrators group in order to complete this procedure. If your computer is connected to a network, network policy settings may also prevent you from completing this procedure.
Logon as Administrator. Right-click My Computer, and then click Properties. The System Properties dialog box is displayed.

On the Computer Name tab, click Change. On the Computer Name Changes dialog box, select Domain and enter the name of the domain in the text box, as shown in Figure  below. In this example, the computer currently named hq-res-wrk-o1 is joined to the Reskit domain.
Figure: Joining a computer to a domain.
Provide user name and password credentials to show you have the appropriate permissions to join the desired domain.

When the Welcome to the domain message appears, click OK. You will need to restart you computer for the change to take effect.
Read More