Active Directory Admin Denied Access - Why? The 2019 Stack Overflow Developer Survey Results Are InWindows Active Directory naming best practices?User in domain admin group cannot access directory the group has permission to accessAccess denied after adding Active Directory group to shared folderAccess a remote active directoryActive Directory DNS issue? Event ID 13 Access Denied,Unable to move OU in Active Directory (Access is denied)Active Directory logon issueActive directory overwriting existing computersnet computer returns “Access is denied” for admin userCan't open Active Directory Users and Computers, although AD is operational

Why do UK politicians seemingly ignore opinion polls on Brexit?

Does the shape of a die affect the probability of a number being rolled?

One word riddle: Vowel in the middle

Who coined the term "madman theory"?

Is this app Icon Browser Safe/Legit?

How to answer pointed "are you quitting" questioning when I don't want them to suspect

Why isn't airport relocation done gradually?

Have you ever entered Singapore using a different passport or name?

How to save as into a customized destination on macOS?

Can someone be penalized for an "unlawful" act if no penalty is specified?

Falsification in Math vs Science

Is a "Democratic" Oligarchy-Style System Possible?

Loose spokes after only a few rides

Identify boardgame from Big movie

Feature engineering suggestion required

A poker game description that does not feel gimmicky

What is the most effective way of iterating a std::vector and why?

Which Sci-Fi work first showed weapon of galactic-scale mass destruction?

Is an up-to-date browser secure on an out-of-date OS?

Button changing it's text & action. Good or terrible?

Resizing object distorts it (Illustrator CC 2018)

slides for 30min~1hr skype tenure track application interview

Can a flute soloist sit?

Are there incongruent pythagorean triangles with the same perimeter and same area?



Active Directory Admin Denied Access - Why?



The 2019 Stack Overflow Developer Survey Results Are InWindows Active Directory naming best practices?User in domain admin group cannot access directory the group has permission to accessAccess denied after adding Active Directory group to shared folderAccess a remote active directoryActive Directory DNS issue? Event ID 13 Access Denied,Unable to move OU in Active Directory (Access is denied)Active Directory logon issueActive directory overwriting existing computersnet computer returns “Access is denied” for admin userCan't open Active Directory Users and Computers, although AD is operational



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















Logged in as the domain admin of an Active Directory environment, I'm attempting to run this command to reboot a workstation:



@start /b cmd /c shutdown -r -f -t 1 -m \COMPUTER-NAME


I'm getting this error:



COMPUTER-NAME: Access is denied


Why would the domain admin be denied access to execute this command?










share|improve this question

















  • 1





    IMO, this shouldn't happen! Can you check if the workstation is having group policy applied (check if domain admins is in the Administrators group), and the proper SMB settings. I once encountered this problem when SMB2 was disabled on a Windows 7 desktop, and had to manually enable through regedit!

    – Am_I_Helpful
    Apr 7 at 7:39







  • 1





    Is the problem specific to the shutdown command, or does it also fail if you try dir \COMPUTER-NAMEc$ ?

    – Harry Johnston
    Apr 7 at 22:07






  • 1





    Another setting to check is "Access this computer from the network" under User Rights Assignment in the local security policy. Also the corresponding "Deny access to this computer from the network".

    – Harry Johnston
    Apr 7 at 22:09






  • 1





    The workstation might not be properly joined to the domain. I recommend logging into the workstation interactively using the local administrator account, double-checking that the computer is using the right computer name, and leaving and then re-joining the domain.

    – Harry Johnston
    Apr 7 at 23:54






  • 1





    ... the target account name problem can also occur in some scenarios involving multiple domains, e.g., if computer-name is in domain A but you're trying to connect to it from a machine in domain B and there is a computer object in domain B that is also named computer-name.

    – Harry Johnston
    Apr 7 at 23:56


















1















Logged in as the domain admin of an Active Directory environment, I'm attempting to run this command to reboot a workstation:



@start /b cmd /c shutdown -r -f -t 1 -m \COMPUTER-NAME


I'm getting this error:



COMPUTER-NAME: Access is denied


Why would the domain admin be denied access to execute this command?










share|improve this question

















  • 1





    IMO, this shouldn't happen! Can you check if the workstation is having group policy applied (check if domain admins is in the Administrators group), and the proper SMB settings. I once encountered this problem when SMB2 was disabled on a Windows 7 desktop, and had to manually enable through regedit!

    – Am_I_Helpful
    Apr 7 at 7:39







  • 1





    Is the problem specific to the shutdown command, or does it also fail if you try dir \COMPUTER-NAMEc$ ?

    – Harry Johnston
    Apr 7 at 22:07






  • 1





    Another setting to check is "Access this computer from the network" under User Rights Assignment in the local security policy. Also the corresponding "Deny access to this computer from the network".

    – Harry Johnston
    Apr 7 at 22:09






  • 1





    The workstation might not be properly joined to the domain. I recommend logging into the workstation interactively using the local administrator account, double-checking that the computer is using the right computer name, and leaving and then re-joining the domain.

    – Harry Johnston
    Apr 7 at 23:54






  • 1





    ... the target account name problem can also occur in some scenarios involving multiple domains, e.g., if computer-name is in domain A but you're trying to connect to it from a machine in domain B and there is a computer object in domain B that is also named computer-name.

    – Harry Johnston
    Apr 7 at 23:56














1












1








1


1






Logged in as the domain admin of an Active Directory environment, I'm attempting to run this command to reboot a workstation:



@start /b cmd /c shutdown -r -f -t 1 -m \COMPUTER-NAME


I'm getting this error:



COMPUTER-NAME: Access is denied


Why would the domain admin be denied access to execute this command?










share|improve this question














Logged in as the domain admin of an Active Directory environment, I'm attempting to run this command to reboot a workstation:



@start /b cmd /c shutdown -r -f -t 1 -m \COMPUTER-NAME


I'm getting this error:



COMPUTER-NAME: Access is denied


Why would the domain admin be denied access to execute this command?







active-directory windows-server-2008-r2






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 7 at 7:34









LonnieBestLonnieBest

58131030




58131030







  • 1





    IMO, this shouldn't happen! Can you check if the workstation is having group policy applied (check if domain admins is in the Administrators group), and the proper SMB settings. I once encountered this problem when SMB2 was disabled on a Windows 7 desktop, and had to manually enable through regedit!

    – Am_I_Helpful
    Apr 7 at 7:39







  • 1





    Is the problem specific to the shutdown command, or does it also fail if you try dir \COMPUTER-NAMEc$ ?

    – Harry Johnston
    Apr 7 at 22:07






  • 1





    Another setting to check is "Access this computer from the network" under User Rights Assignment in the local security policy. Also the corresponding "Deny access to this computer from the network".

    – Harry Johnston
    Apr 7 at 22:09






  • 1





    The workstation might not be properly joined to the domain. I recommend logging into the workstation interactively using the local administrator account, double-checking that the computer is using the right computer name, and leaving and then re-joining the domain.

    – Harry Johnston
    Apr 7 at 23:54






  • 1





    ... the target account name problem can also occur in some scenarios involving multiple domains, e.g., if computer-name is in domain A but you're trying to connect to it from a machine in domain B and there is a computer object in domain B that is also named computer-name.

    – Harry Johnston
    Apr 7 at 23:56













  • 1





    IMO, this shouldn't happen! Can you check if the workstation is having group policy applied (check if domain admins is in the Administrators group), and the proper SMB settings. I once encountered this problem when SMB2 was disabled on a Windows 7 desktop, and had to manually enable through regedit!

    – Am_I_Helpful
    Apr 7 at 7:39







  • 1





    Is the problem specific to the shutdown command, or does it also fail if you try dir \COMPUTER-NAMEc$ ?

    – Harry Johnston
    Apr 7 at 22:07






  • 1





    Another setting to check is "Access this computer from the network" under User Rights Assignment in the local security policy. Also the corresponding "Deny access to this computer from the network".

    – Harry Johnston
    Apr 7 at 22:09






  • 1





    The workstation might not be properly joined to the domain. I recommend logging into the workstation interactively using the local administrator account, double-checking that the computer is using the right computer name, and leaving and then re-joining the domain.

    – Harry Johnston
    Apr 7 at 23:54






  • 1





    ... the target account name problem can also occur in some scenarios involving multiple domains, e.g., if computer-name is in domain A but you're trying to connect to it from a machine in domain B and there is a computer object in domain B that is also named computer-name.

    – Harry Johnston
    Apr 7 at 23:56








1




1





IMO, this shouldn't happen! Can you check if the workstation is having group policy applied (check if domain admins is in the Administrators group), and the proper SMB settings. I once encountered this problem when SMB2 was disabled on a Windows 7 desktop, and had to manually enable through regedit!

– Am_I_Helpful
Apr 7 at 7:39






IMO, this shouldn't happen! Can you check if the workstation is having group policy applied (check if domain admins is in the Administrators group), and the proper SMB settings. I once encountered this problem when SMB2 was disabled on a Windows 7 desktop, and had to manually enable through regedit!

– Am_I_Helpful
Apr 7 at 7:39





1




1





Is the problem specific to the shutdown command, or does it also fail if you try dir \COMPUTER-NAMEc$ ?

– Harry Johnston
Apr 7 at 22:07





Is the problem specific to the shutdown command, or does it also fail if you try dir \COMPUTER-NAMEc$ ?

– Harry Johnston
Apr 7 at 22:07




1




1





Another setting to check is "Access this computer from the network" under User Rights Assignment in the local security policy. Also the corresponding "Deny access to this computer from the network".

– Harry Johnston
Apr 7 at 22:09





Another setting to check is "Access this computer from the network" under User Rights Assignment in the local security policy. Also the corresponding "Deny access to this computer from the network".

– Harry Johnston
Apr 7 at 22:09




1




1





The workstation might not be properly joined to the domain. I recommend logging into the workstation interactively using the local administrator account, double-checking that the computer is using the right computer name, and leaving and then re-joining the domain.

– Harry Johnston
Apr 7 at 23:54





The workstation might not be properly joined to the domain. I recommend logging into the workstation interactively using the local administrator account, double-checking that the computer is using the right computer name, and leaving and then re-joining the domain.

– Harry Johnston
Apr 7 at 23:54




1




1





... the target account name problem can also occur in some scenarios involving multiple domains, e.g., if computer-name is in domain A but you're trying to connect to it from a machine in domain B and there is a computer object in domain B that is also named computer-name.

– Harry Johnston
Apr 7 at 23:56






... the target account name problem can also occur in some scenarios involving multiple domains, e.g., if computer-name is in domain A but you're trying to connect to it from a machine in domain B and there is a computer object in domain B that is also named computer-name.

– Harry Johnston
Apr 7 at 23:56











1 Answer
1






active

oldest

votes


















0














The issue was caused by a DNS Host(A) record that got auto-created 4 years ago: where another computer (renamed since) use to have the same name as the current computer I was trying to remotely reboot. That old record pointed to a different IP address than what the current computer (with that same name) is currently using via a dhcp reservation.



Harry Johnston suggested this command:



dir \COMPUTER-NAMEc$


That produce this error:



The target account name is incorrect.


He also suggested pining "computer-name", which showed the wrong IP address!



So, I guess the shutdown command would not permit the reboot, because the computer that this old dns record pointed to was not the computer I was trying to reboot; the name in DNS did not match the name on the computer specified in the shutdown command. "Accessed denied", was all the shutdown command produced. Its too bad it wouldn't indicate WHY access was denied.



Anyway, after removing that old dns record, the remote reboot succeeded.






share|improve this answer























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "2"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f961872%2factive-directory-admin-denied-access-why%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    The issue was caused by a DNS Host(A) record that got auto-created 4 years ago: where another computer (renamed since) use to have the same name as the current computer I was trying to remotely reboot. That old record pointed to a different IP address than what the current computer (with that same name) is currently using via a dhcp reservation.



    Harry Johnston suggested this command:



    dir \COMPUTER-NAMEc$


    That produce this error:



    The target account name is incorrect.


    He also suggested pining "computer-name", which showed the wrong IP address!



    So, I guess the shutdown command would not permit the reboot, because the computer that this old dns record pointed to was not the computer I was trying to reboot; the name in DNS did not match the name on the computer specified in the shutdown command. "Accessed denied", was all the shutdown command produced. Its too bad it wouldn't indicate WHY access was denied.



    Anyway, after removing that old dns record, the remote reboot succeeded.






    share|improve this answer



























      0














      The issue was caused by a DNS Host(A) record that got auto-created 4 years ago: where another computer (renamed since) use to have the same name as the current computer I was trying to remotely reboot. That old record pointed to a different IP address than what the current computer (with that same name) is currently using via a dhcp reservation.



      Harry Johnston suggested this command:



      dir \COMPUTER-NAMEc$


      That produce this error:



      The target account name is incorrect.


      He also suggested pining "computer-name", which showed the wrong IP address!



      So, I guess the shutdown command would not permit the reboot, because the computer that this old dns record pointed to was not the computer I was trying to reboot; the name in DNS did not match the name on the computer specified in the shutdown command. "Accessed denied", was all the shutdown command produced. Its too bad it wouldn't indicate WHY access was denied.



      Anyway, after removing that old dns record, the remote reboot succeeded.






      share|improve this answer

























        0












        0








        0







        The issue was caused by a DNS Host(A) record that got auto-created 4 years ago: where another computer (renamed since) use to have the same name as the current computer I was trying to remotely reboot. That old record pointed to a different IP address than what the current computer (with that same name) is currently using via a dhcp reservation.



        Harry Johnston suggested this command:



        dir \COMPUTER-NAMEc$


        That produce this error:



        The target account name is incorrect.


        He also suggested pining "computer-name", which showed the wrong IP address!



        So, I guess the shutdown command would not permit the reboot, because the computer that this old dns record pointed to was not the computer I was trying to reboot; the name in DNS did not match the name on the computer specified in the shutdown command. "Accessed denied", was all the shutdown command produced. Its too bad it wouldn't indicate WHY access was denied.



        Anyway, after removing that old dns record, the remote reboot succeeded.






        share|improve this answer













        The issue was caused by a DNS Host(A) record that got auto-created 4 years ago: where another computer (renamed since) use to have the same name as the current computer I was trying to remotely reboot. That old record pointed to a different IP address than what the current computer (with that same name) is currently using via a dhcp reservation.



        Harry Johnston suggested this command:



        dir \COMPUTER-NAMEc$


        That produce this error:



        The target account name is incorrect.


        He also suggested pining "computer-name", which showed the wrong IP address!



        So, I guess the shutdown command would not permit the reboot, because the computer that this old dns record pointed to was not the computer I was trying to reboot; the name in DNS did not match the name on the computer specified in the shutdown command. "Accessed denied", was all the shutdown command produced. Its too bad it wouldn't indicate WHY access was denied.



        Anyway, after removing that old dns record, the remote reboot succeeded.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 13 hours ago









        LonnieBestLonnieBest

        58131030




        58131030



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Server Fault!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f961872%2factive-directory-admin-denied-access-why%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Куамањотепек (Чилапа де Алварез) Садржај Становништво Види још Референце Спољашње везе Мени за навигацију17°19′47″N 99°1′51″W / 17.32972° СГШ; 99.03083° ЗГД / 17.32972; -99.0308317°19′47″N 99°1′51″W / 17.32972° СГШ; 99.03083° ЗГД / 17.32972; -99.030838877656„Instituto Nacional de Estadística y Geografía”„The GeoNames geographical database”Мексичка насељапроширитиуу

            How to make RAID controller rescan devices The 2019 Stack Overflow Developer Survey Results Are InLSI MegaRAID SAS 9261-8i: Disk isn't recognized after replacementHow to monitor the hard disk status behind Dell PERC H710 Raid Controller with CentOS 6?LSI MegaRAID - Recreate missing RAID 1 arrayext. 2-bay USB-Drive with RAID: btrfs RAID vs built-in RAIDInvalid SAS topologyDoes enabling JBOD mode on LSI based controllers affect existing logical disks/arrays?Why is there a shift between the WWN reported from the controller and the Linux system?Optimal RAID 6+0 Setup for 40+ 4TB DisksAccidental SAS cable removal

            Срби Садржај Географија Етимологија Генетика Историја Језик Религија Популација Познати Срби Види још Напомене Референце Извори Литература Спољашње везе Мени за навигацијууrs.one.un.orgАрхивираноАрхивирано из оригиналаПопис становништва из 2011. годинеCOMMUNITY PROFILE: SERB COMMUNITY„1996 population census in Bosnia and Herzegovina”„CIA - The World Factbook - Bosnia and Herzegovina”American FactFinder - Results„2011 National Household Survey: Data tables”„Srbi u Nemačkoj | Srbi u Njemačkoj | Zentralrat der Serben in Deutschland”оригинала„Vesti online - Srpski informativni portal”„The Serbian Diaspora and Youth: Cross-Border Ties and Opportunities for Development”оригиналаSerben-Demo eskaliert in Wien„The People of Australia – Statistics from the 2011 Census”„Erstmals über eine Million EU- und EFTA Angehörige in der Schweiz”STANOVNIŠTVO PREMA NARODNOSTI – DETALJNA KLASIFIKACIJA – POPIS 2011.(Завод за статистику Црне Горе)title=Présentation de la République de SerbieSerbian | EthnologuePopulation by ethnic affiliation, Slovenia, Census 1953, 1961, 1971, 1981, 1991 and 2002Попис на населението, домаќинствата и становите во Република Македонија, 2002: Дефинитивни податоциALBANIJA ETNIČKI ČISTI SRBE: Iščezlo 100.000 ljudi pokrštavanjem, kao što su to radile ustaše u NDH! | Telegraf – Najnovije vestiИз удаљене Аргентине„Tab11. Populaţia stabilă după etnie şi limba maternă, pe categorii de localităţi”Суседи броје Србе„Srpska Dijaspora”оригиналаMinifacts about Norway 2012„Statistiques - 01.06.2008”ПРЕДСЕДНИК СРБИЈЕ СА СРБИМА У БРАТИСЛАВИСлавка Драшковић: Многа питања Срба у Црној Гори нерешенаThe Spread of the SlavesGoogle Book„Distribution of European Y-chromosome DNA (Y-DNA) haplogroups by country in percentage”American Journal of Physical Anthropology 142:380–390 (2010)„Архивирана копија”оригинала„Haplogroup I2 (Y-DNA)”„Архивирана копија”оригиналаVTS 01 1 - YouTubeПрви сукоби Срба и Турака - Политикин забавникАрхивираноConstantine Porphyrogenitus: De Administrando ImperioВизантиски извори за историју народа ЈугославијеDe conversione Croatorum et Serborum: A Lost SourceDe conversione Croatorum et Serborum: Изгубљени извор Константина ПорфирогенитаИсторија српске државностиИсторија српског народаСрбофобија и њени извориСерска област после Душанове смртиИсторија ВизантијеИсторија средњовековне босанске државеСрби међу европским народимаСрби у средњем векуМедијиПодациууууу00577267