Home / Windoze /

Windows Tips

Active Directory Stuff

Better Event Viewer Queries

Env Variables (even for non admin)

Hosts File Location

Hostname

Rename the computer name from comand line (if the computer is on a domain, it MUST have contact with the domain controller)

wmic computersystem where name="%COMPUTERNAME%" call rename name="NEW-NAME" ## this didn't seem to work

or

WMIC computersystem where caption='currentname' rename newname

Log File Issue Fix

This is the issue where the drive just fills up with errant log files

This script works (in my quick utilities directory too)

@echo off

cd C:\Windows\logs\cbs
del *
cd c:\windows\temp\
mkdir cabs
move cab* cabs\
rmdir /s cabs

Reference - 5kyFx's reply

Printer Driver Install

When you are at the page to type in the TCP/IP address, be sure to change the dropdown from Autodetect to TCP/IP Device or whatever

Remote Desktop Cache Location

System Integrity

Windows Domain Non Admin As Local Admin

Simply add the domain user to the administrators group in the local computer

(right click on computer, manage, local users and groups, administrators)


this document last modified: January 30 2020 18:16

Home / Windoze /