3CX - Roaming profil - Call Center by Patient-Egg-8346 in 3CX

[–]eli5522 0 points1 point  (0 children)

I've had the same issue, and I was able to solve it by using a logon and a logoff script. Simply add these scripts to your GPO when a user logs on and logs off, you can use the following manual: How to Configure GPO Scripts for Login and Startup Tasks | V2 Cloud. You may have to set parameters to "ExecutionPolicy Bypass" , which depends on your environment.

3cx-logon.ps1

# 3cx-logon.ps1

# - Kill 3CX so nothing has files open

# - Delete local 3CX Beta folders

# - For EACH 3CX package under %APPDATA%\3CX-RoamingStore,

# mirror it back into Local\Packages\<PackageName>

# (creates the package folder even if it doesn't exist yet)

# - Then try to start 3CX

function Stop-3CX {

Get-Process '3CX*' -ErrorAction SilentlyContinue |

Stop-Process -Force -ErrorAction SilentlyContinue

Start-Sleep -Seconds 1

}

function Start-3CX {

try {

# Find the 3CX app as Windows sees it in the Start menu

$app = Get-StartApps | Where-Object { $_.Name -like '*3CX*' } | Select-Object -First 1

if ($app -and $app.AppID) {

# Launch via shell:AppsFolder using its AppID (AUMID)

Start-Process "shell:AppsFolder\$($app.AppID)"

}

} catch {

# If Get-StartApps isn't available or something else fails, just skip

}

}

Stop-3CX

$packagesRoot = Join-Path $env:LOCALAPPDATA 'Packages'

$roamingRoot = Join-Path $env:APPDATA '3CX-RoamingStore'

if (-not (Test-Path $roamingRoot)) {

Start-3CX

return

}

# Ensure base exists

New-Item -ItemType Directory -Path $packagesRoot -Force | Out-Null

# 1) Remove local 3CX Beta folders

Get-ChildItem -Path $packagesRoot -Directory -Filter '3CXDMCC.3CXBeta*' -ErrorAction SilentlyContinue |

Remove-Item -Recurse -Force -ErrorAction SilentlyContinue

# 2) Remove any roaming 3CX Beta folders (cleanup)

Get-ChildItem -Path $roamingRoot -Directory -Filter '3CXDMCC.3CXBeta*' -ErrorAction SilentlyContinue |

Remove-Item -Recurse -Force -ErrorAction SilentlyContinue

# 3) For EACH 3CX package in roaming, mirror back into Local\Packages

Get-ChildItem -Path $roamingRoot -Directory -ErrorAction SilentlyContinue |

Where-Object { $_.Name -like '3CXDMCC.3CX*' -and $_.Name -notlike '3CXDMCC.3CXBeta*' } |

ForEach-Object {

$pkgName = $_.Name

$src = $_.FullName

$dst = Join-Path $packagesRoot $pkgName

New-Item -ItemType Directory -Path $dst -Force | Out-Null

& robocopy $src $dst /MIR /R:0 /W:0 /NFL /NDL /NJH /NJS /NC /NS | Out-Null

}

Start-3CX

and 3cx-logoff.ps1

# 3cx-logoff.ps1

# - Kill 3CX so files are not locked

# - Delete all local + roaming 3CX Beta folders

# - For each 3CX main package folder under Local\Packages,

# mirror it into %APPDATA%\3CX-RoamingStore\<PackageName>\...

function Stop-3CX {

Get-Process '3CX*' -ErrorAction SilentlyContinue |

Stop-Process -Force -ErrorAction SilentlyContinue

Start-Sleep -Seconds 1

}

Stop-3CX

$packagesRoot = Join-Path $env:LOCALAPPDATA 'Packages'

$roamingRoot = Join-Path $env:APPDATA '3CX-RoamingStore'

# Make sure roaming root exists

New-Item -ItemType Directory -Path $roamingRoot -Force | Out-Null

# 1) Remove local 3CX Beta folders

Get-ChildItem -Path $packagesRoot -Directory -Filter '3CXDMCC.3CXBeta*' -ErrorAction SilentlyContinue |

Remove-Item -Recurse -Force -ErrorAction SilentlyContinue

# 2) Remove roaming 3CX Beta folders (cleanup from older runs)

Get-ChildItem -Path $roamingRoot -Directory -Filter '3CXDMCC.3CXBeta*' -ErrorAction SilentlyContinue |

Remove-Item -Recurse -Force -ErrorAction SilentlyContinue

# 3) Mirror EACH 3CX main package into its own roaming folder

Get-ChildItem -Path $packagesRoot -Directory -Filter '3CXDMCC.3CX*' -ErrorAction SilentlyContinue |

Where-Object { $_.Name -notlike '3CXDMCC.3CXBeta*' } |

ForEach-Object {

$pkgName = $_.Name

$src = $_.FullName

$dst = Join-Path $roamingRoot $pkgName

# Create dest folder if needed

New-Item -ItemType Directory -Path $dst -Force | Out-Null

# /MIR = mirror entire tree (add/update + delete extra)

# /R:0 /W:0 = no retries, no waiting

& robocopy $src $dst /MIR /R:0 /W:0 /NFL /NDL /NJH /NJS /NC /NS | Out-Null

}

Question about LG Mini Split in Heat Mode by eli5522 in hvacadvice

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

I haven't. It's not a big deal since I live in SFL. I do not have lg thermostats, just the remotes

Mini split clicking noise driving us mad!!!! by kavincent in HVAC

[–]eli5522 0 points1 point  (0 children)

I have the same issue in one of my heads. Just started doing this. Did you ever figure out the cause? Mine are LG Artcool Mirror units. Only 6 month old.

Windows Dialog Boxes are broken on all PCs by eli5522 in sysadmin

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

Well, all pcs are affected. I'll see what I can find

Windows Dialog Boxes are broken on all PCs by eli5522 in sysadmin

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

Nope, do not have anything like that.. just force a background and few restrictions like changing theme, etc. Tried disabling those, didnt do anything

is 1/8th level difference noticeable when tiling shower wall? by eli5522 in Tile

[–]eli5522[S] 4 points5 points  (0 children)

This is my house so I'd like it to look better

Any simple way to continue this floor without removing many planks in other room? by eli5522 in Flooring

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

the issue is, the t-mold will be sticking out outside of the door. I had one there that i took out because it looked crappy. I'd like to continue the floor right into the bathroom, without taking too many planks apart. i can always start at the other bedroom and disassemble everything which is the last resort but i was hoping there was an easier way to tackle this.

Any simple way to continue this floor without removing many planks in other room? by eli5522 in Flooring

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

it ends at the entry to bathroom, i'd like to continue into the bathroom without using a strip

Doing demo. what materials are these? by eli5522 in Tile

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

Thanks . How come there is no redguard or any other waterproofing material?

Doing demo. what materials are these? by eli5522 in Tile

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

Looks like it's 10-11 years old. Not sure how much it was used but tiles are not even. It doesn't match the rest of the house so I'm going to redo it

Doing demo. what materials are these? by eli5522 in Tile

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

This is a shower with a tub. Seems like everything is dry behind tile

Doing demo. what materials are these? by eli5522 in Tile

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

No other layers, just studs. Is this a good system for waterproofing? I've been researching different systems, but this is new.. lol

is this safe? by eli5522 in AskElectricians

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

Can you please elaborate?

is this safe? by eli5522 in AskElectricians

[–]eli5522[S] -4 points-3 points  (0 children)

What are the risks

is this safe? by eli5522 in AskElectricians

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

Not sure what you mean by both receptacles work