Category Archives: Win10

How to Rename User Profile Folder in Windows 10

Synopsis: Create a local administrator account, rename the user account, rename the user profile folder, and map the renamed folder to the user account in the registry.

Create a system restore point.

Create a new local admin account.

Log out and log in as the new admin account.

Run lusrmgr & rename the user account.

Rename the profile folder–> \Users\oldname to newname.

Map the renamed folder in the registry.

Regedit: Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

There will be sub-keys with long names. Search for the ProfileImagePath value to find the one the corresponds with the old profile folder name. Edit that value to reflect the new folder name. You can find the SID using wmic useraccount get name,SID

Log out, and login as the renamed user. In some cases a reboot may be necessary. Test that everything is working properly.

Source: How to Rename User Profile Folder in Windows 10

openvpn – How to force all traffic through VPN?

How to force all traffic through OpenVPN

 

Add the following directive to the server configuration file:

push “redirect-gateway def1”

If your VPN setup is over a wireless network, where all clients and the server are on the same wireless subnet, add the local flag:

push “redirect-gateway local def1”

Pushing the redirect-gateway option to clients will cause all IP network traffic originating on client machines to pass through the OpenVPN server. The server will need to be configured to deal with this traffic somehow, such as by NATing it to the internet, or routing it through the server site’s HTTP proxy.

If you want to configure this on the client side, put

redirect-gateway def1

in your client.ovpn file.

Guide for Allowing Users to Install Programs without Admin Password in Windows 10

How to Allow Users to Install Software without Admin Rights in Windows 10

An admin account on a Windows PC enjoys more privileges than any other account types. This account can install apps and make modifications to the system easily without too many steps. However, sometimes you may want to enable allow users to install software without admin rights in Windows 10. It’s totally cool and possible for you. The following guide will demonstrate multiple ways to do that.

Method 1: Change Your Standard Account to Admin Account to Install Programs

One of the ways to be able to install program without admin rights in Windows 10 is to convert your standard user account to an administrator account on your PC. You can ask your administrator to do this for you by following the following steps:

Open the Start Menu, search for Command Prompt, right-click on it and select Run as administrator.

run cmd as admin

When the command prompt window opens, type in the following command and hit enter. Make sure to replace myname with the username of the account you’re converting to an admin account.

net localgroup Administrators <myname> /add

command prompt

The account should instantly be converted to an admin account and you should then be able to install programs on your Windows 10 machine.

Source: Guide for Allowing Users to Install Programs without Admin Password in Windows 10

List Hard Drives using Command Prompt and PowerShell

List Hard Drives using Command Prompt & PowerShell in Windows 10

Source: List Hard Drives using Command Prompt and PowerShell

Some stuff about things