Windows Server 2012 R2 System Time cannot be changed [closed] - window

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I am using Windows Server 2012 R2 on Azure.
The System Time in "Date and Time" cannot be set to an ealier date, but can be set to a future date.
NOTE:
Whenever I set to an ealier date, the system time got changed to the current correct time automatically.
The Internet Time sync has been disabled already.

Disable Windows Time service ,a and set it to Manual
Disable Hyper-v Time Sync service , and set it to Manual
Make sure “Sync with Internet time ” option is unchecked.
After finishing the above 3 steps, you can change the system time and monitor

Try these steps
fixing time error on serve 2012 setting time either backwards or forward by hours.
Open MSServer 2012
Windows + run to open
Type in Regedit
Or
if open with admin rigths open the Apps > search tab, then click type in regedit, open as admin.
If prompted by the UAC click yes
Go to HKEY_LOCAL MACHINE\SYSTEM\CURRENT CONTROL SET\CONTROL\TIMEZONE INFORMATION.
Go to Active time bias - set value to 0
Go to bias set value to 0
Time zone key type/modif value to area
Make sure the daylight name responds to area e.g #tzres ; -411 ;
Standard name is #tres.dll; -412
Close/restart server
opne cmd with admin rigths
run w32tm/tz utility to verify time bias. & date name
To disable daylight go to disable auto daylight
to disable auto daylight, open set value to 1.
Use nettime utility as below to align all domain computers to to the server as below.
open cmd with admin rights then type in the below
nettime/set/y

Related

How can I turn off Windows startup sound with neither GUI nor admin rights? [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 23 days ago.
Improve this question
On my Windows 11 computer I'd like adjust a few settings programtically (hidden). Basically it should be performed without elevated rights, so standard users can use it too. By the way, it's my own idea, no office work.
Currently I try to turn off the standard startup sound in mmsys.cpl -> Sounds. Though its a global settings for all users, from within the GUI its easy to do (simply unchecking the box) and doesn't need elevated rights. Strange, but seems like intended by Microsoft.
But I have to do it without any GUI. There are several posts online how to change it in registry (under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\BootAnimation "DisableStartupSound") but all of them require administrator rights.
Assuming unchecking in GUI pass a specific command that triggers the registry key to be changed, I would like to know that command. Workarounds are welcome - as long they doesn't need admin rights or cause a GUI to get open. Scripts like batch, vbs or powershell are as good as an executable.
Does anyone have an idea?
Writing to HKLM does require elevated rights for most keys.
The Settings app is either using UAC auto elevation (only for Microsoft apps) or asking a service to change the registry on its behalf. Process Monitor should be able to tell you which process is writing...
On my Windows 10 system the registry permissions for the BootAnimation key are set so that all authenticated users can set the value. Reg.exe does not seem to work because it asks for too many permissions but WSH works:
CreateObject("WScript.Shell").RegWrite "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\BootAnimation\DisableStartupSound",1,"REG_DWORD"
..and save as a .vbs

Path and Name of exe file of windows terminal preview [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
The community reviewed whether to reopen this question last year and left it closed:
Original close reason(s) were not resolved
Improve this question
What is the name of the exe file for windows terminal preview,
its path and command to open it?
Like for windows terminal it is wt.exe
Check in AppData\Local\Microsoft\WindowsApps
Look for wt.exe or the "WindowsTerminalPreview" directory for the preview edition.
A more generic path is:
%LocalAppData%\Microsoft\WindowsApps\wt.exe
Open start menu and open Windows Terminal.
Click ctrl + alt + delete to open tasks manager.
Look for Windows Terminal task and unfold it.
Find Windows Terminal, click your right mouse button, click open file location. It will navigate WindowsTerminal.exe automatically.
That's it.
On my computer WindowsTerminal is installed at C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.9.1942.0_x64__8wekyb3d8bbwe. Note that WindowsApps may be hidden and restricted, you should make sure it is visible and accessable.
Try using where command in cmd. Like this where wt.exe, you should get full path (mine C:\Users\{user-name}\AppData\Local\Microsoft\WindowsApps\wt.exe
Usually I'd recommend that this question be moved to Super User, since it isn't programming related. However, it's too old for that at this point.
wt.exe is what's known as an "Execution Alias", a "fake exe" method to open a Windows Store app (a.k.a. Metro, a.k.a. Universal, a.k.a. Modern, or whatever it's called today).
Both "Windows Terminal" and "Windows Terminal Preview" use the same wt.exe execution alias, since Preview is just a pre-release of the final version.
If you have both versions installed, you'll need to choose which one runs with wt.exe by going to "Manage App Execution Aliases" in the settings (just search for it in the Start menu). Switch off the one you don't want to be using; switch on the one you do.
I was able to execute wt.exe previously.
Now "%LocalAppData%\Microsoft\WindowsApps\wt.exe" returns the following. The system cannot find the file XXXX\Microsoft\WindowsApps\wt.exe.
The wt.exe is in this directory as expected.
However, when I search for "Windows Terminal" and open it from the start menu it opens.
I believe this behavior is due to a change in my companies security GPO governing the execution of scripts. I am not certain of this yet.
I do not yet have more details but I am digging to find out more.

An error occurred when attempting to open certificate list, the error was: Automation server can't create object [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I'm trying to fill up a form from here . Upon selecting Natural Person from the drop-down menu, a form appears with a button Add Digital Signature. Whenever I click on this button, it gives me this error:
An error occurred when attempting to open certificate list, the error was:
Automation server can't create object
I've tried enabling the Initialize and Script Activex controls not marked as safe for scripting feature from internet option but the same error occurred.
I've tried different versions of Internet Explorer starting from version 6. Can anyone help me ?
1)Download capicom_dc_sdk.msi from
https://www.microsoft.com/en-us/download/details.aspx?id=25281
and install.
2)Locate capicom.dll "e.g. C:\Program Files (x86)\Microsoft CAPICOM 2.1.0.2 SDK\Lib\X86\capicom.dll"
2)Open command prompt with administrator privilege, change directory to directory containing capicom.dll and fire below command
regsvr32 capicom.dll
i was facing same problem. Then I called e-mudhra (I bought dsc from here ) customer care. They took access of my laptop via anydesk, and they performed similar operation i.e.
downloaded capicom.dll.zip.
extracted it.
then copied it (capicom.dll) to : This PC > OS (C:) > Windows > SysWOW64.
then run below command as administrator in cmd :
Microsoft Windows [Version 10.0.18362.836]
(c) 2019 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>cd ..
C:\Windows>cd SysWOW64
C:\Windows\SysWOW64>regsvr32 capicom.dll
C:\Windows\SysWOW64>
5. Now try with Internet Explorer. (Mozilla firefox will not work !)
Now I am able to sign up on website ipindiaonline.gov.in
Process is needed each time after you restart your computer.
Please note that running cmd in Administrator mode is necessary.
To people reaching here, I solved it by installing a digital certficate provided by e-patent website. You need to check which class of certificate you want for authentication.
Here's the updated link from where you can download the certificate:
https://ipindiaonline.gov.in/epatentfiling/faqs/index.html

Windows 7 Batch File to Launch a VMWARE Instance with GUI [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have a Windows 7 host machine with a VMWARE Workstation 9 based guest operating instance. What I need is that the guest OS to not only run but runs inside the guest in the VMWARE Workstation gui upon a host reboot--say, from a power failure. I have tried all solutions online but so far I am unable to make the GUI to appear--though the guest OS does launch.
Here is my solution so far: I have created a .bat file and setup Windows Task Scheduler to start the .bat program. Here is what's inside the batch file:
cd "C:\Program Files (x86)\VMware\VMware Workstation"
vmrun start "C:\VirtualMachines\WindowsServer2012_std_ArcGISVM2\Windows Server 2012 Std.vmx" gui
Note, I am using 'vmrun' program but using other online solutions which use the VM Ware Workstation's executable doesn't help with the gui part either. And adding or removing the 'gui' flag doesn't seem to make any difference.
Also note, I'd rather not use the Workstation as a Server in a 'shared' virtual machine setup. There should be a simpler way.
Thanks!
[Edited/Detailed Answer Below]
Never mind. I did end up creating a Shared VM per the instructions from another site (whose link is not working anymore!)
Here is how I accomplished this:
Using VMWare Workstation gui, pressed F9 to bring up option to enable Sharing of VMs.
In the Sharing window, right click on your VM ->Manage -> Share the VM; I chose default options.
In the same gui, under 'Shared VMs' tab, click 'Manage Auto Start'
That's all it took! And now I am able to launch the VMWare Workstation GUI after the host system reboots.
PS. I posted the Question here because I was originally using a script to achieve this; I thought there could be more scripts/programming solutions. Also, Expert Exchange maybe a competition but it provided me full solution yesterday without requiring any login; so, being a once paying member there, I had assumed that they have now become a 'free' site. But today their link doesn't work.

Is "run as an adminstrator " the highest level? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I'm currently using a tool to modify hosts file ,and it said i should run it as administrator to replace hosts file, and i did so.
but ,it still failed.
And when i manually copy hosts file to etc folder, Windows will also ask me to provide administrator permission to copy to the folder.
This refresh my opinion about Windows administration.I also have wrote some programs that need to be run as administrator, and it works fine,i never though there is something you can't do even run as administrator.
So,if "run as administrator" isn't the highest level, how could a application request a higher level?(eg. replace hosts file on my computer)
Here is what i found after posting this question:
1.Thanks guys below, your opinions inspired me.
2.It's surely not related to safe mode.
3.I manually right click on the host tool and select "run as administrator", it works!It can replace the hosts file!You guys can try it,if you run notepad as administrator, it will also can write to hosts file.
so,here is what i guess:
The system do have two administrator level.
When double click on the my hosts tool, it only requires the lower level of administrator,so it failed to replace hosts file.
But manually right click and run as administrator, the system will give the tool highest level,and it can replace hosts file.
Explorer.exe only have a lower administrator level even you log in as administrator.That's why I need further permission when i paste hosts file manually.
What you did,I was trying to achieve the same manually,but I also faced the same situation. Actually,going into the permission related section,you will find that there are 3 users/groups at least assigned to each system :-
System
Administrator(includes all those accounts which are admin)
the logged in user-account.
So,basically,what Windows does I guess is that it takes special care about the systems file like C:/Windows/System32/driver/etc/hosts.file is a system-configuration related file which looks for mapping the hostnames to IP-Addresses!
The hosts file is one of several system facilities that assists in
addressing network nodes in a computer network. It is a common part of
an operating system's Internet Protocol (IP) implementation, and
serves the function of translating human-friendly hostnames into
numeric protocol addresses, called IP addresses, that identify and
locate a host in an IP network. // Taken from Wikipedia
Hence,you need to have a special permission for editing or configuring hosts file like editing it in safe mode. Though default settings are those which I mentioned, you can always manually configure the permissions.
But,the one line answer to your question is
Yes,System Configuration Files aren't editable manually by default,either they need editing to be done only if Windows is running in Safe Mode,or you need to change the settings manually for your administrator account...

Resources