I don't have any proper training in Active Directory (rather I just fumble around and manage this network part time relying on experts in places such as this site), so I apologize in advance if these are really fundamentally silly questions. In other words, treat me like I'm 5. :)  Situation:  I want to migrate away from a DC (DC1) because its old hardware and likely to fail on me to DC2.  In my domain I have:  -DC1: Win 2008R2, Active Directory domain Services role, DNS Role. Global Catalog and all 5 FSMO roles. Not a VM, its a hard box. DC1 has been the first DC in our domain for many years.  -DC2: Win 2008R2, Active Directory domain Services role, DNS Role. Global Catalog. This is a VM on newer hardware. I promoted this VM to DC a few months ago when another DC2 had a full hardware failure.  Proposed actions:  What I think I need to do is:   "Transfer" the FSMO roles from DC1 to DC2:  or   Upon success, spin up a new DC #3 (a VM on different HW than DC2), promote it as a another DC alongside the current DCs. Assign Global Catalog and DNS to this new DC3.  Upon success demote DC1 and decommission the hardware, wipe the drive, etc..  Are there any steps I am missing or anything else I should consider? I think the transfer is straightforward (I have also seized roles in the past when another DC failed outright) but I feel like I am missing some steps here. I'm also not onsite but doing this remotely so I don't want to make any mistakes and make for a long day talking marketing guys through commands.  Thanks.
need to move a domain controller, the first in the forest that holds all the fsmo roles, to another location in a clients building. it will require turning off this dc, call it dc1 for this question. i want to transfer the fsmo roles to a new domain controller call the new one dc2. dc2 is already on the network and has been promoted and made a domain controller, it's dns settings are set and it is also a global catalog (GC). the work is scheduled to be done after hours and i am also planning on moving the dhcp server to dc2.  i am looking for a best practices checklist of things to verify prior to moving fsmo roles and turning dc1 off? as far as i know there are no issues with replication between the dc's. my biggest worry is if i turn on dc1 after moving it and i have hardware issues or boot issues, i would rather move the fsmo roles to a known good one that is a few months old (dc2) vs still using a 5yr old box (dc1), this is part of my migration strategy too.   thanks for the help.
Do I choose the target or the ally for the Help action? How to move /usr to a new partition? In Clash of Clans there was an update on 9/16 adding a Tie-breaker into the wars, can anybody explain in detail how this mechanism works? How to determine the current widget's parent container (sidebar widget id) Do Squibs have to be pure-blood? If a Muggle was born of a wizard/witch and a Muggle, is that person a Squib, or is that reserved to people born from pure-blood families?    (Related: ) If I want my app to behave differently on a jailbroken iPhone, how would I go about determining this? PHP mail function doesn't complete sending of e-mail This question is inspired by    I see these constructs  for file in `find . -type f -name ...`; do smth with ${file}; done   and  for dir in $(find . -type d -name ...); do smth with ${dir}; done   being used here almost on a daily basis even if some people take the time to comment on those posts explaining why this kind of stuff should be avoided... Seeing the number of such posts (and the fact that sometimes those comments are simply ignored) I thought I might as well ask a question:  Why is looping over find's output bad practice and what's the proper way to run one or more commands for each file name/path returned by find ? In Gmail, what is the safest way to download, save & print all emails with a given label? Attempting to securely download all the emails with a given label in Gmail, save them to a single file, and print that file. It seems that there are many ways to prove the Sylow theorems. I'd like to see a collection of them. Please write down or share links to any you know. Fibonacci sequence and Euclidean algorithm's connection. Let $f_1, f_2,\dots,f_i,\dots$ be the Fibonacci sequence with $f_1=f_2=1$. For any $a,b\in\mathbb{N}$ with $a&lt;b$, suppose the Euclidean algorithm takes $n$ long divisions to compute $\gcd(a,b)$. If $a\le f_j$, then $n\le j-1$, for $j\ge2$.   I want to prove this problem. But I can't see any connection between Fibonacci and Euclidean algorithm. If anyone can give a hint about first step, it will be very thankful.  My guess is to use induction. Recently, on my Ubuntu 18.04 I have noticed that at least on gnome-calculator and chromium browser the fonts are displayed as squares. I have followed instructions  and , the calculator is fixed, but the problem on chromium still exists when I open a dialog to search for a file.  Not sure if this happens on other applications as well, I haven't checked all my apps, but File managers nemo and nautilus are working fine.  Also, before few months ago, I have included some windows fonts for my libre office shown . I used the copy (cp) method, not the link (ln -s). But, was working fine until yesterday. Haven't done any major change or update, at least on my Linux partition (dual boot). But, I don't think that this has anything to do with that.  Any idea how can I fix this issue?  . Maclaurin series of $\ln(1-x+x^2)$ Is there a closed form expression for $\text{n}^{\text{th}}$ coefficient of Maclaurin series of  $$\ln(1-x+x^2)$$ Nginx rewite rules 403 error I am having trouble with converting .htaccess files to nginx. I have 3 .htaccess files. The first .htaccess file is located in the document root and is as follows:  Options +FollowSymLinks RewriteEngine On RewriteRule ^img-(.*)\.html img.php?id=$1 [L] RewriteRule ^slide-(.*)\.html slider.php?id=$1 [L] RewriteRule ^page-(.*)\.html page.php?name=$1 [L] RewriteRule ^contact\.html$ contact.php [QSA,L,NC]   The second .htaccess file is located in a folder called upload:  RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://(.+\.)?foo\.com/ [NC] RewriteCond %{HTTP_REFERER} !^$ RewriteRule .*\.(jpe?g|gif|bmp|png)$ nohotlink.gif [L] &lt;Files ~ "\.(php|sql|php3|php4|phtml|pl|py|jsp|asp|htm|shtml|sh|cgi)$"&gt;   order allow,deny   deny from all &lt;/Files&gt;   And the third and final .htaccess file is found in a subdirectory of the upload folder named "small":  RewriteEngine Off   Now I have created a folder in /etc/nginx called includes and made 3 seperate .access files with these rewrite rules:  For the first .htaccess file located in the document root directory I have created an file in /etc/nginx/includes called root.access. In this file I have:  # nginx configuration   location /img {  rewrite ^/img-(.*)\.html /img.php?id=$1 break;  }  location /slide {      rewrite ^/slide-(.*)\.html /slider.php?id=$1 break;  }  location /page {      rewrite ^/page-(.*)\.html /page.php?name=$1 break;  }  location /contact {      rewrite ^/contact\.html$ /contact.php break;  }   For the second file located in the "upload" folder I have crated a file in /etc/nginx/includes called upload.access. This file contains the following:  # nginx configuration   location /upload {  if ($http_referer !~ "^http://(.+\.)?foo\.com/"){  rewrite .*\.(jpe?g|gif|bmp|png)$ /nohotlink.gif break;  }  }  location ~ \.(php|sql|php3|php4|phtml|pl|py|jsp|asp|htm|shtml|sh|cgi)$ {  deny all;  }   And for the third and final file I have created a file in /etc/nginx/includes names small.access. The contents of this file are as follows:  # nginx configuration   location /upload/small {  }   In the server block configuration file I have:   location / {               try_files $uri $uri/ /index.php;               include /etc/nginx/includes/root.access;      }   location /upload {               include /etc/nginx/includes/upload.access;      }   location /upload/small {               include /etc/nginx/includes/small.access;      }   Now with this configuration when trying the site I receive 403 errors. Nginx error log reports:  [error] 18156#0: *7 access forbidden by rule, client: 111.**.**.**, server: foo.com, request: "POST /upload.php HTTP/1.1", host: "foo.com", referrer: "http://foo.com/"   Now under apache everything works no problems. But I can not see why I am getting 403 errors. I am also worried that the rewrite rules as I have stated them, beyond the 403 error will not function properly at all. Can anyone help me with this? I can not see what is wrong here. Symmetric and exterior power of representation Does there exist some simple formulas for the characters $$\chi_{\Lambda^{k}V}~~~~\text{and}~~~\chi_{\text{Sym}^{k}V},$$ where $V$ is a representation of some finite group?  Thanks. What to do when you find a bad link in an answer? If a link has gone stale in an answer, what is the correct way to report this in the SO universe?  e.g. Jon's first link in    I have added a comment but not found the correct link yet. I dual booted ubuntu 11.04/11.10 a while ago with a USB stick and i want to uninstall it.   I would like to completely uninstall the old version and get 12.04.  I have a 64 bit laptop. Please help! The classical book on commutative algebra Introduction to Commutative Algebra, by Atiyah and Macdonald, has the following as exercise I.11.       A ring is Boolean if $x^2=x$ for any $x$ of $A$. In a Boolean ring $A$, show that     i) $2x=0$ for all $x\in A$;    ii) Every prime ideal of $A$ is maximal, and its residue field consists of two elements;   iii) Every finitely generated ideal of $A$ is principal.     I can but solve the first two of them; for the last one, I cannot even perceive the situation here, for it will not, generally speaking, be a Dedekind domain, whereof my knowledge is somewhat more. I have hitherto tried to find one element for each ideal of two generators which can stand the stead of them, and then proceed by induction. But even the first step fails to produce any result. Thanks for any hints and inspirations in advance. I'm a US passport holder. What documents do I need when I fly from the U.S. to Germany?  Assume I'm going for a few weeks of vacation.  Obviously I need my passport.  What about a "visa"?  Anything else? Query Which Profiles Have Read Access To Specific Object? Since I couldn't think of how to write this query off the top of my head, I thought it might be worth sharing. How can I query which Profiles have Read permission on a specific object? I knew it would have something to do with ObjectPermissions and PermissionSet, but had to look up the documentation for both to piece it together.