Showing posts with label System. Show all posts
Showing posts with label System. Show all posts

October 01, 2019

Remote desktop connection to Azure AD joined computer device

Hi Folks,

I have an issue of remotely connecting one of the Azure AD joined computer.

Fix is explained below


  1. Open "Remote Settings" from "System".
  2. You should be able to view "Remote" tab from "System Properties".
  3. Uncheck "Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended)" from Remote Desktop section.
  4. Open regedit.exe.
  5. Navigate to "Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp".
  6. Update "SecurityLayer" key to "0" (Zero) from default 2 (Two).
  7. Reboot your system.
  8. While taking remote desktop, user "AzureAD\"your work email id" as your username.
  9. You should be able to connect your AzureAD joined system remotely from now.


Please send your comments and feedback to psrdotcom@gmail.com

September 23, 2019

Add custom user/system attributes in Active Directory

Hi folks,

Today I'll explain the procedure to add and verify the custom user attributes in Active Directory.

Mount the Directory Schema


  1. Open Command Prompt in Administrator mode
    • Start -> cmd -> Right click and select "Run as Administrator"
  2. Mount the directory schema command
    • cmd> regsvr32 schmmgmt.dll
  3. You will be notified with command success pop-up
    • Click on Ok

Creating Custom Attribute


  • Open mmc (Management Console)
  • Click on "File" menu and select "Add/Remove Snap in.."
  • From "Available snap-ins" section, click "Active Directory Schema"
  • Click on "Add"



  • "Active Directory Schema" should be added to "Selected snap-ins" section and click "Ok"
  • You will be viewing the "Active Directory Schema" in the console
  • Expand and select "Attributes"
  • Right click and choose "New" and select "Attribute" as shown below


  • A warning pop-up shows, click Continue


  • Create New Attribute pop-up opens up
  • Enter the custom attribute details
  • Enter the Object ID as per Reference 1


  • Select the Syntax from the list

  • Check Multi-Valued option based on your requirement
  • Click Ok


Adding to User Class


  • Newly created custom attribute has to be mapped to any one of the class (Computer, user etc)
  • To add it to user
  • (Classes -> User -> Properties -> "Add")
  • Select the custom attribute

Restarting ADDS (Active Directory Domain Service)

  • Open Services
  • Start -> Run -> services.msc
  • Navigate to Active Directory Domain Service
  • Restart the service

Verification

  • Open "Active Directory Users and Computers"
  • Go to "Users"
  • Click on any user and view properties
  • Click on "Attribute Editor" tab
  • Navigate to your custom tab

Please send your feedback to psrdotcom@gmail.com

July 29, 2019

Docker postgres db to local volume/drive for persistent storage permanently

Hi all,

Today, I would be explaining the way to maintain the DB with data persistent when connecting to docker.

System Status

Postgresql DB container is in Docker
Windows 10 PC
Linux containers

Issue

Whenever I restart docker/PC the database wiped off due to container is stopped.

Solution

Create a docker volume

Syntax: docker volume create <>
Example: docker volume create pgdata

Start the container with volume option

Syntax: docker run --rm --name <> -e POSTGRES_PASSWORD=<> -d -p 5432:5432 -v <>:/var/lib/postgresql/data <>
Example: docker run --rm --name pgcontainer -e POSTGRES_PASSWORD=MyPassword -d -p 5432:5432 -v pgdata:/var/lib/postgresql/data postgres

Now, you can run all your database commands

Upon restart also, your data should be safe.

Thanks for reading the blog post.

Please send your feedback and comments to psrdotcom@gmail.com

April 05, 2017

Capture localhost (127.0.0.1) system packets using RawCap

Hi friends,

Today I am going to share the knowledge of capturing network packets in local system i.e. localhost.

Using RawCap utility, you can capture the loopback adapter packets which are our localhost packets.

Procedure

Download the RawCap.exe from Netresec website url
http://www.netresec.com/?page=RawCap
Once you download it
Open command prompt with administrator privileges
You have the following options while running the RawCap.exe

Syntax

RawCap.exe
-c <-> Stop capturing after the specified packet count reached
-f <-> Flush each packet without buffering
-s

Example 1:
RawCap.exe 127.0.0.1 dump.pcap
Note: Ctrl + C to stop the capturing

Example 2:
RawCap.exe -c 1000 127.0.0.1 dump.pcap
After 1000 packets, the capturing will stop

Please send your feedback and comments to psrdotcom@gmail.com

October 16, 2014

Convert windows drive or disk file system from FAT32 to NTFS without losing data

Hi all,

I had a problem with my external hard disk when copying some 25GB file.

I had troubleshoot the problem and understand that, my hard disk file system is FAT32, which can only copy max 4GB single file size

 

I was thinking without losing my data, how can I change the file system, so that, I copy more than 4GB sized single files

Then I come across the following commands in Windows

1) chkdsk : Check disk

2) convert : Convert disk file system

 

chkdsk command

Syntax

cmd> chkdsk volume_letter: [options]

Example

Checks for disk errors and fix it

cmd> chkdsk I: /f

 

convert command

Syntax

cmd> convert volume_letter: FS:NTFS [options]

Example

Convert volume from FAT to NTFS in verbose

cmd> convert I: /FS:NTFS /V

 

Possible Errors with solutions

Insufficient Memory

Reason

Nearly 4 GB files in existing FAT32 system

Solution

Move the files to local drive, do chkdsk and then convert

 

References:

http://ss64.com/nt/chkdsk.html

http://www.computerhope.com/convert.htm

 

Blogger Labels: Convert,disk,system,NTFS,data,size,Windows,Check,Syntax,options,Example,Checks,errors,Possible,solutions,Insufficient,Memory,Reason,Solution,Move,References,chkdsk,volume_letter

December 17, 2011

Write in Telugu in your computer, website, blog for e-readers and e-writers

Hi Telugu e-writers,

I found something very interesting for you in Hyderabad Book Fair 2011.

There are some stalls for Telugu language where they are offering us to read, write in Telugu in our computer.

Please visit  http://etelugu.org/ link to use the computer in Telugu language.

If you are interested to write in Telugu http://etelugu.org/typing-telugu

Debian Operating System is customized with Telugu font and all the menus and typing has been done in Telugu.The Operating System CD costs Rs. 100/-

References:
http://etelugu.org/
http://etelugu.org/typing-telugu
http://telugublog.blogspot.com/2006/03/xp.html

November 01, 2011

Firefox 7 Preferences Files has been changed

Hi everyone,

The developers who want to customise their latest Firefox 7, there is no pref.js (preferences file, which we used to configure the firefox) and user.js (user preferences file).

We can use one and only one preferences file named syspref.js to configure the default firefox.

In Ubuntu it is located under /usr/lib/firefox-7.0.x/defaults/pref/syspref.js

Here we can configure our default homepage and proxies etc.

We can do the same by typing about:config in the browser address bar.

Update your browser and set up according to your convenience.

Please reach me @ psrdotcom@gmail.com @ for queries.

Featured Post

Java Introdcution

Please send your review and feedback to psrdotcom@gmail.com