How do I fix "battery is not charging" for 2012 MacBook Pro Retina?

I have a Macbook Pro and the battery is not charging.

When I turn off the power supply, the computer turns off immediately. No shutdown sequence. I need to connect the power adapter to turn it on.

Each time I turn it on, I see the Macintosh HD screen. And a network selection option below. If you click on the arrow below the HD icon, the MacBook starts up. Takes a long time. About a few minutes. Before this problem occurred, it was started in a few seconds.

Mackbook details:

Enter image description here

Battery stays at 0%

Enter image description here

Battery status:
The battery appears normal and the MacBook recognizes it.

Enter image description here

Things that I have tried:

  • Restart.
  • Reset SMC.
  • Clean the Magsafe connection.
  • Disconnect and reconnect the battery by opening the back.

None of it worked.

I also tried to find the answer in other questions here, like
Macbook Pro (mid-2012) Battery is not charging
and
Macbook Pro Retina – "Battery does not charge"

But nothing has changed the battery status.

How do I fix this?

Windows Server 2012 R2 – Strange robocopy behavior in directory mirroring

I use Robocopy to keep some directories in sync between two iSCSI-connected arrays on a Windows Server 2012.

I noticed a strange behavior on Robocopy and did a test. I've created a script to sync just one directory, and run it six times in a row at dawn. When the command was executed for the first time, it logically synchronized everything, and the others had nothing to do, just listing.

However, the behavior is as follows: In the versions 1,3 and 5 the result is one and in the versions 2,4 and 6 the result is a different one.

See the logs of the 6 runs below.

ROBOCOPY COMMAND

SOURCE:      E:FILESERVERPROJETO-5001
DESTINATION: D:FILESERVER-MIRPROJETO-5001
FILES:       *.*
OPTIONS:     *.* /FFT /TEE /S /E /DCOPY:DA /COPY:DATS /SECFIX /PURGE /MIR /R:0 /W:0 

Version 1

              Total    Copiada Ignorada Incompatibilidade FALHA    Extras
Diretórios:   1200     0       0        0                 0        0
Arquivos:     7906     2791    5115     0                 0        0
Bytes:        24.369g  3.321g  21.048g  0                 0        0
N.º de Vezes: 0:01:25  0:00:22                            0:00:00  0:01:02

Velocidade:    155857123 Bytes/s.
Velocidade:    8918.216 MegaBytes/min.
Finalizado em: domingo, 28 de julho de 2019 02:16:38

Execution 2

              Total    Copiada Ignorada Incompatibilidade FALHA    Extras
Diretórios:   1200     0       0        0                 0        0
Arquivos:     7906     4945    2961     0                 0        0
Bytes:        24.369g  20.744g 3.625g   0                 0        0
N.º de Vezes: 0:01:22  0:00:10                            0:00:00  0:01:12

Velocidade:    2152095150 Bytes/s.
Velocidade:    123143.872 MegaBytes/min.
Finalizado em: domingo, 28 de julho de 2019 02:18:01

Version 3

             Total     Copiada Ignorada Incompatibilidade FALHA    Extras
Diretórios:   1200     0       0        0                 0        0
Arquivos:     7906     2791    5115     0                 0        0
Bytes:        24.369g  3.321g  21.048g  0                 0        0
N.º de Vezes: 0:00:45  0:00:09                            0:00:00  0:00:36

Velocidade:    387652024 Bytes/s.
Velocidade:    22181.626 MegaBytes/min.
Finalizado em: domingo, 28 de julho de 2019 02:18:47

Version 4

              Total    Copiada  Ignorada Incompatibilidade FALHA    Extras
Diretórios:   1200     0        0        0                 0        0
Arquivos:     7906     4945     2961     0                 0        0
Bytes:        24.369g  20.744g  3.625g   0                 0        0
N.º de Vezes: 0:00:56  0:00:09                             0:00:00  0:00:46

Velocidade:    2242668627 Bytes/s.
Velocidade:    128326.528 MegaBytes/min.
Finalizado em: domingo, 28 de julho de 2019 02:19:44

Execution 5

              Total    Copiada Ignorada Incompatibilidade FALHA    Extras
Diretórios:   1200     0       0        0                 0        0
Arquivos:     7906     2791    5115     0                 0        0
Bytes:        24.369g  3.321g  21.048g  0                 0        0
N.º de Vezes: 0:00:45  0:00:08                            0:00:00  0:00:36

Velocidade:    398838046 Bytes/s.
Velocidade:    22821.696 MegaBytes/min.
Finalizado em: domingo, 28 de julho de 2019 02:20:30

Version 6

              Total    Copiada  Ignorada Incompatibilidade FALHA    Extras
Diretórios:   1200     0        0        0                 0        0
Arquivos:     7906     4945     2961     0                 0        0
Bytes:        24.369g  20.744g  3.625g   0                 0        0
N.º de Vezes: 0:00:56  0:00:10                             0:00:00  0:00:46

Velocidade:    2133746987 Bytes/s.
Velocidade:    122093.982 MegaBytes/min.
Finalizado em: domingo, 28 de julho de 2019 02:21:27

macos – Connects to a 3440×1440 monitor with a 2012 MacBook Air

I bought a 34 "monitor with a resolution of 3440×1440.

It works well with my newer Macbook Pro, but I had hoped that I could also connect my 2012 MacBook Air and run it at a lower resolution. Afaik, the Air supports 2560×1440, so it would be okay to run with black bars or full screen at 2560×1080. However, nothing happens when I plug in the Air via miniDP / DP or miniDP / HDMI cable.

Is there a solution?

samba – SMBv2.1 without encryption does not seem to work on Windows Server 2012 R2

While we are updating all our Windows 7 computers to 10, we need an SMB share on a Win12R2 server to support unencrypted connections.

We have:
SMBv1 disabled
Enabled encryption
Set RejectUnencryptedAccess to false

The expected result would be:
Windows 10 clients would use SMBv3 by default
By default, Windows 7 clients use SMBv2.1 without encryption.

However, under Windows 7, we simply can not log in if encryption is enabled.

Any help would be appreciated.

Thanks a lot!

SQL Server 2012 – SSRS managed shared subscription data from the database

During the execution of an ETL process, we need to pause the shared SSRS subscriptions and then activate and execute them accordingly when our ETL has progressed. To do this, we make a backup copy of the ReportServer.dbo.Schedule table before stopping the subscriptions and compare them to when we get the correct status of our ETL (right after we've activated it again). Our reporting services come from SQL Server 2012 and are embedded in Sharepoint.

The problem here is that ReportServer.dbo.Schedule sometimes appears to contain NULL in NextRunTime even though a schedule has been set. For some tests, we've found that when we connect to the Sharepoint portal that we have with the ssrs reports, the nextruntime populates successfully. However, if, for example, nobody connects to this portal on a Sunday, the nextRunTime will remain at NULL.

Someone has encouraged that before and has an idea on how to overcome this problem?

Thanks for any help
Dimitris

2012 Mac Mini with Fusion Drive Starts only in verbose mode

I have a Mac Mini 2012 booting up only in full mode. During normal booting, the fan icon will be displayed for a few seconds and a loop will be executed.

I have re-installed a time machine and also replaced and rebuilt the hard drive of the fusion drive.

That's why I'm at a loss as to why this is happening.

Suggestions appreciated

SQL Server 2012 – Performance Optimization

The short answer is that both are equally bad. Nobody is SARGable. Breaking columns in functions or applying optional parameters can degrade performance, prevent efficient use of indexes, and so on.

The benefit of the second query is that you can apply a RECOMPILE hint to work around some performance issues:

SELECT Col1, Col2, ... 
FROM dbo.Table1 
WHERE (@Var1 IS NULL OR Col1 = @Var1)
OPTION(RECOMPILE);

However, if the actual query is more complex and has a larger execution plan, or if it is executed frequently (think hundreds or thousands of times per minute), this can lead to more overhead in creating the plan.

The typical solution is the use of dynamic SQL:

DECLARE @Var1 NVARCHAR(15) = NULL; -- This variable can have NULL or specific value
DECLARE @SQL NVARCHAR(MAX) = N''

SET @SQL = @SQL + N'SELECT Col1, Col2, ... FROM dbo.Table1 WHERE 1 = 1' 
IF @Var1 IS NOT NULL
    BEGIN
        SET @SQL += ' AND Col1 = @iVar1'
    END;

EXEC sys.sp_executesql @SQL, N'@iVar1 NVARCHAR(15)', @iVar1 = @Var1;

This is certainly written to prevent SQL injection.

Web Server – How do I access Kali Linux's IIS 2012 web server default page?

I want to access the IIS default homepage from Kali Linux.

Current configuration:

  • VMware consists of Kali Linux and Windows Webserver 2012.
  • The IIS service is running on a Web server (can access localhost through the browser).
  • Kali and VMware are both connected to the same adapter.
  • can ping web server from Kali.

Problem Description:-

Do you want to access kali on localhost from webServer?

Tried: – Kali >> Firefox >>

Browser returns: –

The proxy server is refusing connections

Firefox is configured to use a proxy server that is refusing connections.

    Check the proxy settings to make sure that they are correct.
    Contact your network administrator to make sure the proxy server is working.

Please help!
Thanks to all who are ready to help. 🙂

SQL Server 2012 – Log shipping and daily backup

My SQL Server 2012 DR setup is a mess. From the beginning, we had a maintenance plan that included a daily full backup with hourly log backups. We recently set up log shipping to an external server and it seemed to work great. The LSBackup job runs every 15 minutes.

I know I need to change my maintenance plan to Full + Differential, but my question is whether to remove all log shipping, restore the secondary database from the last full backup, and then set up log shipping again.

Or can I stop the LS jobs to restore the LS jobs and then reboot?

Or is the secondary server alright and I just have to fix my maintenance plan?

TIA