Меню

Net time системная ошибка 1314

  • Remove From My Forums
  • Question

  • Hi

    Windows 8 Pro integrated into a domain. We have a software that uses a kind of «net time
    \server /set» to sync the time.

    Everytime it starts on this machine it produces an error «a required privilege is not held by the client» «system error 1314»

    We gave the everyone group and also local service account over the Default Domain Policy already the rights to change the system clock. But this error still remains. Windows 7 machines in this domain a working without this error.

    Any ideas wht to change on this windows 8 machine?

    thx Sven

Answers

  • Hi,

    It should be a permission issue. Please right click the software and run as Administrator for a test.


    Niki Han
    TechNet Community Support

    • Marked as answer by

      Thursday, July 18, 2013 9:31 AM

NET TIME — синхронизация времени компьютера

NET TIME синхронизирует показания часов компьютера с другим компьютером или доменом. Если используется без параметров в домене Windows Server, выводит текущую дату и время дня, установленные на компьютере, который назначен сервером времени для данного домена. Эта команда позволяет задать сервер времени NTP для компьютера.

Видео: NET TIME — как синхронизировать время с сервером в Windows

Синтаксис команды NET TIME

  1. net time [{\имя_компьютера | /domain[:имя_домена] | /rtsdomain[:имя_домена]}] [/set]
  2. net time [\имя_компьютера] [/querysntp]
  3. net time [\имя_компьютера] [/setsntp[:список_серверов_NTP]], где
  • \имя_компьютера — указывает имя сервера, время на котором нужно проверить или с которым нужно синхронизировать таймер.
  • /domain[:имя_домена] — задает имя домена, с которым синхронизируются часы.
  • /rtsdomain[:имя_домена] — указывает домен сервера надежного времени (RTS), с которым будут синхронизироваться часы.
  • /set — синхронизирует часы с временем указанного компьютера или домена.
  • /querysntp — выводит имя сервера NTP (Network Time Protocol), сконфигурированного для локального компьютера, или компьютера, указанного в параметре \имя_компьютера.
  • /setsntp[:список_серверов_NTP] — указывает список серверов времени NTP для использования на локальном компьютере.

Примеры команды NET TIME

  • net help time — отображение справки для указанной команды net;
  • net time \PC1— вывод на экран текущего времение сервера в сети для компьютера PC1;
  • net time /querysntp — отображение на экране имени сервера NTP для локальнго компьютера;
  • net time \Proton /set — синхронизация часов локального компьютера с временем компьютера Proton.

Net time системные ошибки в ходе выполнения

Системная ошибка 5. Отказано в доступе

Часто спрашивают, почему появляется «Системная ошибка 5. Отказано в доступе» при использовании команды Net time. Отвечаю, все в правах пользователя под которым запускается команда. В качестве примера пробовал запустить команду сначала с правами локального администратора на Windows 10 — получил ошибку, далее запустил с правами администратора домена — результат на рисунке ниже.

Пример команды net time

Системная ошибка 1314. Клиент не обладает требуемыми правами

Вам нужно зайти в «редактор локальной политики безопасности». Открываем «Выполнить» Win+R. Ввести — «secpool».

Локальные политики-Параметры безопасности-Контроль учетный записей: Все администраторы работают в режиме одобрения администратором-Отключить-ОК-Перезагрузить компьютер/ноутбук.

Далее запустил с правами администратора домена, команда успешно выполнилась.


Posted by Dontworryok 2019-12-10T20:24:52Z

I am having 1 user have issues with a  batch file which is fine for everyone else, this bat file is not new at all and was working before. I have tried gpupdate, iprenew, dns flush, removed computer from domain and rejoined, user logged into different laptop and same issue. 

Image: post content

26 Replies

  • Author Don Wendel

    Don.W


    This person is a Verified Professional

    This person is a verified professional.

    Verify your account
    to enable IT peers to see that you are a professional.

    thai pepper

    Whats different about this persons network connection versus the working pc’s?

    Wireless turned on?

    IPV6 on?

    Firewall different?


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Dontworryok

    ipv6 is turned on everyones machine, no different firewall and at this time no on LAN. 

    Don.W wrote:

    Whats different about this persons network connection versus the working pc’s?

    Wireless turned on?

    IPV6 on?

    Firewall different?


    Was this post helpful?
    thumb_up
    thumb_down


  • Was this post helpful?
    thumb_up
    thumb_down

  • Author Dontworryok

    there are a ton of different reg edits on that link you provided. 

    Could it be due to local admin account not being an admin on the domain? 


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Dontworryok

    Any one else have any input, sorry for tagging if it bothers you but this is odd.

    if i do enter the creds, it does map them but if i reboot again, same issue. 


    Was this post helpful?
    thumb_up
    thumb_down

  • Which command was run that caused «System Error 1314». Can you share the batch file itself? The screenshot only shows the various outputs but not the commands themselves you were trying to run.


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Dontworryok

    well the batch script runs when everyone logs in, have not had a problem since just now, nothing has been changed that would cause this, i just added this user in AD.

    net time \server /set /yes
    @echo off
    net use j: /delete /y
    net use u: /delete /y
    net use t: /delete /y
    net use x: /delete /y
    net use y: /delete /y
    net use j: \serverdoc_send
    net use U: \serverusers%username% /persistent:yes
    net use t: «\servrshare name»
    net use x: \serverdata
    net use y: \serverArchive


    Was this post helpful?
    thumb_up
    thumb_down

  • I can’t say I’ve encountered that error personally before. I did some cursory searches and all signs seem to point at User Account Control (UAC). Here’s another random write-up I found which you may already have come across as well: 

    https://www.thewindowsclub.com/required-privilege-not-held-client Opens a new window

    The link provided by Rupesh talks about the same thing essentially.

    There might be a time based reason for it if the clock on the workstation is not in sync with the domain controller and other servers. They all need to agree on what time it is and be within 5 minutes of each other.


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Dontworryok

    i heard it can be UAC as well, i remvoed the user profile who was listed as a local admin, bit still issue is still there, if i reboot, the issue s fine and no one else is having this issue. 

    What is best way to synchronize clock to DC from machine? 


    Was this post helpful?
    thumb_up
    thumb_down

  • Domain joined machines normally always already sync from DC. Verify by running the following from an elevated shell:

    Text

    w32tm /query /source
    w32tm /query /peers
    

    You’d expect to see one of your Domain Controllers listed


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Dontworryok

    got the following when running those;

    Image: post content


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Dontworryok

    i beleive i see what the issue is, i tried changing the time via 

    NET Time \server001.domain.local /set but it reverts, back, my time if i run is pulling from our server, again this problem PC says Local CMOS still. 


    Was this post helpful?
    thumb_up
    thumb_down

  • Check the DC and make sure it’s setup as reliable time source. You can run the same w32tm commands on it to see what its current status is.

    If the DC is/are Virtual Machine(s) make sure that the Hypervisor (VMware or Hyper-V most likely) aren’t syncing the DC’s clock. The DCs need to get their own time from an Internet NTP server.


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Dontworryok

    the Dc says free running system clock, but isse is problem PC is reverting back to Local CMOS, mine is synced with our dc, so i beleive issue is why is the time reverting back on the problem PC. 


    Was this post helpful?
    thumb_up
    thumb_down

  • Free running system clock is NOT what you want. You want it synced to an Internet NTP source.

    Text

    w32tm /config /syncfromflags:manual /manualpeerlist:"0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org"
    w32tm /config /reliable:yes
     
    net stop w32time
    net start w32time
      
    w32tm /query /peers
    w32tm /query /source
    

    The first two commands can be one line. I split them up for readability.

    This would be the absolute minimum but more work may be required depending on your circumstances. May or may not need to push config via GPOs to workstations as well though this hasn’t been necessary for my own domain joined workstations. They just pick up the DC values.


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Dontworryok

    now i id this on the Dc and it says for query /source…..1.pool.ntp.org 

    this is what i want?


    Was this post helpful?
    thumb_up
    thumb_down

  • Yes, that’s good.

    See if after a reboot (or w32tm restart) on the clients they start showing the DC’s IP address as a time source. If so then everybody is now in agreement what time it actually is. That may solve a few random glitches regarding domains though it may also have been unrelated. However, proper time keeping is crucial in a domain so you would have wanted to do this regardless of the login script issue you’re debugging.


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Dontworryok

    i synced the time and it now also shows 1.pool.ntp.org on the client PC, not saying server.contoso.local

    Here is the thing though, if i log in as this user on a different machine, same script issue, something is afoul here. 


    Was this post helpful?
    thumb_up
    thumb_down

  • Compare that user’s AD membership and attributes to a working user. Something must be different?


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Dontworryok

    nothing at all from what i am seeing. 


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Rod McGarrigle

    error #1 says they dont have the required permissions

    error #2, 3 and 4 say the path is not found, indicating they are not on the network or have both wired and wired connected or are not using INTERNAL DNS

    error #5 says their password is wrong

    Not really sure where you are stuck, the errors are quite specific


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Dontworryok

    required permissions how so though, nothing has been changed, i just created this user and assigned his password and he is able to log into his profile just fine, it appears as something else is amiss but i cant seem to figure it out


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Dontworryok

    fellas, there is something going on bizzare, i deleted the user from AD, copied him from an exsisting user but just changed name and password obv. it still gives me this error when logging in

    BUT if i copy/create a random test user and login, the script runs with no issues and the drives are there.

    I made sure to delete the users profile from systempropertiesadvanced.exe to make sure nothing as cached. 


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Dontworryok

    nvm i got it, there personal drives they did not have permissions for which is why the whole thing was failing

    thanks. 


    Was this post helpful?
    thumb_up
    thumb_down

  • Got to love the misleading error messages that indicated network and password issues but turns out to be neither though Rod’s permission reference was on point. I guess at least one of the errors wasn’t misleading after all. 33% chance…


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Dontworryok

    guess the other two doors had goats behind them..

    movie reference trivia!


    Was this post helpful?
    thumb_up
    thumb_down

Read these next…

  • Curated WINDOWS 10 "glitch" - file explorer

    WINDOWS 10 «glitch» — file explorer

    Windows

    Hi.I have been experiencing a black line (glitch) on my file explorer which comes for milliseconds then it goes away. See screen grab. Is there anyone who has experienced such and how were they able to solve it?Thank you.

  • Curated Are you updating workstations to Windows 11?

    Are you updating workstations to Windows 11?

    Windows

    Has anyone started updating workstations on a AD domain to Windows 11? what type of issues are you facing?What is the user reaction been?Thanks!

  • Curated Snap! -- Psyche Probe, DIY Gene Editing, RaiBo, AI handwriting, Metric Pirates

    Snap! — Psyche Probe, DIY Gene Editing, RaiBo, AI handwriting, Metric Pirates

    Spiceworks Originals

    Your daily dose of tech news, in brief.

    Welcome to the Snap!

    Flashback: January 27, 1880: Thomas Edison receives patent for the Electric Lamp. (Read more HERE.)

    Bonus Flashback: January 27, 1967: Apollo 1 Tragedy (Read more HERE.)

    You …

  • Curated NEC Inmail Email doesn't Change

    NEC Inmail Email doesn’t Change

    Collaboration

    Hey Everyone,Recently a client of mine wanted to change the email to their QA extension to her email as to help keep voicemails consolidated instead of spread out among different emails. Normally this wouldn’t be a huge deal. Logged in to to Webpro, hoppe…

  • Curated I inherited some really cool equipment. I just have no clue how to use it!

    I inherited some really cool equipment. I just have no clue how to use it!

    Hardware

    So I’ve got some switches, and some servers. The switches seem pretty straight forward, plug in packet go zoom, but I have no clue how these servers work. They’re headless rack servers. I know there must be a way to get some kind of UI going with a monito…

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Net start w32time системная ошибка 1058
  • Net start npcap системная ошибка 87