{"id":24338,"date":"2025-07-09T14:52:40","date_gmt":"2025-07-09T07:52:40","guid":{"rendered":"https:\/\/vacif.com\/?p=24287"},"modified":"2025-07-14T14:59:13","modified_gmt":"2025-07-14T07:59:13","slug":"huong-dan-chi-tiet-join-domain-tren-windows","status":"publish","type":"post","link":"https:\/\/vacif.com\/en\/huong-dan-chi-tiet-join-domain-tren-windows\/","title":{"rendered":"H\u01af\u1edaNG D\u1eaaN CHI TI\u1ebeT JOIN DOMAIN TR\u00caN WINDOWS"},"content":{"rendered":"\n<p><strong>1. Gi\u1edbi thi\u1ec7u<\/strong><\/p>\n\n\n\n<p>Join domain l\u00e0 qu\u00e1 tr\u00ecnh \u0111\u01b0a m\u00e1y t\u00ednh Windows v\u00e0o h\u1ec7 th\u1ed1ng qu\u1ea3n l\u00fd t\u1eadp trung s\u1eed d\u1ee5ng Active Directory. Khi m\u00e1y \u0111\u00e3 join domain, ng\u01b0\u1eddi d\u00f9ng c\u00f3 th\u1ec3 \u0111\u0103ng nh\u1eadp b\u1eb1ng t\u00e0i kho\u1ea3n domain, nh\u1eadn ch\u00ednh s\u00e1ch Group Policy v\u00e0 \u0111\u01b0\u1ee3c qu\u1ea3n l\u00fd t\u1eadp trung t\u1eeb Domain Controller (DC).<\/p>\n\n\n\n<p><strong>2. Y\u00eau c\u1ea7u tr\u01b0\u1edbc khi th\u1ef1c hi\u1ec7n<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>M\u00e1y ch\u1ee7 Domain Controller \u0111\u00e3 \u0111\u01b0\u1ee3c c\u1ea5u h\u00ecnh Active Directory (VD: vf.com).<\/li>\n\n\n\n<li>M\u00e1y tr\u1ea1m c\u1ea7n join domain \u0111ang d\u00f9ng Windows 10\/11 ho\u1eb7c Windows Server.<\/li>\n\n\n\n<li>M\u00e1y tr\u1ea1m \u0111\u00e3 tr\u1ecf DNS v\u1ec1 IP c\u1ee7a Domain Controller.<\/li>\n\n\n\n<li>C\u00f3 t\u00e0i kho\u1ea3n domain c\u00f3 quy\u1ec1n join domain (Domain Admin ho\u1eb7c \u0111\u01b0\u1ee3c c\u1ea5p quy\u1ec1n).<\/li>\n<\/ul>\n\n\n\n<p><strong>3. Ki\u1ec3m tra k\u1ebft n\u1ed1i v\u00e0 c\u1ea5u h\u00ecnh DNS<\/strong><\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 1: Tr\u1ecf DNS<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Nh\u1ea5n Windows + R \u0111\u1ec3 m\u1edf h\u1ed9p tho\u1ea1i <strong>Run<\/strong>.<\/li>\n\n\n\n<li>G\u00f5 <strong>ncpa.cpl<\/strong> \u2192 nh\u1ea5n <strong>Enter<\/strong> \u0111\u1ec3 m\u1edf c\u1eeda s\u1ed5 <strong>Network Connections<\/strong>.<\/li>\n\n\n\n<li>Chu\u1ed9t ph\u1ea3i v\u00e0o adapter \u0111ang d\u00f9ng (Ethernet\/Wi-Fi) \u2192 ch\u1ecdn <strong>Properties<\/strong>.<\/li>\n\n\n\n<li>Ch\u1ecdn <strong>Internet Protocol Version 4 (TCP\/IPv4)<\/strong> \u2192 b\u1ea5m <strong>Properties<\/strong>.<\/li>\n\n\n\n<li>\u0110i\u1ec1n v\u00e0o <strong>Preferred DNS server<\/strong> l\u00e0 IP c\u1ee7a Domain Controller (VD: 192.168.20.254).<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/vacif.com\/en\/wp-content\/uploads\/sites\/3\/2025\/07\/image-40.png\" alt=\"\" class=\"wp-image-24288\" \/><\/figure>\n\n\n\n<p><strong>B\u01b0\u1edbc 2: Ki\u1ec3m tra b\u1eb1ng CMD<\/strong><\/p>\n\n\n\n<p>M\u1edf Command Prompt v\u00e0 ch\u1ea1y:<\/p>\n\n\n\n<p>ping vf.com<\/p>\n\n\n\n<p>nslookup vf.com<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/vacif.com\/en\/wp-content\/uploads\/sites\/3\/2025\/07\/image-41.png\" alt=\"\" class=\"wp-image-24289\" \/><\/figure>\n\n\n\n<p>N\u1ebfu k\u1ebft qu\u1ea3 ph\u1ea3n h\u1ed3i \u0111\u00fang IP DC th\u00ec c\u00f3 th\u1ec3 ti\u1ebfp t\u1ee5c.<\/p>\n\n\n\n<p><strong>4. \u0110\u1ed5i t\u00ean m\u00e1y &amp; Join domain (GUI)<\/strong><strong><\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Nh\u1ea5n <strong>Windows + R<\/strong>, g\u00f5 sysdm.cpl \u2192 Enter.<\/li>\n\n\n\n<li>Ch\u1ecdn <strong>Change<\/strong>, \u0111\u1ed5i t\u00ean m\u00e1y n\u1ebfu c\u1ea7n v\u00e0 nh\u1eadp t\u00ean domain (v\u00ed d\u1ee5: vf.com).<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/vacif.com\/en\/wp-content\/uploads\/sites\/3\/2025\/07\/image-42.png\" alt=\"\" class=\"wp-image-24290\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Nh\u1eadp t\u00e0i kho\u1ea3n domain (VD: administrator \/ m\u1eadt kh\u1ea9u).<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/vacif.com\/en\/wp-content\/uploads\/sites\/3\/2025\/07\/image-43.png\" alt=\"\" class=\"wp-image-24291\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Kh\u1edfi \u0111\u1ed9ng l\u1ea1i m\u00e1y.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/vacif.com\/en\/wp-content\/uploads\/sites\/3\/2025\/07\/image-44.png\" alt=\"\" class=\"wp-image-24292\" \/><\/figure>\n\n\n\n<p><strong>5. \u0110\u0103ng nh\u1eadp b\u1eb1ng t\u00e0i kho\u1ea3n domain<\/strong><\/p>\n\n\n\n<p>T\u1ea1i m\u00e0n h\u00ecnh \u0111\u0103ng nh\u1eadp:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Ch\u1ecdn <strong>Other user<\/strong> (Ng\u01b0\u1eddi d\u00f9ng kh\u00e1c).<\/li>\n\n\n\n<li>Nh\u1eadp th\u00f4ng tin \u0111\u0103ng nh\u1eadp domain:<ol><li>Username: domain\\tennguoidung<\/li><\/ol>\n<ol class=\"wp-block-list\">\n<li>Password: m\u1eadt kh\u1ea9u t\u00e0i kho\u1ea3n domain<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/vacif.com\/en\/wp-content\/uploads\/sites\/3\/2025\/07\/image-45.png\" alt=\"\" class=\"wp-image-24293\" \/><\/figure>\n\n\n\n<p><strong>6. Ki\u1ec3m tra l\u1ea1i sau khi join<\/strong><\/p>\n\n\n\n<p>Sau khi \u0111\u0103ng nh\u1eadp, m\u1edf Command Prompt v\u00e0 g\u00f5:<\/p>\n\n\n\n<p>whoami<\/p>\n\n\n\n<p>K\u1ebft qu\u1ea3 s\u1ebd l\u00e0 domain\\tennguoidung.<\/p>\n\n\n\n<p>echo %userdomain%<\/p>\n\n\n\n<p>K\u1ebft qu\u1ea3 l\u00e0 t\u00ean domain vi\u1ebft hoa, VD: DOMAIN.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/vacif.com\/en\/wp-content\/uploads\/sites\/3\/2025\/07\/image-46.png\" alt=\"\" class=\"wp-image-24294\" \/><\/figure>\n\n\n\n<p><strong>7. M\u1ed9t s\u1ed1 l\u1ed7i th\u01b0\u1eddng g\u1eb7p v\u00e0 c\u00e1ch x\u1eed l\u00fd<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>L\u1ed7i th\u01b0\u1eddng g\u1eb7p<\/strong><\/td><td><strong>Nguy\u00ean nh\u00e2n<\/strong><\/td><td><strong>C\u00e1ch kh\u1eafc ph\u1ee5c<\/strong><\/td><\/tr><\/thead><tbody><tr><td>Domain not found<\/td><td>DNS sai ho\u1eb7c kh\u00f4ng k\u1ebft n\u1ed1i \u0111\u01b0\u1ee3c DC<\/td><td>Ki\u1ec3m tra DNS tr\u1ecf \u0111\u00fang IP DC, th\u1eed ping domain<\/td><\/tr><tr><td>Access denied<\/td><td>T\u00e0i kho\u1ea3n kh\u00f4ng \u0111\u1ee7 quy\u1ec1n<\/td><td>D\u00f9ng t\u00e0i kho\u1ea3n Domain Admin ho\u1eb7c ph\u00e2n quy\u1ec1n tr\u01b0\u1edbc<\/td><\/tr><tr><td>Kh\u00f4ng \u0111\u0103ng nh\u1eadp \u0111\u01b0\u1ee3c sau khi join<\/td><td>DC ch\u01b0a replicate user ho\u1eb7c k\u1ebft n\u1ed1i m\u1ea1ng ch\u1eadp ch\u1eddn<\/td><td>\u0110\u1ea3m b\u1ea3o m\u00e1y th\u1ea5y \u0111\u01b0\u1ee3c DC, th\u1eed l\u1ea1i sau v\u00e0i ph\u00fat<\/td><\/tr><tr><td>Trust relationship failed<\/td><td>M\u00e1y b\u1ecb m\u1ea5t li\u00ean k\u1ebft v\u1edbi DC<\/td><td>Rejoin domain ho\u1eb7c reset trust b\u1eb1ng PowerShell<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>1. Gi\u1edbi thi\u1ec7u Join domain l\u00e0 qu\u00e1 tr\u00ecnh \u0111\u01b0a m\u00e1y t\u00ednh Windows v\u00e0o h\u1ec7 th\u1ed1ng qu\u1ea3n l\u00fd t\u1eadp trung s\u1eed d\u1ee5ng Active Directory. Khi m\u00e1y \u0111\u00e3 join domain, ng\u01b0\u1eddi d\u00f9ng c\u00f3 th\u1ec3 \u0111\u0103ng nh\u1eadp b\u1eb1ng t\u00e0i kho\u1ea3n domain, nh\u1eadn ch\u00ednh s\u00e1ch Group Policy v\u00e0 \u0111\u01b0\u1ee3c qu\u1ea3n l\u00fd t\u1eadp trung t\u1eeb Domain Controller (DC). 2. Y\u00eau [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":24294,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[617,618],"tags":[83],"class_list":["post-24338","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-case-study-thuc-te","category-huong-dan","tag-windows-server","entry","has-media"],"_links":{"self":[{"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/posts\/24338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/comments?post=24338"}],"version-history":[{"count":1,"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/posts\/24338\/revisions"}],"predecessor-version":[{"id":24443,"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/posts\/24338\/revisions\/24443"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/media\/24294"}],"wp:attachment":[{"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/media?parent=24338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/categories?post=24338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vacif.com\/en\/wp-json\/wp\/v2\/tags?post=24338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}