Quantcast
Channel: Windows Server General Forum forum
Viewing all 24879 articles
Browse latest View live

Scheduled tasks not running on Windows Server 2003 R2

$
0
0

I'm having trouble running scheduled tasks on a Windows Server 2003 R2 server.

Searching the responses in the forum provided some insights, but nothing that fixed the problem.

Several of the responses on the forum indicated that the scheduled tasks should be logging to "%systemroot%\Schedlgu.txt". I tried to locate this file, but I couldn't find it. Since it seemed reasonable that a scheduled task might not run without the log file being available, I created the log file and made sure that it was writeable.

I also made sure that the Task Scheduler service was running under a Local System Account.

When I run the "schtasks" command from the command line, all of the tasks are shown with a status of "Could not start". The Event logs show nothing and the "%systemroot%\Schedlgu.txt" file is empty.

The tasks that I want to run on a scheduled basis are both ".bat" files and both work properly when launched manually from the commmand line.

Any assistance would be greatly appreciated.

Thanks in advance.


run a vbscript file from Task Scheduler

$
0
0

I have the below vbScript file that runs fine when I execute manually:

dim oWord
Dim wshShell, btn
Set wshShell = CreateObject("WScript.Shell")

Set wmi = GetObject("winmgmts:")
Set procs = wmi.ExecQuery("select * from Win32_Process Where Name='WinWord.Exe'")
If procs.Count > 0 Then
    Set oWord = GetObject(, "Word.Application")
    oWord.Visible=True
    wscript.sleep 10000
    oword.visible=false
End If

unfortunately I need to to execute this using a scheduled task.

But it won't run from a scheduled task, so I created a batch file to run it:

wscript C:\dev\checkALPS.vbs

now when I run the batch file manually it's fine, but when I execute using my Windows Scheduled task I get an error:

Error:ActiveX component can't create object: 'GetObject'
Code:800A01AD
Source: Microsoft VBScript runtime error

what can I do to fix this please?


partition removal windows 10

$
0
0
when I go to disk management the only thing that lights up on my partition is shrink volume. I want to rem0ve partitions but the manager want let me. help please

Cannot install KB4338815 on Windows Server 2012 64: Windows Update Error 800F0922

$
0
0

Hello,

I'm unable to install the latest cumulative update for Windows 2012 Server.

After reboot Windows rolls it back.

I've tried four times already. Wiping c:\Windows\SoftwareDistribution\Download doesn't help.

Here's the last CBS.log file https://1drv.ms/u/s!AvORQXCuVlB3iHsXLG7Z8fLXAdrF

I need to understand what's wrong with my PC. I've been successfully using this server installation for three years and it's the first time an update fails.

Is this because this update is borked ( https://www.computerworld.com/article/3290948/microsoft-windows/microsoft-dives-down-a-bizarre-non-cumulative-rabbit-hole-with-july-patches.html )?

Problem with DNS server

$
0
0

Hi,

What is problem to DNS server below

as I cannot send out message through telnet?

If I change DNS to be

I get no problem with Telnet, like

but I still cannot get the message properly. Is this a problem to DNS server?


Many Thanks & Best Regards, Hua Min


Remote desktop connection cannot verify the identity of the computer that you want to connect to

$
0
0

Remote Desktop cannot verify the identity of the computer you want to connect to. This problem can occur if:

  1. The remote computer is running a version of Windows that is earlier than Windows Vista.
  2. The remote computer is configured to support only the RDP security layer.

Contact your network administrator or the owner of the remote computer for assistance.

RPC unavailable in Windows server 2008R2

$
0
0

In a few days ago, we have one Windows 2008R2 server which hosted a Exchange server as one of the CAS/Hub in the array suddenly disconnected from all PCs/servers by using RPC protocol. Non of services/application using RPC is able to get connected to that server but the network connection is fine. Because something network services are working like Ping, RDP, HTTP, HTTPS...

In short, another identical CAS/Hub server in the array is no problem at all and we have no modification to be made in server farm. I have no idea about this.

I confirmed the following services inbound traffic are not working:

1)NLB

2)SMB

3)Time sync

4)Remote management

Thank you for anyone helping me.

Net Stop w3svc - hangs - since July 2018 Win Updates

$
0
0

I have a new problem on 3 different Windows 2012 servers that run IIS.  One is on bare metal and two are in the AWS EC2 cloud.

This problem showed itself immediately after the reboot completing July Windows updates.  Note: there have been zero other changes in software on 2 of the systems, only Windows updates, these are very stable systems that have worked as-is for years.

The problem is that NET STOP fails to control the service.  It fails to stop w3svc, i.e. NET STOP W3SVC fails.  It also fails to stop other unrelated services for example FileZilla FTP Server .  The response to NET STOP is "The service is starting or stopping.  Please try again later. "

I also tried with PowerShell,

Get-Service w3svc | restart-service  -Force

That fails with this message:

restart-service : Service 'World Wide Web Publishing Service (w3svc)' cannot be stopped 
due to the following error: Cannot stop w3svc service on computer '.'.
At line:1 char:21
+ Get-Service w3svc | restart-service  -Force
+                     ~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (System.ServiceProcess.ServiceController:Serv 
   iceController) [Restart-Service], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.Restart 
   ServiceCommand

Details about the installed updates are below.

This is a HUGE problem.  The only workaround is to reboot the server.  Sledgehammer.

1. 2018-07 Security and Quality Rollup for .NET Framework 3.5, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2 for Windows Server 2012 for x64 (KB4340557)

Installation date: ‎7/‎11/‎2018 11:06 PM

2. 2018-07 Security Monthly Quality Rollup for Windows Server 2012 for x64-based Systems (KB4338830)
Installation date: ‎7/‎11/‎2018 11:04 PM

###


Help link fails

$
0
0
The link go.microsoft.com/fwlink/?LinkId=210526#Hidden_Segments does not resolve to a readable page, it is redirected to tnstage.redmond.corp.microsoft.com/library/hh831518.aspx#Hidden_Segments... Who can/should correct that?

Permission issue to Domain user

$
0
0

Dear,

What is missing to error below of the domain user?


Many Thanks & Best Regards, Hua Min

Windows Server 2016 Event 1000, Application Error Faulting application name: mmc.exe

$
0
0
Faulting application name: mmc.exe, version: 10.0.14393.2097, time stamp: 0x5a820e5d
Faulting module name: GPOAdmin.dll, version: 10.0.14393.2068, time stamp: 0x5a7e7062
Exception code: 0xc0000005
Fault offset: 0x00000000000be1d6
Faulting process id: 0x3a8
Faulting application start time: 0x01d428f2d03e703a
Faulting application path: C:\Windows\system32\mmc.exe
Faulting module path: C:\Windows\System32\GPOAdmin.dll
Report Id: a87fb79e-672e-4311-b356-b574aa4c2245
Faulting package full name:
Faulting package-relative application ID:

advice on automatic migration of local user profiles to domain user profiles

$
0
0

I need to find a best way to migrate all the user local profiles to domain user profiles automatically after the computers join the domain. Can someone give the advice on the best way or best tool to do this migration including joining all the computers into the domain automatically? Our domain is 2012 R2 domain.

Thank you very much!!!

Windows Server Active Directory Help

$
0
0


Hi Everyone, i have a strange question from a client.  Firstly here's the environment

1 server that acts as the root for domain.local (holds roles Schema Master and Domain naming master)

1  server that acts as the primary server for child.domain.local (holds roles PDC, RID, Infra. master)

1 server that acts as a secondary DC for child.domain.local (a Virtual Machine)

They want to do some testing within child.domain.local 

So the question is, can we make a copy of the VM Domain Controller, launch it in its own private network, seize the roles and connect test clients to it. Would it function? 






Have problem with update with KB4338818 and KB4339093

$
0
0

Dear all,

 Could you have me on this case.

 I have error when update windows with windows server 2008 version.

 I did some step as below:

 - Delete SoftwareDistribution folder --> update again, but stiil failed.

- Used tool KB947821 and sfx scannow to fix --> update again, but stiil failed.

Could you so log file of windows update to give me solution for this case.

I try to update and restart server on 11/Aug

https://drive.google.com/file/d/1qt2lHIX8N2np8FoKy9lFPz54EtceZxD1/view?usp=sharing

Thank you so much.

Windows Defender NIS signature age issue

$
0
0

I am facing issue with NIS signature age in windows defender in Windows server 2016 core version.

NIS signature Age showing default value i.e. 4294967295 and NISsignature last update is coming blank.

I have updated the full definition & NIS signature by downloading manually but still the issue is same.

Disabled & Enabled the protection also giving no luck.

If anybody having idea how to resolve the issue ,please help.

Thanks in advance

Sushil Verma



Performance Counters list

$
0
0

Hello,

Where can i find list of ALL Performance Counters provided by Microsoft.

Note: I am referring to all the counters provided by MS. Not only the counters available in my system. To get the counters available in my system, i can use "perfmon" from command line and get the list or C:>TypePerf.exe –q > counters.txt.

Thank you

Delete workfolder data and user from Server

$
0
0

Hi,

How does one delete workfolder data and user from the server when the user has left the company? The user still shows up under Server Manager\File and Storage Services\Work Folders after I deleted the users folder via file explorer.

If I right click a user in Server Manager\File and Storage Services\Work Folders I only get the options "suspend user" and "properties".

Windows 2012 R2

DC upgrade and legacy systems

$
0
0
Have a client we are upgrading from SBS2008 to new systems with a Server 2016 DC and a separate Exchange 2016 VM. They have a legacy system (a VM) running Server 2000 and SQL 2000 that they need to keep (runs some old manufacturing equipment that can't be upgraded). The current functional level is 2003, before we raise it to 2008R2 and install the new 2016 DC are there any issues with running a 2000 member server in a 2016 forest / domain? Again, all the 2000 box runs is a piece of legacy software and SQL 2000, no other functions in the domain. Thanks!

Jack - IT Portfolio

Display Description field per perf counter

$
0
0

This should be simple Q. In PwrShell I can get get some set of paths like below i.e.

(Get-Counter -ListSet Synchronization).PathsWithInstances 

\Synchronization(0)\Spinlock Contentions/sec
\Synchronization(_Total)\Spinlock Contentions/sec

...

then see Description for just the object.

(Get-Counter -ListSet Synchronization).Description
The Synchronization performance object consists of counters for kernel synchronization. The synchronization object represents each processor as an instance of the object.

full details:

Get-Counter -ListSet Synchronization


CounterSetName     : Synchronization
MachineName        : .
CounterSetType     : MultiInstance
Description        : The Synchronization performance object consists of counters for kernel synchronization. The synchronization object represents each processor as an instance of the object.
Paths              : {\Synchronization(*)\Exec. Resource Boost Shared Owners/sec, \Synchronization(*)\Exec. Resource Boost Excl. Owner/sec, \Synchronization(*)\Exec. Resource Set Owner Pointer Shared (Existing Owner)/sec, \Synchronization(*)\Exec. Resource Set Owner
                     Pointer Shared (New Owner)/sec...}
PathsWithInstances : {\Synchronization(7)\Exec. Resource Boost Shared Owners/sec, \Synchronization(6)\Exec. Resource Boost Shared Owners/sec, \Synchronization(5)\Exec. Resource Boost Shared Owners/sec, \Synchronization(4)\Exec. Resource Boost Shared Owners/sec...}
Counter            : {\Synchronization(*)\Exec. Resource Boost Shared Owners/sec, \Synchronization(*)\Exec. Resource Boost Excl. Owner/sec, \Synchronization(*)\Exec. Resource Set Owner Pointer Shared (Existing Owner)/sec, \Synchronization(*)\Exec. Resource Set Owner
                     Pointer Shared (New Owner)/sec...}

Q is, how do I display only each of the Synchronization_Total perf counter per type and with the description? My main task here is to better know how I can read any given perf counter Description. As other docs I find aren't specific to the exact counter but given more of an overview. Such as - https://docs.microsoft.com/en-us/windows/desktop/sync/synchronization-objects - also this doesn't quite achieve what I am after - https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.diagnostics/get-counter?view=powershell-5.1

This is the list I wish to go through 1 by 1. example, what is IPI?

\Synchronization(_Total)\Exec. Resource Boost Shared Owners/sec
\Synchronization(_Total)\Exec. Resource Boost Excl. Owner/sec
\Synchronization(_Total)\Exec. Resource Set Owner Pointer Shared (Existing Owner)/sec
\Synchronization(_Total)\Exec. Resource Set Owner Pointer Shared (New Owner)/sec
\Synchronization(_Total)\Exec. Resource Set Owner Pointer Exclusive/sec
\Synchronization(_Total)\Exec. Resource no-Waits AcqShrdWaitForExcl/sec
\Synchronization(_Total)\Exec. Resource Contention AcqShrdWaitForExcl/sec
\Synchronization(_Total)\Exec. Resource Recursive Sh. Acquires AcqShrdWaitForExcl/sec
\Synchronization(_Total)\Exec. Resource Acquires AcqShrdWaitForExcl/sec
\Synchronization(_Total)\Exec. Resource Recursive Excl. Acquires AcqShrdWaitForExcl/sec
\Synchronization(_Total)\Exec. Resource Attempts AcqShrdWaitForExcl/sec
\Synchronization(_Total)\Exec. Resource no-Waits AcqShrdStarveExcl/sec
\Synchronization(_Total)\Exec. Resource Contention AcqShrdStarveExcl/sec
\Synchronization(_Total)\Exec. Resource Recursive Sh. Acquires AcqShrdStarveExcl/sec
\Synchronization(_Total)\Exec. Resource Acquires AcqShrdStarveExcl/sec
\Synchronization(_Total)\Exec. Resource Recursive Excl. Acquires AcqShrdStarveExcl/sec
\Synchronization(_Total)\Exec. Resource Attempts AcqShrdStarveExcl/sec
\Synchronization(_Total)\Exec. Resource no-Waits AcqShrdLite/sec
\Synchronization(_Total)\Exec. Resource Contention AcqShrdLite/sec
\Synchronization(_Total)\Exec. Resource Recursive Sh. Acquires AcqShrdLite/sec
\Synchronization(_Total)\Exec. Resource Acquires AcqShrdLite/sec
\Synchronization(_Total)\Exec. Resource Recursive Excl. Acquires AcqShrdLite/sec
\Synchronization(_Total)\Exec. Resource Attempts AcqShrdLite/sec
\Synchronization(_Total)\Exec. Resource no-Waits AcqExclLite/sec
\Synchronization(_Total)\Exec. Resource Contention AcqExclLite/sec
\Synchronization(_Total)\Exec. Resource Recursive Excl. Acquires AcqExclLite/sec
\Synchronization(_Total)\Exec. Resource Acquires AcqExclLite/sec
\Synchronization(_Total)\Exec. Resource Attempts AcqExclLite/sec
\Synchronization(_Total)\Exec. Resource Total Conv. Exclusive To Shared/sec
\Synchronization(_Total)\Exec. Resource Total Shared Releases/sec
\Synchronization(_Total)\Exec. Resource Total Exclusive Releases/sec
\Synchronization(_Total)\Exec. Resource Total Contentions/sec
\Synchronization(_Total)\Exec. Resource Total Acquires/sec
\Synchronization(_Total)\Exec. Resource Total Delete/sec
\Synchronization(_Total)\Exec. Resource Total Re-Initialize/sec
\Synchronization(_Total)\Exec. Resource Total Initialize/sec
\Synchronization(_Total)\IPI Send Software Interrupts/sec
\Synchronization(_Total)\IPI Send Routine Requests/sec
\Synchronization(_Total)\IPI Send Broadcast Requests/sec
\Synchronization(_Total)\Spinlock Spins/sec
\Synchronization(_Total)\Spinlock Contentions/sec
\Synchronization(_Total)\Spinlock Acquires/sec

Windows server 2012 R2 - Access denied error after updates

$
0
0

Hi ,

I having issue with my ADC. Suddenly i have got an error when i update the windows and reboot. After rebooting the server i tried to login but got the Access Denied error. Please help. 

Attached is the screen shot for your reference.

Regards, 

Gopal Rawat


Gopal Rawat

Viewing all 24879 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>