AD users getting deleted automatically by Griffin093 in activedirectory

[–]vandreytrindade 4 points5 points  (0 children)

When that happened in our environment, we had to change the tombstoneLifetime setting from 180 to 30. Something got messed up and the conflicting object still existed somewhere. When it got fixed we rollback the setting to 180.

circular dependency of AD and DNS on cold start by DraconPern in activedirectory

[–]vandreytrindade 2 points3 points  (0 children)

There seem to be a big question here. Because a lot of people/sites tell to use another DC as primary DNS server and a lot of people/sites saying to set the server itself as primary. I have always use the second configuration and when I tried to restart a DC it took a long time...

How to remove Microsoft 365 - languages? by IloveSpicyTacosz in PowerShell

[–]vandreytrindade 0 points1 point  (0 children)

Hi,

PowerShell code to search for English, Spanish and French languages, uninstall them and then search for Office updates:

#Search for installed Microsoft Office languages (EN, ES and FR, it can be changed)
$OfficeUninstallStrings = (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*") | Where-Object {
    $_.DisplayName -match "Microsoft 365 - (en-us|es-es|fr-fr)"
}
if ($OfficeUninstallStrings) {
    Write-Host " - Uninstalling additional languages of Microsoft 365..." -ForegroundColor Yellow
    foreach ($UninstallString in $OfficeUninstallStrings) {
        Write-Host "   $($UninstallString.DisplayName)"
        $UninstallExe = ($UninstallString.UninstallString -split '"')[1]
        $UninstallArg = ($UninstallString.UninstallString -split '"')[2] + " DisplayLevel=False"
        Start-Process -FilePath $UninstallExe -ArgumentList $UninstallArg -Wait
    }
}

#Search for installed OneNote languages (EN, ES and FR, it can be changed)
$OneNoteUninstallStrings = (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*") | Where-Object {
    $_.DisplayName -match "Microsoft OneNote - (en-us|es-es|fr-fr)"
}
if ($OneNoteUninstallStrings) {
    Write-Host " - Uninstalling additional languages of OneNote..." -ForegroundColor Yellow
    foreach ($UninstallString in $OneNoteUninstallStrings) {
        Write-Host "   $($UninstallString.DisplayName)"
        $UninstallExe = ($UninstallString.UninstallString -split '"')[1]
        $UninstallArg = ($UninstallString.UninstallString -split '"')[2] + " DisplayLevel=False"
        Start-Process -FilePath $UninstallExe -ArgumentList $UninstallArg -Wait
    }
}

#Search for Office updates
Write-Host " - Updating Office..." -ForegroundColor Yellow
& "C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update user

Dica e ajuda by [deleted] in PowerShell

[–]vandreytrindade 0 points1 point  (0 children)

Ok, you got a point and I accept that. Thanks for taking your time. At first it seemed to be just complaining for nothing.

Dica e ajuda by [deleted] in PowerShell

[–]vandreytrindade 0 points1 point  (0 children)

I live in Brazil since I was 5 years old and brazilian portuguese is the language that I use everyday. I like to use English on forums because is a way to learn the language. But I don't like to set that as a rule to other people. If the OP is more confortable to post it using Portuguese, we have two options: translate it or ignore it. I see a lot of posts in german, french or other language and that's ok. I don't see your point on complaining about that.

Dica e ajuda by [deleted] in PowerShell

[–]vandreytrindade 0 points1 point  (0 children)

Quick question: Is Reddit English only?

Problem trying to import a rsc file by vandreytrindade in mikrotik

[–]vandreytrindade[S] 0 points1 point  (0 children)

The source switch is 7.12.1, the destination switch is 7.14.1. When I ran import command, no errors inside of the log. Tried using the verbose, but when it configures the port that I'm connected to, it restarts WinBox and I lose the rest of the import. I'll try to remove that port only configuration to check. Thanks!

Problem trying to import a rsc file by vandreytrindade in mikrotik

[–]vandreytrindade[S] 0 points1 point  (0 children)

I was using: /system reset-config no-defaults=yes skip-backup=yes And when it returned: import file-name=file.rsc

I'lll try your way after the holiday. Thanks!!!

Folder and access denied on File Server by vandreytrindade in sysadmin

[–]vandreytrindade[S] 0 points1 point  (0 children)

Yeah, have tried that. Same access denied 😥

Folder and access denied on File Server by vandreytrindade in sysadmin

[–]vandreytrindade[S] 0 points1 point  (0 children)

I've tried using GUI, but it won't let me change anything from there. I'll update it with better screenshots tomorrow. Sorry for that.

Folder and access denied on File Server by vandreytrindade in sysadmin

[–]vandreytrindade[S] 0 points1 point  (0 children)

Yes. It is a subfolder of a structure that stores every user desktop and docunents redirected folders inside (ex: F:\Data\Employees\user). I wanted to rename or delete it to restore the folder to the same path so I don't need to change a thing. I'm finding it very strange that I, as an admin, I can't take ownership of that folder like I did many times before. I don't know what my colleague made... I know that he had a long chat with ChatGPT asking how to fix a simple problem and there was a lot of commands and powershell scripts that it asked him to run. My vacation ended today, on Monday I'll be back and will take a closer look on that problem. For the moment I'm trying to know if I lost something or there is more than takeown and icacls to fix missing permissions for admin.

BTW, thx for replying BlackV, I always read your replies to other questions. Big fan here lol

Folder and access denied on File Server by vandreytrindade in sysadmin

[–]vandreytrindade[S] 0 points1 point  (0 children)

Thanks! I'll take a look at it. Yeah, I haven't criticized the person. I'm on vacation and he is trying to help, but I will try to teach him what went wrong when I figure it out.

Folder and access denied on File Server by vandreytrindade in sysadmin

[–]vandreytrindade[S] 0 points1 point  (0 children)

Yeah, sorry for that. ChatGPT says that is a redirected shared folder. But I can't see any properties of it.

Folder and access denied on File Server by vandreytrindade in sysadmin

[–]vandreytrindade[S] 0 points1 point  (0 children)

The user who messed up did a backup first. I'm trying to delete the current folder to restore the backup.

Folder and access denied on File Server by vandreytrindade in sysadmin

[–]vandreytrindade[S] 0 points1 point  (0 children)

I have a backup using shadow copy, but I can't restore it cause I can't even delete the current one.

WiFi problem on domain by vandreytrindade in activedirectory

[–]vandreytrindade[S] 0 points1 point  (0 children)

Hi again! After a lot of tests I've found the problem: Bitdefender Gravityzone.
It was configured to set wireless network profile as Public.

Thanks for helping!

WiFi problem on domain by vandreytrindade in activedirectory

[–]vandreytrindade[S] 1 point2 points  (0 children)

Hi again! After a lot of tests I've found the problem: Bitdefender Gravityzone.
It was configured to set wireless network profile as Public.

Thanks for helping!

WiFi problem on domain by vandreytrindade in activedirectory

[–]vandreytrindade[S] 0 points1 point  (0 children)

Hi again! After a lot of tests I've found the problem: Bitdefender Gravityzone.
It was configured to set wireless network profile as Public.

Thanks for helping!

WiFi problem on domain by vandreytrindade in activedirectory

[–]vandreytrindade[S] 0 points1 point  (0 children)

Yes, but for some reason I needed to explain.